Ethercat random jitter fix

More
11 Apr 2026 21:28 #345427 by rodw
Replied by rodw on topic Ethercat random jitter fix
Thought I'd ask here. User has upgraded from Debian 10 to latest Debian 13.3 and 2.10pre RIP config. Now Running grandixximos Ethercat driver but have not set syncToRefClock yet.

He reports:
With the same xml file, i/o and drive configuration, Debian 10 kernel 4.19 with ethercat 1.5.2 works fine, it has no latency at boot and hasn't given any problems. The current system has kernel 6.12 with ethercat 1.6.9 and has synchronization problems at boot, sometimes it doesn't see some drives on the bus, I'm forced to turn it off and on again. Would it be possible to use the current 6.12 kernel and linuxcnc 2.10, with ethercat 1.5.2?

I copied the lcec_conf and lcec.so files into the respective bin and rtailib folders from the Debian 10 version that I have and which works well on my machines, with linuxcnc 2.9.0 pre1 and etherrcat 1.5.2. At boot time, the drives are now seen within 1-2 seconds of booting and are always found on the bus.

This has 5 axis servos and a few Beckhoff modules attached to EK1100 

Next step is to add syncToRefClock

It seems odd to me that today's Ethercat hal driver is not performing but rolling back to an older version of it works. It seems to me his problem is the driver, not the version of Ethercat.

Any ideas or advice?

 

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

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Away
  • Elite Member
  • Elite Member
More
12 Apr 2026 00:03 - 12 Apr 2026 00:13 #345429 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
Ethercat 1.6.8 is the previous stable release, have you tried that? 1.6.9 is a bit new I think, maybe they changed something?

Do you have the code for lcec version that works on your debian 10? Can you share the .so ? 
Last edit: 12 Apr 2026 00:13 by grandixximo.

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

More
12 Apr 2026 01:10 #345430 by rodw
Replied by rodw on topic Ethercat random jitter fix
1.69 was released two weeks ago. Its what you get from their repos with a current version of Debian Trixie.
gitlab.com/groups/etherlab.org/-/packages

The code should be here.
gitlab.com/etherlab.org/ethercat/-/tree/1.5.2?ref_type=tags

From 2013. wow! that's old! From that, I would think it was built from source from Sourceforge. But well before my involvement.
Just checking Etherlab's gitlab releases, the first version on gitlab repo was 1.53 in 2024 so must be from Sourceforge

From what I can see, its not an Ethercat issue because the Debian 10 version of  linuxcnc-ethercat (with Ethercat 1,52) works with no problems  on Debian 13.3 with Ethercat 1.69.

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

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Away
  • Elite Member
  • Elite Member
More
12 Apr 2026 05:35 - 12 Apr 2026 05:36 #345433 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
Yes sorry, because your post was a bit all over the place.

about ethercat master, 1.6.9 is pretty new, so I was asking to double check with 1.6.8

But I agree linuxcnc-ethercat seems to be the issue, so I was asking about the code for lcec aka linuxcnc-ethercat
You moved the lcec_conf and lcec.so 
But do you have the code for the linuxcnc-ethercat that works? or can you at least share approximately where this working version could have come from? Without that, it is really hard to understand what is happening, and get to the bottom of it.
Last edit: 12 Apr 2026 05:36 by grandixximo.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum