I’m currently able to control my stepper motor by utilizing an Arduino Mega 2560 hooked up to a stepper driver. The Arduino works great with the stepper driver since the control pins on the driver are normally operated at 5V. However, I would like to substitute the Arduino with my 24V signal output PLC, and have therefore decided to mimic the connections with my PLC. The stepper driver’s user manual states 24V CAN be used to signal to the driver as long as a 2kohm resistor is used in series with the control pins. Nonetheless, I have been unsuccessful in operating the stepper motor with the PLC output.
Attached are pictures of my Arduino circuit with the stepper driver to control the motor, as well as info on the driver’s control specifications. When I attempted to operate the motor with the PLC, I connected the 24V digital output signal to the PUL pin, and then connect a 24V power supply to the OPTO pin. The digital output pin on the PLC is not noted as PWM, but I don’t think this should matter since I’m pulsing very slowly (about 1 step per s). Can anyone explain why I may be able to operate the stepper motor with the Arduino, but not with the PLC? Thanks for any help!!!