Troubleshooting
Servo error counter overflow alarm: check torque saturation first
Short answer
An error counter overflow alarm — alarm 29 on the drive family that numbers it that way — means the position error counter passed 134217728 counts, so the motor stopped following the command. Check the torque monitor first: output torque saturated at the limit points at the torque limit set-up, Pr5E on that family, or at a load the motor cannot move; torque below the limit points at the command pulses, the encoder wiring or the gains.

On this page
- What does an error counter overflow alarm on a servo drive mean?
- How much following error does it take to trip the alarm?
- Why check torque saturation before the gains?
- How do I run the checks in order?
- What if the output torque never reaches the limit?
- How high can I set the torque limit parameter?
- How do I verify the fix and keep the alarm away?
- Questions asked
An error counter overflow alarm means the drive's position error counter — the running difference between the commanded position and the position the encoder reports — has passed its allowable range, and the drive has stopped the motor. On the drive family that displays this fault as alarm 29, the counter ceiling is 2 to the 27th power, 134217728 counts, and that figure is so large that no axis drifts into it: either the motor stopped following while the command kept arriving, or the feedback is wrong. So check torque saturation before anything else. Output torque held at the torque limit points at the torque limit set-up, Pr5E on that family, or at a load the motor cannot move; torque well below the limit points at the command pulses, the encoder wiring or the gains.
What does an error counter overflow alarm on a servo drive mean? #
It means the drive's position error counter, the running difference between commanded and encoder-fed position, has passed its allowable range — 134217728 counts on the drive family that reports this fault — and the drive has stopped the motor. Every servo update compares where the axis was commanded to be with where the encoder says it is; while the axis follows, that difference stays small. When the motor stalls, the feedback freezes while the command keeps counting, the difference grows, and the counter overflows. The display text on the family this procedure comes from reads "Error counter over flow".
Two other alarms get mistaken for it. The absolute encoder counter overflow alarm on a servo drive is about the encoder's stored multi-turn count and travel range, not about following error. A drive that trips a following-error threshold during motion, as in a servo axis that faults mid move, is reporting a tuned, far smaller limit; the counter overflow is the hard ceiling behind it.
How much following error does it take to trip the alarm? #
The trip point on this drive family is 134217728 counts, which is 2 to the 27th power; with an example encoder of 17 bits, 131072 counts per revolution, that equals 1024 motor revolutions of accumulated error, far beyond any real axis travel. Treat the following as a calculated example for stated inputs, not a measurement, with an example ballscrew of 5 mm lead:
- Overflow level ÷ counts per revolution = 134217728 ÷ 131072 = 1024 motor revolutions.
- Lost travel at the screw = 1024 × 5 mm = 5120 mm, several times the stroke of almost any axis, so the trip means the motor stopped following outright, not that it lagged slightly.
- Time to trip from zero error, motor fully stalled, command at an example 3000 rpm: 3000 ÷ 60 = 50 revolutions per second; 50 × 131072 = 6553600 counts per second; overflow level ÷ 6553600 ≈ 20.5 s.
So a healthy axis never sees this alarm by drifting; it sees it when the motor stalls with the command still running, or immediately when the feedback is disconnected or miscounted. One cheap check belongs here too: some drive families make the overflow level itself a parameter, and one family's alarm table lists an incorrect setting of the position error pulse overflow alarm level, parameter Pn505, as a direct cause. If your manual shows a level parameter, read it against the manual's value before touching torque or gains.
Why check torque saturation before the gains? #
Because an error that reaches the counter's ceiling almost always means the motor physically stopped keeping up, and the torque monitor settles that in one move: flat at the limit points at the setting or the load, well below it points at command or feedback. If output torque saturates, the position loop never had the torque to close the gap, and readjusting gains only demands torque the drive will not deliver — the axis buzzes against the ceiling while the counter keeps growing. When the monitor saturates, work these causes, cheapest check first:
- Torque limit set too low. The torque limit set-up on the family this procedure comes from is Pr5E. Confirm by reading the parameter against the range the drive manual states and against the value the axis was commissioned with.
- Holding brake not releasing. Confirm by measuring the release voltage at the brake connector during the move.
- Mechanical bind. A worn screw, a jammed way cover, a seized coupling. Confirm by turning the mechanism by hand with power off and the brake released as its own manual describes. An axis stopped by this alarm can be holding a load — a lifted platen, a counterweight — so block or release it under the machine's risk assessment and your lockout/tagout procedure (OSHA 1910.147 in the US) before you touch it.
- Motor too small for the move. Confirm by comparing the torque the monitor shows during the attempt with the motor's peak torque from its datasheet.
How do I run the checks in order? #
Work down this list and stop at the first step that fails: note how the alarm presents, watch the torque monitor through the faulting move, read the torque limit setting, hand-check the mechanism, jog from the drive itself, then correct encoder wiring and readjust the gains last.
- Reset the alarm per the drive manual's troubleshooting chapter — reset or power-cycle — and note whether it trips at move start or a fixed time into the move.
- Run the faulting move and watch the torque monitor. Saturated takes you to step 3; torque well below the limit takes you to step 5.
- Read Pr5E against the drive manual's stated range. Below the documented maximum: raise it to that maximum and repeat the move.
- Still saturated at the maximum: the parameter is not the problem. Power down and chase the load fault from the list above — brake release voltage first, then the hand-turn check.
- Not saturated: jog from the drive's own panel or tool, so the command originates in the drive. Clean in jog but alarming in normal run puts the fault in the command pulses from the host controller — pulse train, sign of direction, enable timing. Alarming in jog too moves you to the feedback.
- Correct the encoder wiring against the drive's wiring diagram: continuity on each channel, seated connectors, shield terminated the way the diagram shows. The isolation sequence in a servo drive encoder phase alarm: isolate wiring, encoder or drive applies here too.
- Readjust the gains last, following the drive's tuning procedure; for the full method with following error visible on a pulse-commanded axis, see a servo tuning walkthrough on DAC range, PID gains and following error.
What if the output torque never reaches the limit? #
Then the drive had torque to spare and the error still grew, so the command or the feedback is at fault: confirm the motor follows the position command pulses, correct the encoder wiring against the wiring diagram, and readjust the gains only after both are clean. Split it by what the motor does. Shaft not turning, torque near zero: the drive is not being asked to move — the pulses are not arriving, the enable or direction sign is wrong, or the drive sits in the wrong control mode; the jog test in step 5 separates drive from controller. Motor turning while the counter still climbs: the counted feedback does not match real motion, so look for a miswired or noisy encoder channel, an unseated connector or a broken shield before anything else.
Gains come last for a reason you can test: on a correctly wired axis, tuning produces following errors of hundreds or thousands of counts, nowhere near the counter's ceiling. The faults gains actually cause are the tuned ones, like the mid-move following-error fault covered earlier. If the wiring is clean, the torque has margin and the counter still overflows, chase intermittent feedback loss — a flexing cable, a connector, noise on the lines — not the loop tuning.
How high can I set the torque limit parameter? #
Set it to the documented maximum for your motor and drive pair and no higher: on this drive family the torque limit set-up is Pr5E, and its ceiling comes from the drive manual and the motor's peak torque, never from the alarm you are trying to silence. If the parameter sits below the manual's maximum, raise it to the maximum and rerun the move — that is what the family's corrective procedure means by maximizing it, and it clears the alarm whenever the limit itself was the fault. If it already sits at the maximum and the torque still saturates, there is no setting left to try: the load exceeds what the motor and drive can give, and the fix is mechanical — brake, bind, alignment — or a longer, gentler move. Sustained running at the limit drives the motor and the drive toward their thermal limit, and the next stop is an overload trip, which why a servo drive trips an overload alarm mid cycle covers.
How do I verify the fix and keep the alarm away? #
Repeat the exact move that tripped the alarm and confirm three things in one run: the motor follows the position command pulses, the torque monitor stays below the limit through the whole profile, and the overflow alarm does not return. Run the worst case, not the average one — the fastest traverse and the heaviest load the cycle asks for, usually the acceleration peak. Leave headroom on the monitor; as a rule of thumb, keep the cycle's peak demand below about 80% of the torque limit so normal variation never grazes the ceiling. Record the final torque limit value, the monitor reading and what the fault turned out to be in the machine's maintenance notes, so the next occurrence starts from evidence instead of a reset.
The decision, by case:
- Torque saturated with the limit below the documented maximum: raise the limit to the maximum — a settings fault, cleared in one move.
- Torque saturated at the maximum: a load fault — brake, bind or sizing; fix the mechanism or the move, not the parameter.
- Torque with margin and the shaft silent: a command fault — pulse train, enable, direction sign or control mode.
- Torque with margin and the counter climbing: a feedback fault — wiring, connector or noise; gains come after, never before.
Questions asked
Does resetting the alarm clear the fault?
No. A reset or a power cycle only restarts the error counter from zero; the cause is still there, so the alarm returns after roughly the same running time. Use that interval as evidence: a repeatable time to trip points to a fixed stall or a torque limit set too low, while an interval that keeps shortening points to a mechanical bind that is getting worse.
Why did the alarm trip right at the start of a move?
Either the counter was already near its ceiling from the previous fault, or the feedback disagrees with the command from the first pulse. Reset using the drive's documented reset, confirm the position error reads near zero at standstill on the drive's monitor, then jog. A counter that climbs while the shaft is not moving points to feedback noise or a wrong encoder channel, not to torque.
Is the error counter overflow alarm a safety function?
No. It is a monitoring trip that stops the drive; it is not a guard and not a safe stop. The machine's risk assessment decides how the axis must be brought to rest and held after such a stop, and an axis that lifts or suspends a load needs its brake or counterbalance checked before the cycle restarts.
Will a higher torque limit damage the mechanics?
It removes margin, because couplings, keys and screws are sized around the torque the drive can deliver. At the documented maximum the drive can apply the motor's peak torque, so a hard bind at that setting will stall the motor and load the transmission instead of protecting it. Raise the limit to clear a settings fault, never to push through a bind.
