New experimental ethercat layer

More
15 Nov 2026 21:54 - 15 Nov 2026 22:00 #350735 by Hakan
Replied by Hakan on topic New experimental ethercat layer
New release.

- EoE works
- Serial-over-EtherCAT for EL6xxx-series works
- XDP program now stays attached to the interface
- Numerous fine-tunings and some issues fixed during testing.

EoE was tested on one of my EaserCat cards. EoE slave functionality (from SOES examples) firmware was built and flashed. Performance is around 0.5 Mbit/sec on a 0.5 ms servo loop, even under heavy load test. Not blazingly fast but enough for configuration, web page with live update of numbers, etc. EoE has not been tested on a commercial unit.

EL6xxx functionality was programmed onto the same EaserCat card from EL6021 documentation. Serial functionality tests cleanly up to 115200 baud and all variants of data length, parity and stop bits. Not tested on a commercial unit.

By letting the XDP program stay attached to the interface after shutdown of the ethercat master it takes that master just a few seconds from start to OP of all slaves.

EoE and serial are in the docs.
Last edit: 15 Nov 2026 22:00 by Hakan.

Please Log in or Create an account to join the conversation.

More
16 Nov 2026 00:37 #350737 by grandixximo
Replied by grandixximo on topic New experimental ethercat layer
Great work, keep it up!

Please Log in or Create an account to join the conversation.

More
16 Nov 2026 00:49 - 16 Nov 2026 00:52 #350738 by Hakan
Replied by Hakan on topic New experimental ethercat layer
0.20 Performance release

- Reduced stable cycle time
- Slave sync and timing values are in the gui, both limits from the slave info and measured during I/O test.

Several improvements bring down the servo-loop cycle-time to 125 μsecs for 4 slaves, 3 fully DC synced, during load stress-test (load average above 10). Tests used QtPlasmaC during machine operation and cutting pieces (in the air). Tests with shorter cycle times show that the drives refuse to go below 125 μsecs. Based on the tests a lower limit on servo-loop cycle-time would be around 80-100 μsecs if the drives allow it.

Useful synch and timing information is presented per slave in the gui. The drives I have don't show anything useful from the usual registers; findings from measurements will be presented instead if available. A number of measured, actual timing parameters such as turn-around cycles are shown live in the gui.

As is the custom, the document contains more information. 

 
Last edit: 16 Nov 2026 00:52 by Hakan.

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
16 Nov 2026 04:15 #350742 by ihavenofish
Replied by ihavenofish on topic New experimental ethercat layer
O_o

I go away for a couple months and you requite the whole thing. :P
I have a new machine to build next week so, maybe this will come in handy.

Please Log in or Create an account to join the conversation.

More
16 Nov 2026 06:33 #350744 by Hakan
Replied by Hakan on topic New experimental ethercat layer
Hello, Mr. ihavenofish.

I, too, was away for months. Long enough to step out of my daily routines and lift my gaze.
And with my newly acquired superpowers, I thought I’d try to show what it might look like—a vision, if you will.

I still remember BrendEM's epic post 8 years ago about her gui proposal.
That was when we all worked in Axis and made small mods here and there.
forum.linuxcnc.org/41-guis/35243-widescr...proposal-by-brendaem
People liked it, but it was so far-fetched and no-one know then how to achieve it. 
The post started the ball rolling and today there are several linuxcnc guis of that kind to choose from.

If this work can generate something even a bit along those lines I would be happy.
It's not very important to have it adopted by LinuxCNC. Even feedback from actual usage is valuable.

That being said, I use this myself on my machines and I intend to continue; it has come out really good.
Feel free to try it. I will be here and try to address issues.





 

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
16 Nov 2026 12:20 #350754 by ihavenofish
Replied by ihavenofish on topic New experimental ethercat layer
Sometimes things just need a fresh perspective and a kick in the butt.

I will pretend my endless ranting has helped.

:P

Thanks for this. And to all the others making headway on fundamental features.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum