Explainer
Pull-up resistor sizing for a servo drive fault output
Short answer
An active-low servo fault output needs a pull-up resistor from the controller input to its supply. At 24 V, keep the resistor at or above 2.4 kΩ so a 1/4 W part stays within rating; 5.6 kΩ is a commonly documented value, dissipating about 0.10 W. Set the encoder-count alarm as allowed mechanical deviation times counts per millimeter, then verify it against deviation measured during normal moves.

On this page
- What does active low mean on a servo drive fault output?
- Do I need a pull-up resistor on the fault output?
- What pull-up resistor value should I use?
- How small can a 1/4 watt pull-up resistor be on 24 volts?
- How many encoder counts should trip the deviation alarm?
- How do you prove the fault wiring before the machine depends on it?
- Questions asked
Connecting a servo drive's alarm output to a controller raises two numbers at once: the pull-up resistor the active-low output needs and the encoder-count threshold that trips the alarm. The resistor is arithmetic, not a guess: at 24 V, a 1/4 W part must be 2.4 kΩ or larger, and the values controller vendors document for this class of input sit well inside that limit. The count threshold comes from your machine: allowed position deviation in millimeters times the drive's counts per millimeter, set above the deviation you measure during normal moves. Both calculations are worked below, with the bench test that proves the fault actually reaches the controller before the machine depends on it.
What does active low mean on a servo drive fault output? #
Active low means the alarm output conducts to its common terminal while the drive has a fault and floats while it is healthy, so the controller input reads a low level only in the fault state and needs a pull-up resistor to see the healthy high.
On drives wired this way the fault output is an open-collector transistor to the drive's signal common: it can sink current out of your circuit but cannot source any into it. The wiring drawing announces the arrangement in one word, active low, and usually shows a resistor symbol beside the output. Transistor off, no fault: the resistor pulls the controller input up to the input supply. Fault latched, transistor on: the same node is pulled down to common, and the low the controller sees is the fault.
input supply (+) --/\/\--+------ controller input terminal
(pull-up resistor) |
drive alarm output |
(open collector) |
drive signal common -----+
This current direction is the same convention question that decides sensor wiring, and the article on why a PNP proximity switch does not fit an active-low input works through sinking and sourcing at input terminals in detail. Read the drive drawing before choosing anything: active low with an external resistor symbol means the pull-up is yours to supply.
Do I need a pull-up resistor on the fault output? #
Yes when the drive drawing shows the alarm output as an open collector with no internal pull-up: the transistor can only pull the line down to common, so the resistor from the input node to the positive supply is what creates the healthy high the controller reads.
Leave that input floating and it sits at an undefined level, drifting with machine noise; the controller then logs phantom faults, or worse, never registers the real one. Two documents settle the question. The drive drawing says whether the output is a bare open collector, which needs your resistor, or carries its pull-up internally, which does not. The controller wiring guide says whether the input terminal already provides a pull-up of its own; where the controller documents one, no external resistor goes on top of it.
Decision: if the drive drawing shows the resistor outside the drive, fit it. A floating alarm input is not a wiring style; it is a fault waiting to be misread.
What pull-up resistor value should I use? #
Use the value your controller's wiring documentation names for its inputs; for this class of optically isolated sink input the value most often documented is 5.6 kΩ, and any standard value from 2.4 kΩ up to 10 kΩ works electrically.
The value is squeezed from two sides. Too large and too little current flows for the input to register; most optically isolated inputs need only a few milliamps to switch, which is a rule of thumb, because the controller manual states its own input current. Too small and the resistor runs hot, which is the limit the next section puts a number on. At the documented value the fault transistor sinks 4.3 mA when it asserts (24 V / 5.6 kΩ = 4.3 mA), comfortably inside what this class of output sinks and above what this class of input needs. One habit is worth breaking here: a resistor chosen for a 5 V logic board is not automatically safe on an industrial input, because current and dissipation both scale with the supply.
Decision: fit the commonly documented value unless your controller's wiring guide names a value of its own, and where the guide gives a number, the guide wins over any general recommendation, this one included.
How small can a 1/4 watt pull-up resistor be on 24 volts? #
A 1/4 W pull-up at 24 V must be at least 2304 Ω — R = V²/P = 576/0.25 — so the smallest standard value inside the limit is 2.4 kΩ, which dissipates 0.24 W, while 470 Ω reaches about 1.23 W and overloads the part five times over.
The arithmetic assumes the resistor can sit at the full supply voltage continuously, and it can: a latched fault holds the output transistor on for as long as the fault persists, so this is continuous duty, not a pulse. The 470 Ω habit comes from 5 V logic boards, where the same resistor sinks 10.6 mA and dissipates 0.053 W. Dissipation rises with the square of the voltage, and this supply is nearly five times logic level, so that little resistor works roughly twenty-three times harder here. The floor moves with the arithmetic, not with habit: on a 12 V supply the same part is good down to 576 Ω (144/0.25), and on 5 V down to 100 Ω, though at those currents the drive output's own sink rating binds long before the wattage does.
| Pull-up resistor | Sink current at 24 V | Dissipation at 24 V | Verdict with a 1/4 W part |
|---|---|---|---|
| 470 Ω | 51 mA | 1.23 W | Five times the rating, do not fit |
| 2.4 kΩ | 10 mA | 0.24 W | Inside the rating with no margin |
| 5.6 kΩ | 4.3 mA | 0.10 W | The commonly documented value, comfortable margin |
| 10 kΩ | 2.4 mA | 0.058 W | Legal, but check the input still registers at that current |
Two checks finish the sizing. The drive documentation states a maximum sink current for the alarm output; at the floor value the output sinks 10 mA, and that must sit under the drive's stated limit. And a part at the floor runs at 96 percent of its rating, legal but with nothing in reserve, which is the practical reason the commonly documented value sits where it does.
Decision: treat the smallest standard value above the resistance the power arithmetic gives as an absolute floor, and prefer the commonly documented value, which keeps the part near 40 percent of rating.
How many encoder counts should trip the deviation alarm? #
Set the threshold in counts as your allowed mechanical deviation in millimeters times the drive's counts per millimeter — for a router axis allowed 0.1 mm of error with 2000 counts per millimeter, that is 200 counts — and confirm the deviation measured during normal moves sits well below that number.
A count value copied from another machine means nothing, because that machine's encoder scaling turns the same count into a different position error. Build the number instead, in three steps.
- Counts per millimeter from the mechanics. Take the encoder scaling from the drive manual for the encoder fitted; the example uses 10000 counts per revolution. The ball screw has a 5 mm pitch and the motor drives it direct, so counts per revolution divided by millimeters per revolution gives 10000 / 5 = 2000 counts per millimeter.
- Allowed deviation from the process. Decide what position error the machine tolerates before work is spoiled or a crash begins; the example router is allowed 0.1 mm.
- Threshold, then the reality check. 0.1 mm × 2000 counts per millimeter = 200 counts. Jog the axis through its fastest normal moves and read the peak deviation on the drive's monitor; suppose the worst this example axis shows is 40 counts during hard acceleration. The threshold then sits five times above the measured peak, so hard moves will not nuisance-trip it while a genuine loss of position still trips early. A practical rule of thumb keeps the threshold at least three to five times the measured normal peak, and never below it.
On a rotary axis the same arithmetic runs in counts per degree instead, and the article on setting gear ratio for degree moves on a rotary servo axis shows how that scaling is derived from the mechanics. If the axis trips during moves after the threshold is set, the guide to troubleshooting a servo axis that faults mid-move separates a real loss of position from tuning and noise causes before you widen the alarm.
Decision: your allowed deviation times your counts per millimeter is the threshold — 200 counts for the example axis — trimmed so it stays a few times above the peak you measured on your own machine.
How do you prove the fault wiring before the machine depends on it? #
Wire the pull-up from the controller input terminal to the controller's input supply, join the drive's signal common to the controller's input common, then force a real but harmless alarm at the drive on the bench and watch the controller log it before the machine ever runs.
- From the drive wiring drawing, name the alarm output terminal, the signal common, and whether the drawing shows the pull-up outside the drive; active low tells you it does.
- From the controller wiring guide, name the input terminal, the supply that feeds it, and its rated input voltage and current. The pull-up goes to that supply, not to whichever rail is nearest.
- Fit the resistor between the controller input terminal and the positive input supply, and join the drive's signal common to the controller's input common.
- Power up with the drive healthy and measure at the controller input: it should read near the supply level, which proves the pull-up path end to end.
- Force a harmless alarm with the motor uncoupled and no move commanded: pulling the encoder cable with the drive powered is the usual bench method, and the drive trips its encoder alarm at once. The controller input must drop low and the controller must log the servo fault.
- Clear the alarm, confirm the input returns high, and write the resistor value and the terminals into the machine's build notes.
Prove alarms at the bench with the motor uncoupled from the load, never by creating a real overtravel on the assembled machine; and keep in mind the alarm output is a machine function, not a safety function, so the guarded stop stays with the safety circuit the machine's risk assessment calls for.
Decision: the fault interface is proven when the controller logs the alarm on assert and clears it on release; until that cycle has happened once, the wiring is untested however well the drawing reads.
Questions asked
Why does my controller report a servo fault when the drive itself shows none?
That is the signature of a floating input: with no pull-up fitted, the input sits at an undefined level and drifts with noise, so faults appear at random or never at all. Check in this order: the resistor is actually fitted and is the intended value, the drive signal common and the controller input common are joined, and any input polarity setting in the controller matches an active-low alarm.
Can two alarm outputs share one pull-up resistor?
No. Each controller input needs its own resistor. A shared resistor ties the two signal nodes together, so one drive asserting its alarm drags the other input down with it and the controller cannot tell which axis faulted. The sink currents also add inside the resistor, and two outputs pulling together can push it past what one output was sized for.
What power rating should the pull-up resistor have?
At the commonly documented 5.6 kΩ the dissipation is about 0.10 W, so a 1/4 W part runs near 40 percent of rating and stays cool. At the smallest usable value a 1/4 W part sits within a few percent of its limit, so fit 1/2 W there. The rule is voltage squared divided by resistance, then buy the next rating up.
Why is the deviation alarm set in encoder counts rather than millimeters?
Because the drive's position loop never sees millimeters: it compares the commanded-position counter against the encoder-feedback counter, both in raw counts, and the deviation monitor simply subtracts one from the other. The conversion to mechanical distance lives in your scaling numbers, so the threshold must be expressed in the same counts the drive counts.