- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Omron/Generic Ethercat Driver - Communications Synch Error
Omron/Generic Ethercat Driver - Communications Synch Error
- iastate_tka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
08 Jan 2025 16:31 #318422
by iastate_tka
Omron/Generic Ethercat Driver - Communications Synch Error was created by iastate_tka
Hi everyone,
I am part of a research group here at Iowa State and we are using LinuxCNC to build a laser based directed energy deposition system. We have some Omron G5 R88D-KN01L-ECT drivers that a few other people have seemed to have gotten working on here and I was hoping you might be able to provide some input if this describes you.
Right now I'm just trying to get position exchange information in the HAL viewer for a single axis.
Thanks to the Ethercat installation from repositories - how to step by step , and EtherCAT: How to use the dedicated OmrG5 lcec driver? I think I have the XML setup correctly, as the driver is happy and displays "--" (preop, waiting, no error) until I launch LinuxCNC, which about 1-2s after the main UI loads the driver drops into the '90' error. This occurs regardless of if I have the drive configured as a "generic" device or if I use the OmrG5 driver. I've also tried changing the servo thread cycle time through all of the supported cycle times listed in the documentation (0.5, 1, 2, & 4ms) and no change in behavior.
I've also tried Beckhoff's Ethercat Configurator to make sure that the cycle time was set appropriately
I've attached a snippet of the documentation for the communications synchronization error. Any help/thoughts would be incredibly appreciated as I've been banging my head against this wall for a few days now. The XML, INI and HAL files have also been attached.
Thanks!
I am part of a research group here at Iowa State and we are using LinuxCNC to build a laser based directed energy deposition system. We have some Omron G5 R88D-KN01L-ECT drivers that a few other people have seemed to have gotten working on here and I was hoping you might be able to provide some input if this describes you.
Right now I'm just trying to get position exchange information in the HAL viewer for a single axis.
Thanks to the Ethercat installation from repositories - how to step by step , and EtherCAT: How to use the dedicated OmrG5 lcec driver? I think I have the XML setup correctly, as the driver is happy and displays "--" (preop, waiting, no error) until I launch LinuxCNC, which about 1-2s after the main UI loads the driver drops into the '90' error. This occurs regardless of if I have the drive configured as a "generic" device or if I use the OmrG5 driver. I've also tried changing the servo thread cycle time through all of the supported cycle times listed in the documentation (0.5, 1, 2, & 4ms) and no change in behavior.
I've also tried Beckhoff's Ethercat Configurator to make sure that the cycle time was set appropriately
I've attached a snippet of the documentation for the communications synchronization error. Any help/thoughts would be incredibly appreciated as I've been banging my head against this wall for a few days now. The XML, INI and HAL files have also been attached.
Thanks!
Please Log in or Create an account to join the conversation.
- onceloved
-
- Offline
- Premium Member
-
Less
More
- Posts: 120
- Thank you received: 57
09 Jan 2025 07:37 #318512
by onceloved
Replied by onceloved on topic Omron/Generic Ethercat Driver - Communications Synch Error
Change sync0Cycle="10000000" in the xml file to sync0Cycle="*1" and try it
The following user(s) said Thank You: iastate_tka
Please Log in or Create an account to join the conversation.
- tpa58
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 1
09 Jan 2025 10:13 #318527
by tpa58
Replied by tpa58 on topic Omron/Generic Ethercat Driver - Communications Synch Error
Here is my config for OMRON R88D-KN04H-ECT. With this config I can change driver mode - velocity or position.
Change vid="0x00000083" pid="0x00000007" to you value.
Default driver in velocity mode <sdoDataRaw data="09"/>, in position mode mast be <sdoDataRaw data="08"/>
Change vid="0x00000083" pid="0x00000007" to you value.
Default driver in velocity mode <sdoDataRaw data="09"/>, in position mode mast be <sdoDataRaw data="08"/>
The following user(s) said Thank You: iastate_tka
Please Log in or Create an account to join the conversation.
- iastate_tka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
09 Jan 2025 12:56 #318538
by iastate_tka
Replied by iastate_tka on topic Omron/Generic Ethercat Driver - Communications Synch Error
onceloved, I have tried that with no luck. For the sync0Cycle I've tried the following values with the following servo cycle times:
Servo: 1ms -> sync0Cycle: *1, *2, 1000000, 500000
Servo: 500us-> sync0Cycle: *1, *2
tpa58, thank you a bunch! I'll start with your XML file and see how far I get today then report back.
Servo: 1ms -> sync0Cycle: *1, *2, 1000000, 500000
Servo: 500us-> sync0Cycle: *1, *2
tpa58, thank you a bunch! I'll start with your XML file and see how far I get today then report back.
Please Log in or Create an account to join the conversation.
- iastate_tka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
09 Jan 2025 13:26 #318541
by iastate_tka
Replied by iastate_tka on topic Omron/Generic Ethercat Driver - Communications Synch Error
I was able to get the drive to go into OP mode thanks to your XML file after I changed the PID to my driver.
Thanks again!
Thanks again!
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 837
- Thank you received: 181
23 May 2025 22:12 #329021
by ihavenofish
Replied by ihavenofish on topic Omron/Generic Ethercat Driver - Communications Synch Error
Poke poke
I'm trying to get my omron servos working here and it doesn't give the 90 error now, however it is giving me an 83 error which is also communication related.
I am starting with a very basil xml and using halrun to test things.
Any thoughts?
I'm trying to get my omron servos working here and it doesn't give the 90 error now, however it is giving me an 83 error which is also communication related.
I am starting with a very basil xml and using halrun to test things.
Any thoughts?
Please Log in or Create an account to join the conversation.
- iastate_tka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
27 May 2025 12:35 #329216
by iastate_tka
Replied by iastate_tka on topic Omron/Generic Ethercat Driver - Communications Synch Error
Hi there,
Not sure how much help I can be as I've never gotten the 83 error before. I did find this on the forum, not sure if you've seen it ( www.forum.linuxcnc.org/ethercat/45007-et...hen-exiting-linuxcnc ) but it only applies to exits.
If you'd like I can run upstairs later today and grab my config files to share, although I don't think I really messed with them much beyond the PID from the files tpa58 shared.
Not sure how much help I can be as I've never gotten the 83 error before. I did find this on the forum, not sure if you've seen it ( www.forum.linuxcnc.org/ethercat/45007-et...hen-exiting-linuxcnc ) but it only applies to exits.
If you'd like I can run upstairs later today and grab my config files to share, although I don't think I really messed with them much beyond the PID from the files tpa58 shared.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 837
- Thank you received: 181
27 May 2025 12:48 #329217
by ihavenofish
Replied by ihavenofish on topic Omron/Generic Ethercat Driver - Communications Synch Error
everything is working now thanks
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Omron/Generic Ethercat Driver - Communications Synch Error
Time to create page: 0.130 seconds