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

More
29 Jan 2022 19:19 - 29 Jan 2022 19:22 #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
Last edit: 29 Jan 2022 19:22 by Dj Junior.

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

More
29 Jan 2022 21:28 #233486 by db1981
yes,

ini file : SERVO_PERIOD = 4000000

and

ethercat_conf : apptimeperiod = 4000000

they have to be equal.

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

More
31 Jan 2022 08:16 - 31 Jan 2022 08:22 #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?
Last edit: 31 Jan 2022 08:22 by Dj Junior.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum