Stepper motor not running (Linux CNC + EtherCat + RPi 4)

More
4 years 9 months ago #233468 by Dj Junior

one test could be to slow down the servo thread, maybe the drive has limitations.

try 4000000 (4ms) for servo-thread and apptimeperiod like it is in the twincat setup.
 
You mean SERVO_PERIOD = 4000000 ?

Sorry Now I understand apptimeperiod in conf.xml

Please Log in to join the conversation.

More
4 years 9 months ago #233486 by db1981
yes,

ini file : SERVO_PERIOD = 4000000

and

ethercat_conf : apptimeperiod = 4000000

they have to be equal.

Please Log in to join the conversation.

More
4 years 9 months ago #233612 by Dj Junior
It doesn't work even if you change the values to 4000000

Can you recommend a tutorial on how to write a hal component to drive motors?

Please Log in to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum