Ethercat random jitter fix

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
20 Jul 2026 10:10 #347869 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
Please share zipped configuration folder, or whatever you are willing to share to shed light on the issue.

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

More
31 Aug 2026 20:24 #349163 by ruediger123
Replied by ruediger123 on topic Ethercat random jitter fix
Hello,I am updating my test environment to the latest software version.I noticed that the noise issues occur roughly every 36 seconds. 

Attached is the Halscope log.
Attachments:

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

More
01 Sep 2026 08:49 #349169 by rodw
Replied by rodw on topic Ethercat random jitter fix
This is more likely due to a Linux service firing regularly rather than being ethercat related.
What Operating system and kernel version.
What steps have you taken to tune your kernel?
 

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

More
01 Sep 2026 09:02 #349170 by rodw
Replied by rodw on topic Ethercat random jitter fix
Actually, it could be a regular wifi scan. Try this to disable it and report back.
sudo nano /etc/NetworkManager/conf.d/disable-bgscan.conf
Add this text and save
[device]
wifi.scan-rand-mac-address=no

[connection]
wifi.bgscan=no

then type
sudo systemctl restart NetworkManager

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

More
02 Sep 2026 14:56 - 02 Sep 2026 15:05 #349221 by ruediger123
Replied by ruediger123 on topic Ethercat random jitter fix
Hallo rodw,

the board is an Orange Pi 5 Plus without Wi-Fi.
kernel: Linux orangepi5-plus 6.12.0-rc7-edge-rockchip-rk3588 #5 SMP PREEMPT_RT
ethercat: IgH EtherCAT master 1.6.9 1.6.9-93-g4f9aa6f3
LINUXCNC - 2.10.0~pre1servo controller: 3 x Bosch-Rexroth HCS01.1EW0009-A-02-B-ET-CE-CE-L3

<master idx="0" appTimePeriod="1000000" syncToRefClock="true">
   The setting results in the described error.

<master idx="0" appTimePeriod="1000000" syncToRefClock="false">
   The setting results in the described error.

<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
   With these settings, the function works as intended.

Gruß
      Rüdiger
Last edit: 02 Sep 2026 15:05 by ruediger123.
The following user(s) said Thank You: rodw

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

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
07 Sep 2026 08:17 #349415 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
You did not give linuxcnc-ethercat version


github.com/linuxcnc-ethercat/ethercat/releases
github.com/linuxcnc-ethercat/linuxcnc-ethercat/releases

I made arm64 debs as well...

syncToRefClock="false" without a refClockSyncCycles means free mode, don't use with axis.

syncToRefClock is going away because it is confusing, use refClockSyncCycles=-1 if you want to test having the pi sync to the clock on the drives, in your case it does not seem to work, should be same as syncToRefClock="true" but test with latest version.

refClockSyncCycles="1" if your latency is decent is a good choice.

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

More
10 Sep 2026 07:38 #349542 by ruediger123
Replied by ruediger123 on topic Ethercat random jitter fix
Hallo,

the linuxcnc-ethercat version is : linuxcnc-ethercat (1.42.2-1)

Gruß
Rüdiger

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

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 Sep 2026 00:25 #349621 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
1.44.0 is the latest version, also ethercat don't get from IGH, please uninstall IGH ethercat, and install the one from here instead

github.com/linuxcnc-ethercat/ethercat/releases

your devices will OP much quicker.

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

More
14 Sep 2026 01:54 #349624 by rodw
Replied by rodw on topic Ethercat random jitter fix

1.44.0 is the latest version, also ethercat don't get from IGH, please uninstall IGH ethercat, and install the one from here instead

github.com/linuxcnc-ethercat/ethercat/releases

your devices will OP much quicker.

also note this new version needs an additional command in hal
lcec.activate

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

Time to create page: 0.348 seconds
Powered by Kunena Forum