AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

How-to

Stepper driver error output wiring to the controller

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

Short answer

Wire each open-collector error output to its own controller input as a motion-stopped signal — never to the Enable inputs. A driver that faults has already stopped its own axis; the controller reads the input, halts coordinated motion, and blocks restart until the fault clears. Commission eight-wire motors in series first; go parallel only when speed demands it.

On this page
  1. What does a stepper driver's error output actually tell you?
  2. Should error outputs kill the Enable inputs to stop every axis?
  3. How do you wire an open-collector error output to a controller input?
  4. Why give each axis its own error input instead of tying them together?
  5. How do you make the controller stop coordinated motion on a fault?
  6. Series or parallel first for an eight-wire stepper motor?
  7. How do you test the fault wiring before you trust a job to it?
  8. What is the final wiring and commissioning decision?
  9. Questions asked

An open-collector error output is a report, not a control lever: when a driver trips, it has already stopped its own axis, and the output's only job is to tell the controller that an axis stopped. So wire each driver's error output to its own controller input, pull the line up on the input side, and stop coordinated motion in the controller — not through the Enable inputs. Set eight-wire motors to series first and reach for parallel only when the machine needs more speed, with the current set to match the connection. This walkthrough covers the wiring, the pull-up arithmetic, the controller-side stop logic, and the commissioning test that proves the whole chain before a real job runs on it.

What does a stepper driver's error output actually tell you? #

It tells you the driver has tripped: the output changes state when the driver enters an error, and the driver has already stopped its own axis by then, so the signal is a motion-stopped report for the controller rather than a command path.

In this class of driver the output is an open-collector transistor: it either conducts to its output terminal or floats, and it never produces a voltage of its own. Until something pulls the line up on the controller side, the wire carries no defined level, which is why an unconnected error input reads as noise or nothing at all. One wire, one bit of information: faulted or healthy. The trip cause lives on the driver itself, in its indicator LEDs and the manual's fault table, not on this wire.

The error line shares the driver's control connector with the step, direction and enable signals; What a stepper driver control connector needs from a PC covers what the rest of that connector carries.

Should error outputs kill the Enable inputs to stop every axis? #

No: a faulted driver has already stopped, so cutting Enable voltages adds nothing to that axis and teaches you nothing about which one stopped; wire each error output to its own controller input and let the controller stop the coordinated move.

Hardwiring a status into a command input inverts the relationship between two signals that should stay independent. Enable is a command the controller asserts on purpose; the error output is a status the driver reports. Tie them together and you lose the axis identity, you fight the controller's own enable management, and the controller still never learns why the job stopped.

There is a motion reason too. If a fault cuts the healthy axes' enables mid-move instead of letting the controller decelerate them, a stepper loses holding torque the instant its driver releases it, and a vertical axis can sag under load while the controller keeps streaming pulses to a machine that has stopped listening. The stop belongs in the controller because only the controller knows the motion state and can ramp every axis down under control. Keep the Enable inputs for their own jobs: releasing torque at standstill and locking the machine out during maintenance.

How do you wire an open-collector error output to a controller input? #

Give each error line its own controller input and a pull-up resistor to the input side's logic voltage: 2.2 kΩ to +5 V sinks about 2.3 mA (5 V ÷ 2200 Ω), a deliberately light load — confirm the output's documented sink rating before you build from it.

The recipe is the same one used to read any open-collector sensor into a controller input: connect the collector to the input pin, pull it up externally to the input's logic supply, or switch on the input's internal pull-up where the controller provides one. The details decide whether it works:

  1. Read the driver manual for three numbers before cutting wire: the error output's maximum pull-up voltage, its maximum sink current, and its active state — whether the transistor conducts while the driver is healthy or conducts once it has faulted. Everything downstream hangs on these three.
  2. Take the pull-up voltage from the input side, not the driver side. An optoisolated breakout-board or PLC input wants its own supply voltage — commonly 5 V, 12 V or 24 V — and its own common terminal, so return the error line through that input common rather than through the driver's power ground unless the documentation says they may share.
  3. Size the resistor from Ohm's law, R = V ÷ I. Worked example at 5 V logic: a logic input needs only a couple of milliamps, so target roughly 2 mA and R = 5 V ÷ 0.002 A = 2500 Ω; the nearest standard value, 2.2 kΩ, sinks 5 V ÷ 2200 Ω = 2.3 mA. That 2.3 mA is the load one faulted output must sink, so confirm it sits comfortably inside the sink rating from step 1.
  4. Land each driver's error output on its own input terminal and set that input's polarity to match the active state from step 1 — active-low when the transistor conducts on fault. If the controller shows the input asserted while every driver is healthy, the polarity setting is backwards.
  5. Write the result on the drawing: which input, which driver, active level, pull-up value. The next person who troubleshoots this machine inherits a note instead of a mystery.

Why give each axis its own error input instead of tying them together? #

Separate inputs keep the faulted-axis identity: one input per driver tells the controller exactly which axis stopped, while a shared wire can only say that something, somewhere, stopped.

Sharing is electrically possible — open collectors of the same active polarity can even share one pull-up — but a merged wire tells the controller only that some axis somewhere stopped. One input per driver lets the controller log the exact axis, sends the operator straight to the right driver, and keeps a single fault from masking a second one behind it. Spare inputs on a breakout board cost less than axis-hunting after a crash. Tie outputs together only where the driver documentation explicitly sanctions it and where identifying the faulted axis at the machine afterwards is an acceptable trade.

How do you make the controller stop coordinated motion on a fault? #

Configure the fault input as a stop condition in the controller's motion setup: when it asserts, halt every axis in the coordinated move, latch the stop until the fault is acknowledged, and never auto-restart into an unknown machine state.

Every motion platform names this differently, but the shape is the same: a general-purpose input mapped to a stop, abort or fault function, or a dedicated alarm input on a servo-style axis. Map each physical fault input to that function, set its polarity once, and give the function the three behaviors that matter: halt the coordinated move on every axis, latch until someone acknowledges, refuse automatic restart.

Doing this in software buys a controlled deceleration. The controller ramps every axis down along its own profile; a hardwired enable cut would instead drop one axis out of a moving coordination and leave the others chasing geometry that no longer exists. Axis setup has a working order, and Configuring a PLC pulse-output servo axis before PLS2 moves shows the sequence that keeps the stop logic from fighting the rest of the axis configuration.

Series or parallel first for an eight-wire stepper motor? #

Commission in series and keep it if the machine reaches its top speed: series runs the windings at the lower current setting — for the FL86STH156 and SY85STH156 motors that pairing is 3 A in series, 6 A in parallel — and parallel waits until the job needs the extra speed.

An eight-wire motor brings both windings of each phase out to the connector, so the finish you choose changes what the driver sees:

Connection Resistance per phase Inductance per phase Current setting Use it when
Series twice one winding four times one winding the winding rating — 3 A for the models above commissioning, and any job the speed already serves
Parallel half one winding one winding double the winding rating — 6 A for the models above the job needs more top speed or mechanical power

The 3 A series and 6 A parallel pair belongs to the FL86STH156 and SY85STH156 motors; any other eight-wire motor takes both currents from its own datasheet, and the driver has to be able to deliver the parallel figure — When a Stepper Driver Is Rated Below the Motor Current covers what happens when the drive cannot.

Copper loss comes out the same at each connection's own rated current: series dissipates I² × 2R, parallel dissipates (2I)² × R ÷ 2, and both equal 2I²R. A machine that runs hotter after reconnection is telling you the current setting no longer matches the connection, not that the wiring is doomed: set the current for the connection you built, and judge temperature with a contact probe against the datasheet's insulation-class limit instead of a fingertip.

How do you test the fault wiring before you trust a job to it? #

Prove the chain end to end before production: force each fault input active at the input terminal, confirm the controller shows that exact input, stops a commanded motion, and stays stopped until you acknowledge — then trust the wire, not the intention.

The input side needs no invented fault: park the axes, clear the work area, and short one fault input terminal to its input common — exactly what the driver's transistor does when it conducts. The controller should register that one input change, halt a commanded motion in a jog test, latch the stop, and release only on acknowledge. Repeat for every axis. On the driver side, use only the test or fault-injection procedures the manual documents; never provoke a trip by shorting power terminals or unplugging a motor under power.

Before moving winding links or any terminal, kill the supply, apply your lockout procedure, and wait out the discharge time the manual states for the drive's internal capacitors — off-line drivers hold charge after switch-off.

What is the final wiring and commissioning decision? #

Wire every error output to its own controller input with a pull-up sized for a couple of milliamps at the input's logic voltage, stop coordinated motion in the controller through a latched, acknowledged fault function, and run eight-wire motors in series first — parallel only for speed, at the parallel current.

That is the whole chain: the driver trips and stops its own axis, its open collector pulls one input low, the controller sees that input, ramps the coordinated move down, and latches until someone reads the driver's LEDs and clears the fault. Series windings at the series current carry the job until it asks for speed the series connection cannot deliver — then parallel, the parallel current, and the same fault test again. Every limit in the chain — pull-up voltage, sink current, winding current, insulation class — is a number on two datasheets: the driver's and the motor's.

Questions asked

Can several open-collector error outputs share one pull-up resistor?

Electrically yes, when the outputs share the same active polarity: open collectors tie naturally, any output that conducts pulls the shared line, and each transistor sinks only the pull-up current, not a sum of currents. Do it only if the driver documentation allows it, because the shared wire can no longer tell you which axis faulted.

What pull-up value works if the controller input is a 24 V PLC input?

Size it for the same few milliamps: 4.7 kΩ from +24 V sinks about 5.1 mA (24 ÷ 4700), and 8.2 kΩ sinks about 2.9 mA. Use 24 V only after the driver datasheet lists it within the error output's maximum pull-up voltage — many open-collector outputs are limited to well below that, and then the input needs an interposing relay or a low-voltage interface instead.

Does the error output say what caused the trip?

No — the wire carries one bit: faulted or healthy. The cause lives on the driver itself, in indicator LEDs or a small fault-code display, and the manual's fault table maps each indication to its cause, such as over-current, over-voltage or a position-loss error. Read the cause at the driver, and use the error wire to tell the controller and the operator which axis stopped.

How hot is too hot for a stepper motor on one of these drives?

The limit is the winding insulation class, not feel: class B windings are rated 130 °C and class F 155 °C (IEC 60085), and the motor datasheet states the class and the permitted temperature rise. Steppers draw rated current at standstill, so a case too hot to rest a hand on can still be normal. Measure with a contact probe near the winding, and treat a water drop boiling as roughly 100 °C at that spot — information, not a pass.

Keep reading

  • Explainer

    What a Stepper Driver Control Connector Needs From a PC

    A PC can drive a stepper driver's control inputs only when the step and direction signals meet the driver's documented input voltage and current, and the current-select inputs are grounded or pulled high to match the motor's rated current before power-up. Buffer the PC outputs whenever their levels or drive current are uncertain.

    Servo and stepper motion

  • Troubleshooting

    Why a Mach3 parallel port PCI card outputs no step pulses

    The screen moves because Mach3 generates step pulses with a kernel driver that is separate from the GUI. On 64-bit Windows that driver cannot drive the port at all; on 32-bit, Port #1 must hold the PCI card's I/O base address from Device Manager, and the card's logic level must meet the breakout board's input threshold.

    Servo and stepper motion

  • Explainer

    Why differential stepper drive inputs map straight to axis outputs

    The CW+/CW-/CCW+/CCW- terminal set is two opto-isolated inputs: the CW pair carries step pulses and the CCW pair carries direction, and each is just an optocoupler LED that responds to current, not to wiring style. A differential controller therefore wires straight across, S+ to CW+, S- to CW-, D+ to CCW+, D- to CCW-, with no receiver module; the old common feed belonged to the old controller's single-ended outputs, not to the drive.

    Servo and stepper motion