
justJon85 (Customer) asked a question.
Can I use a Leadshine DM322E stepper motor driver with a Siemens S7-1211c PLC?
I believe this PLC has a 24 volt sourcing output.
The specifications for the stepper drive say that it can use either sinking or sourcing inputs, but the only wiring I found looked to me like it was for sinking inputs.
I called tech support. They told me to hook the OPTO to 0V and then run PUL and DIR through a resistor to the PLC output.
I tried that with no luck either. Do I need a different stepper drive or to use optocouplers to change the logic type?
Hey Jon,
Looking at the diagram it looks like it just accepts NPN outputs. They really went cheap with this drive and instead should have provided independent plus and minus terminals for all. If that diagram is right, it will not work with a 24V input at PUL, DIR, or ENA.
Just to test the drive, wire VCC to 24V and the ENA to 0V. (Don't forget resistor). You can then just momentarily ground the PUL (with resistor again) and see if you get any movement).
If that works, you can try grounding (0V) the VCC input and applying 24V to the ENA and PUL circuits and see if it will work that way. Worst case you damage the drive by at $25 I would try it.
Even the $8 Chinese drive I have here has more features unfortunately.
Edit: I just noticed you mentioned Optocouplers - yes you can use them, that would work.