- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Stepper motor not running (Linux CNC + EtherCat + RPi 4)
Stepper motor not running (Linux CNC + EtherCat + RPi 4)
29 Jan 2022 19:19 - 29 Jan 2022 19:22 #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
Last edit: 29 Jan 2022 19:22 by Dj Junior.
Please Log in or Create an account to join the conversation.
29 Jan 2022 21:28 #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 or Create an account to join the conversation.
31 Jan 2022 08:16 - 31 Jan 2022 08:22 #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?
Last edit: 31 Jan 2022 08:22 by Dj Junior.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Stepper motor not running (Linux CNC + EtherCat + RPi 4)
Time to create page: 0.080 seconds