Advanced Search

Search Results (Searched for: )

  • scsmith1451
  • scsmith1451's Avatar
Today 15:57
Replied by scsmith1451 on topic Launching gladevcp panel with gmoccapy

Launching gladevcp panel with gmoccapy

Category: Gmoccapy

This is why we have code reviews. I frequently cannot see the forest for the trees.

Thank you!
  • Aciera
  • Aciera's Avatar
Today 15:09
Replied by Aciera on topic Launching gladevcp panel with gmoccapy

Launching gladevcp panel with gmoccapy

Category: Gmoccapy

As indicated in the 'Pins' list:
The correct pin name is
crosshair_panel.crosshair-toggle-led

not just
crosshair-toggle-led
  • Okojo
  • Okojo
Today 15:08
Replied by Okojo on topic lcnc-suite — web UI for LinuxCNC

lcnc-suite — web UI for LinuxCNC

Category: Other User Interfaces

Hello Sandro,

Thank you for sharing lcnc-suite — it's a genuinely impressive piece of work, and the 3D toolpath preview alone saved me weeks of development time.

I'd like to report that I've successfully used lcnc-suite as the frontend for a **non-LinuxCNC** CNC system, in case it's useful to you or others here.

---

**My Setup**

- SBC: Arduino UNO Q (Qualcomm QRB2210, Debian 13, Python 3.13)
- Motion controller: STM32U585 running grblHAL, connected via internal UART (ttyHS1)
- G-code interpreter: rs274ngc (from the linuxcnc-uspace package — the C extension only, no linuxcnc task/HAL)
- Machine: CoreXY pen plotter with CNC Shield V3

The key idea: instead of `import linuxcnc`, I wrote a custom FastAPI/asyncio gateway in Python that speaks the lcnc-suite WebSocket protocol on one side and rs274ngc + grblHAL on the other. This means lcnc-suite can work with backends other than LinuxCNC.

---

**What works**

File upload, 3D toolpath preview, program execution (rs274ngc → grblHAL streaming), step execution, jog (continuous + incremental + diagonal), E-STOP/pause/resume/abort, WCS switching (G54–G59), spindle and coolant control, file browser — everything I've tried works well.

---

**Undocumented requirements I found**

While building the gateway I hit a few things not covered in the README. Posting them here in case they help someone else attempting the same:

1. **`heartbeat` must return `{"type": "pong"}`** — any other response causes the WebSocket to disconnect after ~20 seconds.
2. **`GET /settings` is required on startup** — without it the UI enters a reload loop.
3. **`save_settings` WebSocket command must be handled** — sent frequently for jog speed etc., causes visible errors otherwise.
4. **`GET /gcode?path=...` is needed after upload** — the UI fetches file content via this endpoint to display in the editor.
5. **`GET /files` must return `FilesResponse` format** (`{ok, nc_dir, subdir, entries[]}`) — a plain array causes "No program files found".
6. **`status` broadcast must include `armed` field** — needed for the ON button to activate after ARM.

I've opened a GitHub issue with full details:
github.com/bildobodo/lcnc-suite/issues

The gateway source is here if anyone wants to look:
github.com/hoshigarasu/canon-grbl-bridge

Thanks again for building and sharing lcnc-suite.
 
  • meister
  • meister
Today 14:32

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

many many thanks !

found the problem, fixed in main and dev branch.
please update your gateware.

The PID controller had compensated for the fault during operation, so I never noticed it :(
  • scsmith1451
  • scsmith1451's Avatar
Today 13:33
Replied by scsmith1451 on topic Launching gladevcp panel with gmoccapy

Launching gladevcp panel with gmoccapy

Category: Gmoccapy

I misspoke. The documentation indicates that if the gladevcp is launched without specifying -x {pid} the panel would be floating. I interpreted that as EMBED_LOCATION was not required. Subsequent testing determined that even if the panel is floating, EMBED_LOCATION must still be defined for the panel to launch correctl.

Fixing the my misspelling of EMBED_TAB_NAME, fixed the launch issue. However, I am now struggling with connecting up the panel to HAL.

During the first investigation I discovered that GMOCCAPY does not toggle the motion.machine-is-on signal as with AXIS. A bit of probing with halmeter I was able to determine that halui.machine-is-on is toggled by GMOCCAPY when the machine is on. I edited my crosshair_panel.hal file to use the halui.machine-is-on, but the panel did no respond.

I've done a bit more testing and discovered that halmeter sees the glade pins as expected, however, halscope does not. Therefore, attempting to manually connect the pins via halscope results in a Pin 'xxx' does not exist error.

At this point I'm lost as to why halscope does not see the panel pins and therefore cannot connect them properly.

Any help would be appreciated.

Currently running:

LinuxCNC 2.9.4
GMOCCAPY 3.4.9
Glade 3.40.0

I've attached all relevant files.

I've attached all of the relevant
  • my1987toyota
  • my1987toyota's Avatar
Today 12:34 - Today 12:34
The Stupidity of AI was created by my1987toyota

The Stupidity of AI

Category: Off Topic and Test Posts

   I am posting this video to help brighten peoples day. The trend of replacing people with technology and or AI
because "it's cheaper" just shows the fallacy of it all. In some circumstances it is becoming downright dangerous
as is seen in this video. But if you think this is bad keep this in mind, companies want to do this with aircraft as well.

   We work with CNC equipment so we know just how quickly and easily things can go wrong even with ideal
conditions. 
   that not withstanding enjoy the video. I know I did. 




 
  • justincase79
  • justincase79
Today 11:13
Kern/DMT CD320 was created by justincase79

Kern/DMT CD320

Category: Turning

Hello everyone

I have gotten my hands on a 1998 Kern/DMT CD320 cnc lathe in kind of a rough state. My plan is to tear it down, clean out all the old gunk and then get new servos and electronics to allow me to run it on 3 phase 230v. But before I start spending money I have a couple of questions I was hoping someone around here could help me with.

1. Do anyone have any kind of technical drawings or manuals for this machine. I have tried emailing DMT a couple of times, but I get no reply.
2. I am trying to decide if I should go for Ethercat servos or Mesa + pulse, any thoughts on the best solution? I have been able to find suitable hw for both alternatives on aliexpress, so main concern is linuxcnc compatability/problems.

Any input is greatly appreciated, regards from Norway.
  • spumco
  • spumco
Today 10:42

Trying to get analog joystick to control jogging

Category: Basic Configuration

Maybe take another look at halui.joint.N.analog in the manual... looks like it's a jog-speed multiplier, not an absolute speed command.

And I didnt see where you set the jog speed pin to a particular value.  If my suspicion is correct, you're effectively multiplying the analog value x zero.

Try setting halui.joint.N.jog-speed to some value (same with axis) and see if that does it.
 
  • peterdownunder
  • peterdownunder
Today 10:07
Replied by peterdownunder on topic Trying to get analog joystick to control jogging

Trying to get analog joystick to control jogging

Category: Basic Configuration

That is what I have been looking up and where I got most of that config from.

I would have thought that once I got one or both of halui.joint.0.analog halui.axis.x.analog going from -1 to +1 that would be enough.

I have not actually seen a statement in the manual stating this.
I am assuming there is something else I am not setting.

There are a lot of pins relating to analog and jog and it is difficult to understand the interactions between them
  • Tim Bee
  • Tim Bee
Today 09:07

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Dear meister:

In simulation mode the velocity is 1,  the result is correct



Tim
 
 
  • meister
  • meister
Today 08:52

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

very strange :(

i can only test in simulation at the moment, can you try it also in simulation mode please !?!

bin/rio-generator -S carrot.json
  • Tim Bee
  • Tim Bee
Today 08:37

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

meister:

I redownload rio in a new folder, and used new gui rio-flow to config again

 
 

PCB is build by myself, it used a 12Mhz oscillator


Tim

 
  • ziggi
  • ziggi's Avatar
Today 06:07
Stmbl V5 Drive for Sale was created by ziggi

Stmbl V5 Drive for Sale

Category: User Exchange

Some time ago I purchased a Stmbl V5  drive, but never used it. Means it is new, unused.
I would ask 120€ including shipping to Germany or Austria- current price for a ready Stmbl V5 is ~220+ shipping from what I remember
So if one would need this to play around with contact me via email please  This email address is being protected from spambots. You need JavaScript enabled to view it.

 
  • meister
  • meister
Today 05:04

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

hmm, i see the 1.0 velocity

Which version are you using?

# git status

 
Displaying 1 - 15 out of 15898 results.
Time to create page: 0.894 seconds
Powered by Kunena Forum