- Posts: 353
- Thank you received: 2
Ethercat random jitter fix
- grandixximo
-
Topic Author
- Online
- Platinum Member
-
- Where are my paaaaants?
Less
More
3 months 1 week ago #347869
by grandixximo
---
test signature
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.
---
test signature
Please Log in to join the conversation.
- ruediger123
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 0
1 month 4 weeks ago #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.
Attachment not found
Attached is the Halscope log.
Please Log in to join the conversation.
1 month 4 weeks ago #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?
What Operating system and kernel version.
What steps have you taken to tune your kernel?
Please Log in to join the conversation.
1 month 4 weeks ago #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.
Add this text and save
then type
Code:
sudo nano /etc/NetworkManager/conf.d/disable-bgscan.conf
Code:
[device]
wifi.scan-rand-mac-address=no
[connection]
wifi.bgscan=no
then type
Code:
sudo systemctl restart NetworkManager
Please Log in to join the conversation.
- ruediger123
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 0
1 month 4 weeks ago #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
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
Please Log in to join the conversation.
- grandixximo
-
Topic Author
- Online
- Platinum Member
-
- Where are my paaaaants?
Less
More
- Posts: 353
- Thank you received: 2
1 month 3 weeks ago #349415
by grandixximo
---
test signature
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.
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.
---
test signature
Please Log in to join the conversation.
- ruediger123
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 0
1 month 3 weeks ago #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
the linuxcnc-ethercat version is : linuxcnc-ethercat (1.42.2-1)
Gruß
Rüdiger
Please Log in to join the conversation.
- grandixximo
-
Topic Author
- Online
- Platinum Member
-
- Where are my paaaaants?
Less
More
- Posts: 353
- Thank you received: 2
1 month 2 weeks ago #349621
by grandixximo
---
test signature
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.
github.com/linuxcnc-ethercat/ethercat/releases
your devices will OP much quicker.
---
test signature
Please Log in to join the conversation.
1 month 2 weeks ago #349624
by rodw
lcec.activate
Replied by rodw on topic Ethercat random jitter fix
also note this new version needs an additional command in hal1.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.
lcec.activate
Please Log in to join the conversation.
Time to create page: 0.193 seconds
