I need to control 6 stepper motors, pto (Pulse Train output) with Mduino 20Plus. Is there a library to do this?
Second question, is it possible to drive it with digital outputs?
I read that the maximum frequency is 4Khz, is that correct?
Thanks to all.
Can't I use "normal" (not PWM) outputs to send pulses to a stepper driver (with clock/direction inputs)?
I don't expect needing to send more than 1kHz (800Hz should be enough).
I used the library AccelStepper with an Arduino Mega Board (not integrated as PLC) and It worked quite well.
In order to control 6 stepper motors using only an M-Duino 21+ is not possible as each motor need to use 3 pwm digital outputs. If you want to implement this you will need at least 3 M-Duino 42+ PLCs.
In the following blog, there is a full explanation of how to implement and use the stepper motors using our Industrial Shields PLCs and a code example for programming them.
As you have read, the maxium frequency for the digital outputs is 4 KHz.
Acerca de esta comunidad
Herramientas de las preguntas
|Preguntado: 17/12/20 9:31|
|Visto: 234 veces|
|Última actualización: 19/12/20 15:03|