Stepper motor is one of the simple, inexpensive motors that can accurately control rotational angles, so it is widely used in machines. Today plc247.com will guide you to use PLC S7-1200 to control stepper motor in the simplest and easiest way.
I use 2 Phase (4 wires) stepper motor and Leadshine DM542 Motor Driver, this is a very common driver used in machines.
S7-1200 & Stepping Motor “Connection Diagram”
Leadshine DM542 Stepping Driver
- Stepping Driver Setting 1000 (PLS) = 1 (Revolution)
- R= 2K2Ω: Reduce voltage from 24VDC to 5VDC
Siemens S7-1200 Pulse Output Configuration
plc247.com recommends Reset PLC before loading program
Axis1 Parameters Setting
+ Basic parameters
+ Extended parameters
+ Dynamics
PLC Programming
+ Step ON/OFF Control
+ Axis Reset Command
+ Axis Jog Process
+ Axis Position Control
Project Video Tutorial
======
Required Software
+ Siemens S7 1200 Programming Software Download
If you support in the process of using Siemens S7-1200 to control Stepping Motor, please comment below the article, plc247.com will reply to you when I read the comments.
Best Regards!
hola que tal me puedes ayudar ya ise todas las funciones del objeto tecnologico pero no encuentro la manera de que se active con una entrada fisica una senal
please comment via english sir
Hello, I followed your instructions exactly (wiring, configuration, programming, …) and for some reason, the stepper motor disengages but doesn’t rotate even when I use various control methods. Do you have any idea what could be the issue? Thank you.
Have you factory reset the PLC yet?
Yes, I did the factory reset, and as I wrote, I followed the instructions exactly. The controller for the stepper motor and the stepper motor itself are working correctly, I verified this with Arduino. But as soon as I connect it to the PLC, the motor does not rotate when the program is running, the only thing I can control is the release of the stepper motor, nothing more. So I have no idea where the error could be.
Do you use S7-200 Transistor Output?
Yes, I use transistor output, I have exactly this type of PLC: 6ES7214-1AG40-0XB0, SIMATIC S7-1200, CPU 1214C, DC/DC/DC
DC/DC/DC still OK
Hello, where can I set what length the motor should rotate? and can i run 2 motors synroch with 2 drivers?
yes sir, you can
How i can save my output parameters if the CPU fails?
sorry i don’t understand what you mean
I want to control 2 motors. If the CPU fails, it should know which position it is in when it starts up again and not back to 0. And I want to set reference points that the e.g. must not drive more than 130cm and this should also be saved if the CPU fails and is switched on again.
You should do Jog program and find the origin for your Axis
My stepper motor is closed loop, I wonder how can I connect this motor for the pend output position verification process.
can sir, same 100%
hello
Can I do this with a DC/DC/Relay cpu?
Can’t only support DC/DC/DC
Please tell me what model of stepper motor you used
any Stepping motor