On 7/29/25 22:03, Titus Newswanger wrote:
On 7/29/25 20:14, gene heskett wrote:
So I'm asking: Can a similar web based interface be added to linuxcnc?
I have used it in that fashion (as a PLC rather than CNC control), on
a headless server running Debian 12, I run:
linuxcnc (start the hal loader script with systemd at boot, including
some Beckhoff ethercat I/O) A python hal to mqtt bridge connects the
gui to hal
mosquitto to pull in data from remote sensors
influxdb to do the datalogging
Node-red provides the gui and the non-real-time logic. Here is where
the fun begins. Sorry, I don't know much about coding java. Between
point-and-click programming and asking llm for custom java functions
it went together quite well.
All you need on the remote HMI display units is a web browser to
display node-red gui.
On another system I did a similar setup except the server is a
Beckhoff CX5020 and all the sensors are connected to Beckhoff ethercat
remote I/O. The CX5020 was a bit special to get started with. If I
remember right, it didn't seem to have enough RAM to complete the
installer successfully, also I think it needed to run 32 bit. I just
installed the OS on another pc then cloned that to the 8GB CF card and
the CX5020 booted that.
It really made my day when I discovered linuxcnc supports ethercat.
Sounds a bit complex, marked for further study. One of my machines now
disabled is also run by an rpi4b, amazingly well in fact. Thanks Titus.
Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers