StepperOnline A6 Servos: Sync Error when closing LinuxCNC

More
9 months 2 weeks ago #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
 

Attachment not found



 

Attachment not found



 

Attachment not found

Please Log in to join the conversation.

More
9 months 1 week ago #341686 by Hakan
You can try with the syncToRefClock option
Code:
<masters> <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1" syncToRefClock="true">
or if you have an old version of lcec, a minus sign
Code:
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
 

Please Log in to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum