- Posts: 33
- Thank you received: 0
Stepper motor not running (Linux CNC + EtherCat + RPi 4)
4 years 9 months ago #233468
by Dj Junior
Sorry Now I understand apptimeperiod in conf.xml
Replied by Dj Junior on topic Stepper motor not running (Linux CNC + EtherCat + RPi 4)
You mean SERVO_PERIOD = 4000000 ?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.
Sorry Now I understand apptimeperiod in conf.xml
Please Log in to join the conversation.
4 years 9 months ago #233486
by db1981
Replied by db1981 on topic Stepper motor not running (Linux CNC + EtherCat + RPi 4)
yes,
ini file : SERVO_PERIOD = 4000000
and
ethercat_conf : apptimeperiod = 4000000
they have to be equal.
ini file : SERVO_PERIOD = 4000000
and
ethercat_conf : apptimeperiod = 4000000
they have to be equal.
Please Log in to join the conversation.
4 years 9 months ago #233612
by Dj Junior
Replied by Dj Junior on topic Stepper motor not running (Linux CNC + EtherCat + RPi 4)
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?
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
