AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Stepper pulse train speed from a PLC timer: the real limit

Servo and stepper motion Published 7 min read By AutomateDirectUSA engineering team

Short answer

The speed ceiling is the pulse source, not the motor: a ladder timer's done bit is re-evaluated only once per scan and the discrete output adds backplane latency, so a software timer tops out long before the drive does. Above that, use a hardware pulse-output module or the drive's stored moves. Missing center taps on a 4-lead motor cost nothing.

On this page
  1. What are the center tap wires on a 6-lead stepper motor for?
  2. Does a 4-lead motor lose anything without center taps?
  3. How do I identify the phases before landing the motor on the drive?
  4. Why does the pulse train fail below a 3 ms timer preset?
  5. What pulse rate can a software timer actually deliver?
  6. What pulse rate does the machine speed need?
  7. Which symptom points to the PLC and which to the wiring?
  8. What pulse source reaches the speed the machine needs?
  9. Questions asked

The speed ceiling on this upgrade is the pulse source, not the motor and not the drive. A ladder timer's done bit is only evaluated once per controller scan, and the discrete output then updates over the backplane on top of that, so the pulse period bottoms out near one timer tick plus one scan plus the module's update time. With a 1 ms timer that is roughly a 500 Hz train, about 150 rpm at the drive's 200 full-step setting. The missing center taps on the 4-lead motor cost nothing; they belong to unipolar drives only. Work the checks below in order, because the wiring question and the speed question have separate answers.

What are the center tap wires on a 6-lead stepper motor for? #

Center taps exist for unipolar drives: a unipolar drive feeds current from the supply into one half of a center-tapped winding at a time, with the tap as the common return, so current flows one way through each half.

A bipolar drive works differently. It uses an H-bridge on each phase to reverse current through the entire winding between the two outer leads, so the tap carries no current and stays unused. On a 6-lead motor the two halves are already joined inside the motor at the tap, so your only connection choice is full winding (the two outer leads) versus half winding (one outer lead plus the tap). That choice trades low-speed torque for high-speed torque, because winding inductance scales with the square of the turns in circuit, and half winding puts half the turns in. Series and parallel choices, by contrast, belong to 8-lead motors, where all four half-windings are brought out separately. Whichever connection you wire, take its rated current from the motor datasheet for that connection, not one number for both.

Does a 4-lead motor lose anything without center taps? #

No. A 4-lead motor brings out only the two ends of each phase winding, a bipolar drive reverses current through the whole coil and never touches a tap, so a 6-lead motor wired the same way would give nothing extra on that drive.

There is also nothing to configure. A 4-lead motor has no connection options, so its torque-speed curve is whatever the motor datasheet plots for your drive voltage and set current. The only check is that curve against the speed and load the machine needs, before you commit to the swap.

How do I identify the phases before landing the motor on the drive? #

With power off and the motor disconnected, measure resistance between every pair of leads: a 6-lead motor reads as two groups of three connected leads, one group per phase, and any lead from one group to any lead of the other reads open.

Then:

  1. Inside each group of three, the end-to-end pair reads the highest resistance; each outer lead to the tap reads about half of that.
  2. Land the two outer leads of each phase on the drive's motor terminals.
  3. Insulate each center tap lead individually and leave it floating. Never tie the two taps together and never ground them.
  4. If a group reads open between all three leads, a phase pair has been mixed up; re-measure before powering up.

One safety note: motor leads sit at the drive's power stage, so make every connection change with the drive powered down and input energy locked out.

Why does the pulse train fail below a 3 ms timer preset? #

Because the timer preset, the controller scan time and the output update sit in series in the pulse path, and below a few milliseconds the done bit cannot be re-evaluated often enough to keep the train running.

The .DN bit is only evaluated when the routine scans, so every pulse edge is quantized to the task scan time; the output module then updates over the backplane after the scan. That chain, not any configuration setting, is the observed floor of roughly one-third of a revolution per second at the 200 full-step setting, which matches a preset of 3 on a 1 ms time base failing while lower presets collapse the train entirely. Read your controller's task scan time in its task monitor and the output module's update interval in the I/O configuration; both set the floor on the pulse period.

One spec check before you blame the timer: output delays of 0.1 ms off-to-on and 0.1 ms on-to-off are quoted for the embedded DC outputs of certain 1769-L controllers and do not describe an 8-point 24 V DC sourcing module such as the 5069-OB8. Take that module's own delay figures from its installation instructions, and read why a regular PLC output limits a stepper pulse train to low speed for the same mechanism in general.

What pulse rate can a software timer actually deliver? #

A 1 ms half-period toggled by the timer gives one pulse every 2 ms, a 500 Hz train at best, and the scan jitter makes the real delivered rate worse, not better.

The arithmetic, as a calculated example for these inputs: a 1 ms timer tick used as the half-period gives a 2 ms full pulse period, and 1 ÷ 0.002 s = 500 pulses per second, a 500 Hz train. At 200 steps per revolution, 500 ÷ 200 = 2.5 rev/s, and 2.5 rev/s × 60 s/min = 150 rpm. That is the ceiling for this pulse source. The jitter also corrupts any position counted from the pulses, because dropped and doubled edges add and remove steps; that failure mode is covered in why a timer-driven stepper pulse train delivers the wrong step count.

What pulse rate does the machine speed need? #

Work back from the shaft speed: at an example target of 750 rpm and 200 steps per revolution, the drive needs 12.5 × 200 = 2,500 pulses per second, a 2.5 kHz train, five times what the timer source can deliver.

The arithmetic: 750 rpm ÷ 60 s/min = 12.5 rev/s, and 12.5 rev/s × 200 steps/rev = 2,500 pulses/s = 2.5 kHz. Compare that with the timer's ceiling from the previous section and the gap is a factor of five. Raising the drive's resolution setting raises the pulse rate the same shaft speed needs in proportion, so the lowest resolution that meets your smoothness need is the right setting; the procedure is in setting a stepper drive to 200 steps per revolution.

Which symptom points to the PLC and which to the wiring? #

Smooth rotation that refuses to speed up is the pulse source; buzzing, rough or absent motion is wiring or a start rate above pull-in; stalling as speed rises is torque or a missing ramp.

Match what you see before changing anything:

  • Smooth rotation, speed will not rise as the preset drops: pulse rate limited by scan and output update. Confirm with the timer-rate arithmetic above.
  • Buzzing with no rotation: mixed phase pair, open phase, or commanded rate above the motor's pull-in. Re-meter the leads, then drop the rate.
  • Runs, then stalls as speed rises: torque-speed limit or missing acceleration ramp. Check the datasheet curve at your drive voltage and add a ramp.
  • Wrong direction: direction-signal polarity or one swapped phase. Invert the signal or swap one phase's pair.

A motor that already runs smoothly rules out most wiring faults, so start with the pulse source when that is the symptom.

What pulse source reaches the speed the machine needs? #

Two sources reach it: a dedicated high-speed pulse-output module, or the drive's own stored-move mode triggered by discrete inputs, because both generate their step timing locally instead of borrowing the controller scan.

The decision, case by case:

  • A 4-lead motor: wire the two phase pairs to the drive terminals and leave the question closed; nothing is lost.
  • A 6-lead motor on a bipolar drive: land the outer leads, insulate both taps floating, and pick full or half winding from the datasheet current and torque curve.
  • Speed under the timer ceiling with position not counted from pulses: a timer train run in a fast periodic task is acceptable. Verify the delivered period on a counter or scope, and expect jitter.
  • Any counted move, or any speed above that ceiling: a hardware pulse-output module or the drive's stored moves. The trade-offs are compared in pulse train or stored moves as the interface between a PLC and a stepper drive.

Whichever source you pick, build in an acceleration ramp: a stepper commanded straight to a high rate from standstill stalls, and the indexer you replaced was supplying that profile. The drive's step input itself accepts rates far above a few hundred hertz; take the exact range and minimum pulse width from the drive manual. Matching a controller's outputs to a pulse train input, including voltage and any series resistance, is its own wiring task, and a worked example of wiring a pulse train interface to a servo drive shows the checks line by line.

Questions asked

Can I tie the two center tap leads together instead of insulating each one?

No. Leave each tap lead insulated and floating. The taps belong to unipolar drives and carry no current on a bipolar connection, but tying them together or grounding them creates unintended current paths between winding halves and can distort the phase currents the drive is trying to control.

Does half winding let a 6-lead motor run faster?

It can at high speed. Half winding puts half the turns in circuit, and inductance scales with the square of the turns, so the electrical time constant drops and torque holds up better as speed rises. The trade is lower low-speed torque and a different rated current: set the drive to the datasheet value listed for the half-winding connection.

Why does the motor stall when the pulses jump straight to full speed?

A stepper produces usable torque only up to its pull-in rate from standstill. Command a start rate well below that, ramp up to the run rate over the move, and ramp down at the end. The indexer in the old machine supplied this profile; the replacement pulse source has to supply it too.

Does microstepping help the speed problem?

No. More steps per revolution needs proportionally more pulses for the same shaft speed, so a higher resolution setting lowers the top speed a given pulse source can reach. Use the lowest resolution that meets your smoothness need, and put the pulse-rate budget into the source rather than the setting.

Keep reading

  • Troubleshooting

    Why a regular PLC output limits a stepper pulse train to low speed

    A regular transistor PLC output runs a pulse-train stepper drive only to roughly 2-3 kHz: at 5 kHz, pulses arrive 200 microseconds apart and slow switching rounds them off, so the drive loses steps. Scope the pulse at the drive terminals, compare it with the drive's minimum pulse width, and move the axis to a controller with dedicated high-speed pulse outputs rather than changing the motor.

    Servo and stepper motion

  • Explainer

    What a controller output switching rate does to stepper speed

    Motor speed equals the step pulse frequency divided by the driver's increments per revolution, so the controller's maximum output switching rate sets the ceiling. A compact controller whose technical data lists 10 Hz commands ten increments each second — 1 mm/s of feed with 0.1 mm of travel per pulse. That suits slow indexing; anything faster needs a dedicated pulse output, not more reduction or microstepping.

    Servo and stepper motion

  • How-to

    How to Run a Stepper Conveyor From a PLC Pulse Output

    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.

    Servo and stepper motion

Unipolar stepper oscillates in place: wrong phase order fix