Ethercat random jitter fix
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 9
13 Apr 2026 11:05 - 13 Apr 2026 11:19 #345493
by papagno-source
Replied by papagno-source on topic Ethercat random jitter fix
With refClockSyncCycles="-1" the value of the ecat.0.pll_reset_cnt pin is continuously increasing, it never stops, it increases in a positive direction more and more, in a short time it was already at 20,000
with refClockSyncCycles="1" the pin ecat.0.pll_reset_cn remain stable = 0
with refClockSyncCycles="1" the pin ecat.0.pll_reset_cn remain stable = 0
Last edit: 13 Apr 2026 11:19 by papagno-source.
The following user(s) said Thank You: grandixximo
Please Log in or Create an account to join the conversation.
- grandixximo
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 229
- Thank you received: 317
13 Apr 2026 11:27 #345494
by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
can you run ethercat master a few times consecutively while running with
refClockSyncCycles="-1"
and paste here the DC reference and the App time values?
at least 3~4 consecutive times please
do the same for
refClockSyncCycles="1"
refClockSyncCycles="-1"
and paste here the DC reference and the App time values?
at least 3~4 consecutive times please
do the same for
refClockSyncCycles="1"
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 9
13 Apr 2026 11:44 - 13 Apr 2026 11:45 #345496
by papagno-source
Replied by papagno-source on topic Ethercat random jitter fix
What parameters should I check?
the name the pin
the name the pin
Last edit: 13 Apr 2026 11:45 by papagno-source.
The following user(s) said Thank You: grandixximo
Please Log in or Create an account to join the conversation.
- grandixximo
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 229
- Thank you received: 317
13 Apr 2026 11:50 - 13 Apr 2026 11:53 #345497
by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
Sorry, not a pin
it is the output to the terminal when you send this command
ethercat master
in a terminal window
it will list various things, I am interested in DC reference, and APP time, they are near the end
ethercat master command outputs
Master0
Phase: Operation
Active: yes
Slaves: 20
Ethernet devices:
Main: 00:e0:b4:68:34:0a (attached)
....
...
...
Distributed clocks:
Reference clock: Slave 0
DC reference time: 829391683702736097
Application time: 829391693979787340
the above is what I'd like to see, thank you
it is the output to the terminal when you send this command
ethercat master
in a terminal window
it will list various things, I am interested in DC reference, and APP time, they are near the end
ethercat master command outputs
Master0
Phase: Operation
Active: yes
Slaves: 20
Ethernet devices:
Main: 00:e0:b4:68:34:0a (attached)
....
...
...
Distributed clocks:
Reference clock: Slave 0
DC reference time: 829391683702736097
Application time: 829391693979787340
the above is what I'd like to see, thank you
Last edit: 13 Apr 2026 11:53 by grandixximo.
Please Log in or Create an account to join the conversation.
- grandixximo
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 229
- Thank you received: 317
13 Apr 2026 12:18 - 13 Apr 2026 12:21 #345498
by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
I have commit a small change to enable you to set drive 1 as the reference clock please update the code from
github.com/grandixximo/linuxcnc-ethercat
and run with this xml
and confirm that DC reference clock is slave 1 and not 0 by running
ethercat master
in a terminal, I expect
Reference clock: Slave 1
github.com/grandixximo/linuxcnc-ethercat
and run with this xml
and confirm that DC reference clock is slave 1 and not 0 by running
ethercat master
in a terminal, I expect
Reference clock: Slave 1
Attachments:
Last edit: 13 Apr 2026 12:21 by grandixximo.
Please Log in or Create an account to join the conversation.
Time to create page: 0.142 seconds