StepperOnline A6 Servos: Sync Error when closing LinuxCNC

More
16 Jan 2026 14:29 #341452 by wildcam45
Hi
I got tree Stepperonline A6 servo motors up and running in XYZ mode using the attached files. When I close LinuxCNC, however, all three drivers show error ErC 1.1, i.e. Sync Error. When I start LinuxCNC again, the errors disappear. So it is not a big deal, but it is ugly to see that the program was not terminated in a decent way. 

I suppose that there must be some appropriate commands in the shutdown.hal file. I tried a lot of things, but none of them worked. Dies anyone know what to put in the shutdown.hal file to prevent the sync error or is there an other way to prevent this error?

Thanks
 

File Attachment:

File Name: Basic_2026...16-2.hal
File Size:5 KB


 

File Attachment:

File Name: EtherCat_2...1-16.ini
File Size:3 KB


 

File Attachment:

File Name: ethercat-conf.xml
File Size:6 KB
Attachments:

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
22 Jan 2026 10:22 #341686 by Hakan
You can try with the syncToRefClock option
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1" syncToRefClock="true">
or if you have an old version of lcec, a minus sign
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.080 seconds
Powered by Kunena Forum