Long initialization of Ethercat on servo drive SV660N

More
01 Apr 2025 11:13 #325455 by SergeyHM
Hi everyoneI have a long initialization of Ethercat on a machine with 7 inovance SV660N servo drivers. I tried different Servoperiods. Sometimes some servo drivers do not initialize - they remain in PreOP. What could be the reason? Maybe someone has encountered this?

LinuxCNC 2.8.4 + ethercat-master 1.6.3
Attachments:

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

More
01 Apr 2025 14:16 #325467 by langdons
Is it connected via a direct cable, or does it go through a router/switch/splitter of some sort?

What is the ethernet speed?

Post `ethtool <interface ID>`
`<interface ID>` can be found with `ip a`

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

More
22 Apr 2025 00:48 #326861 by Soccer Kid
Perhaps it is related to the EOE mode of the drive. Generally, it is recommended to adopt the drive in COE mode...

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

More
22 Apr 2025 06:26 - 22 Apr 2025 06:27 #326872 by Hakan
I have had long sync times, and there recently was a user that went from debian 10 and igh 1.5 to debian 12, igh 1.6.3 and latest linuxcnc that experienced long time sync times. I switched network adapter which helped a lot, but there was no solution for the other guy.
In the dmesg list, you can see that the client's time is converging, it's just that it's converging too slowly.
One thing you can try, that doesn't solve the root cause, is to restart linuxcnc after such a failed start.
The thinking being that the clients now have a much better starting time for the time sync.
Last edit: 22 Apr 2025 06:27 by Hakan.

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

More
28 Oct 2025 07:16 #337330 by hanz24
I am also trying to use servo from inovance, but I get an error from the configuration of the file where there are some unreadable pins. May I see how your file is configured or maybe there is a reference source that I can use. hope you still open this topic, thanks

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

More
28 Oct 2025 08:37 #337336 by Hakan
Bring it on, config errors are usually easy to fix.
Error messages, hal file and ethercat-conf.xml are needed.
In general, the ethercat drive pins are created with names from ethercat-conf.xml
Indices are from the id= entry, or if you have names= it takes that first.
 

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

More
28 Oct 2025 09:04 #337337 by hanz24
rigth now, the error in my configuration has been resolved, and I can run the LinuxCNC sim using my edited hal/xml. However, my servo drive doesn’t seem to enter OP mode and can’t move the servo motor. I’m confused because there are no errors shown in the terminal, and I’m not sure where to start troubleshooting.

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

More
28 Oct 2025 09:14 #337338 by Hakan
I assume it is a cia402 drive.
Then the first thing is to try this minimal configuration.
github.com/dbraun1981/hal-cia402/tree/main/example
 

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

More
28 Oct 2025 09:51 #337340 by hanz24
i already follow minimal configuration adjust with my servo drive (SV630N), but still the servo doesn't move following linuxcnc sim, and status on my ethercat slave still SAFEOP for my servo drive. here is my hal and xml conf.
Attachments:

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

More
28 Oct 2025 10:06 #337342 by Hakan
A line was broken in the hal file maybe it is already fixed. Should give an error in the linuxcnc startup window
net x-pos-fb => joint.0.motor-pos-fb <= cia402.0.pos-
fb
When it goes to safeop it usually tells why in the syslog.
Show us the last 30 lines or so from the command "sudo dmesg"
 

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

Time to create page: 0.119 seconds
Powered by Kunena Forum