Drives Inverters Guides PLC Guides

Siemens S7-200 “Stepper Motor” Control Tutorial

Written by

Hello friends!
From a lot of people who commented and emailed me, I wanted to write a tutorial on how to use the PLC S7-1200 to generate pulses to control the stepper motor because they said they couldn’t find the tutorial on Youtube or any website.

Therefore, today will guide you to use Siemens S7-200 PLC to control stepper motor (Use Driver Leadshine DM542) simply and easily. Please note that only PLC Siemens Model DC/DC/DC (Transistor Output) supports pulse generation, Model Output Relay does not support.

Siemens S7-200 & Stepper Motor “Wiring Diagram”

I/O Address:

+ Q0.0 = Pulse Output Pin

+ Q0.1 = Direction Output Pin

+ Q0.2 = Off Stepper Motor

Note: Use 2k2Ω resistor to reduce voltage from 24VDC > 5VDC

Siemens S7-200 “Pulse Train Output” Configuration

+ SM Locations Registers

+ Siemens S7-200 Control Byte Reference

S7-200 “Pulse Train Output” Example

+ Stepper Motor On/Off Control

+ Forward/Reverse Control

Project Video Tutorial


Software Reference
+ Download STEP7 MicroWIN V4.0 SP9 Siemens Software

If you need support, please comment below the article, subscribe to Youtube channel and Website to read new articles of

Thanks and Best Regards!

About the author

Leave a Comment Protection Status