How-to
How to Run a Stepper Conveyor From a PLC Pulse Output
Short answer
A PLC runs a stepper conveyor by sending a hardware pulse-train output to a step-and-direction driver, never by switching the windings itself. Compute the rate from f = v × S × M × G / C — for 0.30 m/s of belt on a 50 mm roller, a 200-step motor at 8 microsteps and 2:1 reduction, that is 6.1 kHz — then confirm the PTO and the driver both accept it and commission with acceleration ramps.
On this page
A PLC runs a stepper conveyor through two boxes: a hardware pulse-train output (PTO) on the PLC, and a step-and-direction driver between the PLC and the motor windings. The PLC never switches the windings itself. Compute the pulse rate first, with f = v × S × M × G / C, where v is belt speed, S is the motor's full steps per revolution, M is the driver's microsteps per full step, G is motor revolutions per roller revolution and C is roller circumference. The worked case below — 0.30 m/s of belt, a 50 mm roller, a 200-step motor at 8 microsteps behind 2:1 reduction — needs 6.1 kHz at 229 rpm, and those two numbers decide the PLC, driver and motor choice.
What the PLC drives and what it never drives #
The PLC's work ends at the driver's command inputs. A step-and-direction driver takes low-power step and direction signals and switches the motor supply current through the windings in sequence; many drivers also expose enable and fault lines, and a conveyor should wire them. Step and direction are control signals, not motor power — motor current never passes through the PLC.
The step pulses must come from a hardware pulse-train output. A PTO generates timed edges on dedicated hardware, independent of program-scan timing; outputs toggled from ladder logic cannot hold a clean frequency, and relay outputs are not pulse devices at all. The two-line interface is common to most drivers, and the same signal rules apply when the pulses come from a motion controller instead, as covered in driving step and direction inputs from a controller velocity output.
Compute the pulse rate before touching the software #
Start with pulses per motor revolution, then the frequency the conveyor demands:
P = S × M
f = v × S × M × G / C
Take v in m/s from the process, S in full steps per revolution from the motor datasheet (a 1.8° motor is 200 steps/rev, a 0.9° motor is 400), M in microsteps per full step from the driver setting, G in motor revolutions per roller revolution from the drive geometry, and C in metres per roller revolution from π × roller diameter or measured belt travel. The result f is in pulses per second, and it assumes the belt does not slip on the roller and the ratio stays fixed.
Worked example, each input from its source:
| Quantity | Symbol | Value | Source |
|---|---|---|---|
| Belt speed | v | 0.30 m/s | process requirement |
| Full steps per revolution | S | 200 steps/rev | motor datasheet, 1.8° step angle |
| Microsteps per full step | M | 8 | driver configuration |
| Motor revs per roller rev | G | 2.0 | belt reduction ratio |
| Roller circumference | C | 0.157 m | π × 50.0 mm diameter |
| Pulse frequency | f | 6.1 kHz | calculated below |
The arithmetic, carried with units:
- 200 steps/rev × 8 microsteps/step = 1,600 pulses per motor revolution.
- 0.30 m/s ÷ 0.157 m/rev = 1.91 roller revolutions per second.
- 1.91 rev/s × 2.0 = 3.82 motor rev/s, that is 229 rpm.
- 3.82 rev/s × 1,600 pulses/rev = 6,110 pulses/s ≈ 6.1 kHz.
- 1,600 × 2.0 = 3,200 pulses per roller revolution, so the positioning scale is 3,200 ÷ 157 mm = 20.4 pulses per mm of belt.
That 6.1 kHz is a calculated example for these inputs, not a measured result. It moves in direct proportion to every input: halve the microstepping and it halves; double the reduction and it doubles.
Check the limits at both ends #
Three gates follow from the calculation.
The PTO gate: compare the calculated rate with the documented maximum pulse frequency of the pulse output you plan to use, and confirm the CPU has a free PTO channel — the channel count is model-dependent. If the rate is over the limit, the microstep setting is the lever: the same conveyor at 4 microsteps needs 3.1 kHz, at 2 microsteps 1.5 kHz, and at full step 764 Hz.
The driver gate: its datasheet states a maximum step-input frequency, a minimum pulse width, and direction setup and hold times around each step edge. The PLC output circuit must also match the driver's input — voltage, current, sourcing or sinking — through whatever interface the driver's diagram calls for.
The torque gate: 229 rpm is the operating point, and the torque there comes from the published torque-speed curve of the motor and driver together, never from the holding-torque figure, which is a stationary number. Microstepping smooths motion; it does not add torque. Working the torque side is its own task, covered in stepper motor torque at speed for a web tension roller.
Wire the two circuits #
Motor power circuit: identify the two winding pairs from the motor's documentation — a bipolar four-wire motor carries them as A+, A−, B+, B− — and connect them to the driver as its diagram shows. Set winding current and microstep resolution before energizing anything. Make and break motor wiring only with the driver powered down and its supply discharged.
Command circuit: run step, direction and enable per the driver's input diagram, honoring its pulse-width and direction timing, and route this wiring away from the motor leads. The step line carries kilohertz in this design; treat it as a high-speed signal — short run, proper return, no sharing with switching noise.
Commissioning procedure #
- Record the hardware: motor, driver, supply, ratio, roller diameter and target speed, and whether the job is open speed control or measured positioning.
- Set the driver's current limit and microstep resolution while it is unpowered, from the motor datasheet and your chosen M.
- Wire and check the motor-power circuit; verify the winding pairs before the first energize.
- Wire step, direction and enable, and confirm the PLC output circuit meets the driver input specification.
- Configure the PTO channel and enter the scaling from the calculation — 20.4 pulses per mm here, or the equivalent velocity in pulses per second.
- With the belt clear, jog each direction at low speed and confirm travel matches the direction bit; if it runs backwards, change the direction polarity or the winding pair order, one at a time.
- Add acceleration and deceleration ramps and raise speed in steps to 0.30 m/s; an instantaneous jump to full speed loses steps at every start.
- Command a fixed pulse count and measure the belt travel against the computed scale, and check the step train at the driver input at full speed before signing off.
When this conveyor must follow another belt instead of running an open speed, the encoder route in matching a stepper feed rate to conveyor speed with an encoder is the next build step.
The decision for this conveyor #
Commit to the design when all three gates hold: the PTO's documented maximum frequency is at least the calculated 6.1 kHz, the driver's step input is documented to at least that rate with its pulse-width and direction timings met, and the torque-speed curve at 229 rpm clears the loaded conveyor torque with margin — a common sizing rule of thumb is to use no more than half the available torque. If a frequency gate fails, drop the microstepping to 4 or 2 and keep the hardware. If the torque gate fails, fit a bigger motor or more reduction, and remember that more reduction raises the pulse rate in proportion.
Questions asked
Can I make the step pulses with ordinary ladder-logic outputs instead of a PTO?
Not for a conveyor that has to run. A scan-timed toggle is limited by scan time and jitters at every edge, and relay outputs, where the CPU uses them, are not made for kilohertz step rates. The hardware pulse-train output exists for exactly this job: frequency, pulse width and ramping then come from dedicated hardware instead of the program scan.
Does finer microstepping give the conveyor more torque?
No. Microstepping divides each full step into more pulses, so it smooths low-speed motion and raises the pulse count per revolution, while torque comes from the motor and driver current and falls as speed rises. In the worked case, moving from 8 to 16 microsteps doubles the pulse rate from 6.1 kHz to about 12.2 kHz and adds no torque.
How do I verify the scaling once everything is wired?
Command a fixed pulse count with the belt unloaded and measure the travel. In the worked example, 3,200 pulses equal one roller revolution, so the belt should move 157 mm. If the travel is off by roughly the gear ratio, the G entered in the controller is wrong. If it wanders between runs, the belt is slipping or the motor is losing steps.
The conveyor jogs fine slowly but loses position at full speed. Is the wiring at fault?
Measure the step train at the driver input at full speed first. A clean train with lost position points to torque, not wiring: the motor in the example turns about 229 rpm, and the torque there has to come from the published torque-speed curve, not the holding-torque figure. Reduce acceleration, then reduce microstepping, then reconsider the motor size.
How many stepper conveyors can one PLC run this way?
One pulse-train channel and one driver per motor. The channel count depends on the CPU: the CLICK PLUS controller documentation lists up to three PTO channels on the C2-14x CPUs and up to two on the C2-08x CPUs. Direction and enable take ordinary digital outputs, so only the pulse channel is scarce.