- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
- shaying526
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 1
07 Oct 2025 02:11 #335970
by shaying526
Replied by shaying526 on topic Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
Hi everyone, I'm back. I've carefully reviewed your replies and compared the dmesg information from my two systems.
I noticed that the second system has started the EOE thread again, and afterward, it logged many EOE-related errors/warnings.
I'm thinking about trying to completely disable the EOE function. I remember that I manually compiled the EtherCAT driver on the second system. According to the documentation, I configured it with something like --enable-eoe=no.
Is there a way for me to verify whether the EtherCAT I compiled actually has the EOE function disabled?
Of course, I can also recompile it, but I'm not entirely sure how to completely disable the EOE function.
Thank you for your help!
I noticed that the second system has started the EOE thread again, and afterward, it logged many EOE-related errors/warnings.
I'm thinking about trying to completely disable the EOE function. I remember that I manually compiled the EtherCAT driver on the second system. According to the documentation, I configured it with something like --enable-eoe=no.
Is there a way for me to verify whether the EtherCAT I compiled actually has the EOE function disabled?
Of course, I can also recompile it, but I'm not entirely sure how to completely disable the EOE function.
Thank you for your help!
Please Log in or Create an account to join the conversation.
- shaying526
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 1
07 Oct 2025 02:52 #335971
by shaying526
Replied by shaying526 on topic Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
I've carefully reviewed the configurations of my two previous systems. For the first system, I didn't intentionally disable EOE, so it should have been enabled by default.
For the second system, I'm somewhat uncertain whether EOE was actually disabled when checking dmesg, because I've seen similar posts suggesting that disabling EOE might be beneficial.
Another finding: I tried compiling EtherCAT version 1.5.2 on the second system (replacing version 1.6.1), and it did successfully connect quickly and enter OP state.
However, during operation, when I used watch -n 1 ethercat slaves to monitor, I noticed that it would occasionally flash "0x0000:0x0000" for all slaves. At these moments, it seemed like all my IO modules disconnected, but they recovered quickly.
This instability makes me hesitant to use this setup.
I would greatly appreciate any help or suggestions from the community. Thank you very much!
For the second system, I'm somewhat uncertain whether EOE was actually disabled when checking dmesg, because I've seen similar posts suggesting that disabling EOE might be beneficial.
Another finding: I tried compiling EtherCAT version 1.5.2 on the second system (replacing version 1.6.1), and it did successfully connect quickly and enter OP state.
However, during operation, when I used watch -n 1 ethercat slaves to monitor, I noticed that it would occasionally flash "0x0000:0x0000" for all slaves. At these moments, it seemed like all my IO modules disconnected, but they recovered quickly.
This instability makes me hesitant to use this setup.
I would greatly appreciate any help or suggestions from the community. Thank you very much!
Please Log in or Create an account to join the conversation.
- shaying526
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 1
07 Oct 2025 03:05 #335972
by shaying526
Replied by shaying526 on topic Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
I've only connected two slaves this time, and I've confirmed that neither of them has EOE functionality.
I've recorded the dmesg output after the rescan.
Why is the connection process relatively slow?
In which direction should I focus my troubleshooting efforts?
Thank you in advance for your guidance!
[ 5140.632281] EtherCAT 0: Re-scanning now.
[ 5140.640312] EtherCAT 0: Scanning bus.
[ 5141.334336] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5141.334343] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5142.333525] EtherCAT WARNING 0: 13 datagrams TIMED OUT!
[ 5142.333531] EtherCAT WARNING 0: 13 datagrams UNMATCHED!
[ 5143.332840] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5143.332847] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5144.331944] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5144.331950] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5145.335015] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[ 5145.335022] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ 5146.333852] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5146.333858] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5147.332551] EtherCAT WARNING 0: 3 datagrams TIMED OUT!
[ 5147.332558] EtherCAT WARNING 0: 3 datagrams UNMATCHED!
[ 5149.333802] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5149.333808] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5150.256544] EtherCAT 0: Bus scanning completed in 9624 ms.
[ 5150.256552] EtherCAT 0: Using slave 0 as DC reference clock.
[ 5150.276608] EtherCAT 0: Slave states on main device: PREOP.
[ 5150.332789] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[ 5150.332794] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 5150.625634] EtherCAT ERROR 0-0: Reception of CoE download response failed: No response.
[ 5150.625642] EtherCAT WARNING 0-0: Failed to set number of entries.
[ 5150.625643] EtherCAT WARNING 0-0: Currently mapped PDO entries: 0x2600:01/16 0x2600:03/16 0x2600:04/16 0x2601:02/16. Entries to map: 0x2600:01/16 0x2600:03/16 0x2600:04/16 0x2601:02/16
[ 5150.625657] EtherCAT WARNING 0-0: Failed to configure mapping of PDO 0x1602.
[ 5151.331810] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5151.331816] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5155.334342] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5155.334348] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5156.316919] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms.
[ 5156.327444] EtherCAT 0: Domain 0: Working counter changed to 3/6.
[ 5156.332974] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5156.332979] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5157.667444] EtherCAT 0: Domain 0: Working counter changed to 6/6.
[ 5158.334745] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5158.334751] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5158.671444] EtherCAT 0: Domain 0: 4 working counter changes - now 6/6.
[ 5160.132443] EtherCAT 0: Domain 0: Working counter changed to 0/6.
[ 5160.140193] EtherCAT ERROR 0-0: Reception of CoE SDO description response failed: No response.
[ 5160.144210] EtherCAT 0: Slave states on main device: OP.
I've recorded the dmesg output after the rescan.
Why is the connection process relatively slow?
In which direction should I focus my troubleshooting efforts?
Thank you in advance for your guidance!
[ 5140.632281] EtherCAT 0: Re-scanning now.
[ 5140.640312] EtherCAT 0: Scanning bus.
[ 5141.334336] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5141.334343] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5142.333525] EtherCAT WARNING 0: 13 datagrams TIMED OUT!
[ 5142.333531] EtherCAT WARNING 0: 13 datagrams UNMATCHED!
[ 5143.332840] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5143.332847] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5144.331944] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5144.331950] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5145.335015] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[ 5145.335022] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ 5146.333852] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5146.333858] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5147.332551] EtherCAT WARNING 0: 3 datagrams TIMED OUT!
[ 5147.332558] EtherCAT WARNING 0: 3 datagrams UNMATCHED!
[ 5149.333802] EtherCAT WARNING 0: 4 datagrams TIMED OUT!
[ 5149.333808] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 5150.256544] EtherCAT 0: Bus scanning completed in 9624 ms.
[ 5150.256552] EtherCAT 0: Using slave 0 as DC reference clock.
[ 5150.276608] EtherCAT 0: Slave states on main device: PREOP.
[ 5150.332789] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[ 5150.332794] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 5150.625634] EtherCAT ERROR 0-0: Reception of CoE download response failed: No response.
[ 5150.625642] EtherCAT WARNING 0-0: Failed to set number of entries.
[ 5150.625643] EtherCAT WARNING 0-0: Currently mapped PDO entries: 0x2600:01/16 0x2600:03/16 0x2600:04/16 0x2601:02/16. Entries to map: 0x2600:01/16 0x2600:03/16 0x2600:04/16 0x2601:02/16
[ 5150.625657] EtherCAT WARNING 0-0: Failed to configure mapping of PDO 0x1602.
[ 5151.331810] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5151.331816] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5155.334342] EtherCAT WARNING 0: 7 datagrams TIMED OUT!
[ 5155.334348] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[ 5156.316919] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms.
[ 5156.327444] EtherCAT 0: Domain 0: Working counter changed to 3/6.
[ 5156.332974] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5156.332979] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5157.667444] EtherCAT 0: Domain 0: Working counter changed to 6/6.
[ 5158.334745] EtherCAT WARNING 0: 5 datagrams TIMED OUT!
[ 5158.334751] EtherCAT WARNING 0: 5 datagrams UNMATCHED!
[ 5158.671444] EtherCAT 0: Domain 0: 4 working counter changes - now 6/6.
[ 5160.132443] EtherCAT 0: Domain 0: Working counter changed to 0/6.
[ 5160.140193] EtherCAT ERROR 0-0: Reception of CoE SDO description response failed: No response.
[ 5160.144210] EtherCAT 0: Slave states on main device: OP.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 896
- Thank you received: 314
07 Oct 2025 08:51 #335983
by Hakan
Replied by Hakan on topic Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
That looks like the situation I had yesterday. Traced it to a bad kernel (I think I traced it there).
I upgraded the kernel to latest 6.14-48 and all problems went away.
I upgraded the kernel to latest 6.14-48 and all problems went away.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System
Time to create page: 0.071 seconds