Troubleshooting
Servo Position Counts Up While the Motor Is Stationary
Short answer
Counts that rise while the motor shaft is held still are false feedback counts, not motion. Compare the controller's tell-position reading against the drive's rotor-position display: a drive value steady within 1 count while the controller climbs condemns the simulated-encoder path. Isolate the encoder output, cable, breakout and counting input by substitution, one part at a time, cheapest check first.

On this page
- What this signature looks like
- Why this is false feedback, not motion
- Query the controller before trusting the screen
- The feedback path the fault lives in
- Causes to check, cheapest first
- Example: converting a 15 ft/min indicated runaway into inches per second
- Confirm the part by substitution, then re-verify
- The decision, case by case
- Questions asked
A position readout that climbs while the motor shaft sits still is false feedback, not motion and not a tuning problem. In the case behind this article the drive reported zero speed and the shaft felt still, yet the controller counted the axis up at a steady several inches per second. The proof is a two-reading comparison: the controller's tell-position value against the drive's own rotor-position display. A drive value steady within 1 count while the controller climbs condemns the simulated-encoder path between the drive and the controller: the drive's encoder output, the cable, the breakout and the controller's counting input. Isolate that path by substitution, one part at a time. In the genuine runaway faults — why a servo axis runs away during tuning and why a servo axis runs away at high feed rates — the drive's speed display climbs with the controller's count. Here it does not, and that difference is the whole diagnosis.
What this signature looks like #
Before touching a gain, verify each observation separately. This fault shows a fixed pattern:
- The shaft does not move. A hand on the motor feels nothing, and the drive's speed display reads zero while the controller's position climbs.
- The drive's own position measure is steady. The rotor-position display on the drive held within 1 count through every test, so the feedback between the motor and the drive was healthy.
- The count rises in both rotation directions. With the drive disabled, turning the shaft slowly one way raises the count, and turning it back through the start keeps the count rising instead of reversing sign.
- Counting follows drive power, not enable. Disconnecting the enable stopped the shaft but not the count; removing drive power stopped the count. The pulse source is the drive's powered output circuitry, not commanded motion.
- The readout jumps once at drive power-up. In this case the display leapt about 0.4 inches when mains reached the drive, before the axis was ever enabled.
- The loop chases the counts. The controller's position error matched its position almost exactly: the controller believes the counts are real travel and winds its command to follow them.
- Enabled, the fault moves the motor for real. With the drive enabled the command output swung between 0 and 5 volts and the shaft turned; disabled, the same output sat at 0 volts while the count kept climbing.
Why this is false feedback, not motion #
Three independent measures agree the shaft is still: your hand on it, the drive's speed display and the drive's rotor-position display. Only the controller's count climbs. The fault therefore lives in the path that only that count travels — from the drive's simulated-encoder output, through the cable and the breakout, into the controller's encoder input. Nothing upstream of the drive's own measurement can be wrong, because the drive's reading of the rotor is the one value that holds.
Quadrature logic explains the both-directions signature. A healthy encoder input counts up for one direction and down for the other, so a count that rises whichever way the shaft turns means corrupted direction information, spurious edges, or both. The controller's counting input registers every edge it receives — the same edge-counting exposure described in counting encoder pulses on a PLC without losing position — so nothing in the controller can reject pulses the drive's output stage should never have sent.
This is also why re-checking resolver phasing and re-running the drive's startup procedure will not fix it: those steps verify the drive's own feedback, which is already the proven-healthy path. A re-tune that seems to work and then fails again is the expected course of this fault, not progress.
Query the controller before trusting the screen #
Query the motion controller directly from its terminal instead of through the operator interface, so the test does not depend on the interface's display logic. The controller in this case answers two queries that matter: tell position (TP), which returns the counted position, and tell error (TE), which returns commanded position minus actual position.
- Disable the drive and read the position. At startup in this case TP returned 0, a fixed starting value for the test.
- Keep the drive disabled and rotate the shaft slowly by hand in one direction. The count must rise.
- Reverse the shaft back through the starting point. The count must fall back through that starting value; a count that keeps rising through the reversal is already false.
- Stop the shaft and keep polling. Any climb that continues while the shaft is held is false feedback, whatever its rate.
- Read the drive's rotor-position display at the same moments. A steady drive value beside a climbing controller value places the fault downstream of the drive's measurement, in the simulated-encoder output, the cable, the breakout or the controller input.
The polling interval is your choice; any repeated query that shows the climb will do.
The feedback path the fault lives in #
The motor carried a resolver connected to the drive. The drive re-transmitted the measured position as simulated quadrature on its encoder output port, and the controller counted those pulses as the axis position. Differential wiring of this kind carries each channel on its own pair of wires that reference each other, 180 degrees out of phase, and the case wired the A and B pairs that way from the drive's encoder output connector to the breakout.
The temporary feedback run in the case was about 7 to 8 feet of unshielded CAT5, with a shielded replacement planned. The wiring also tied the drive's C output to +5 V and its C- terminal to ground; after the drive was replaced, removing that +5 V connection changed nothing while the ground connection stayed. Treat that as a case observation, not a wiring instruction: verify the supply, common and marker connections against the documentation for the installed drive and breakout before energizing them.
A continuity and cross-continuity check on the unpowered cable passed, and the fault remained. That result matters: a bench test with everything powered down proves the copper — opens, shorts, crossed conductors — but cannot prove the powered output stage produces valid edges. The same powered-versus-unpowered distinction that ESD testing of powered versus unpowered devices is built on applies here: hardware that behaves as passive copper on a dead bench can misbehave as a live transmitter in the cabinet.
Causes to check, cheapest first #
Work down the list in order; each step carries a confirming check that clears it or convicts it.
- The operator interface's display. Query the controller natively. If the native query climbs too, the screen was faithfully reporting false counts and is innocent.
- Real shaft motion. A hand on the shaft, plus the drive's speed and rotor-position displays. Zero speed and a steady rotor position mean the shaft is not moving and tuning is irrelevant.
- Cable routing, shielding and termination. Compare the run against the wiring drawing: unshielded cable beside motor power, a shield left unlanded, crossed or broken pairs, backed-out connector pins. A continuity and cross-continuity test clears opens, shorts and crossed conductors; a pass does not clear the powered transmitter.
- The breakout or the controller's encoder input. Feed a known-good source into the same input, or move the suspect cable to a spare input. A fault that follows the cable and not the channel spares the controller; one that follows the channel convicts the input or the breakout.
- The drive's simulated-encoder output. Substitute a known drive with identical settings and change nothing else. In this case the replacement produced smooth counts in both directions immediately, which condemned the original drive's encoder output port.
- Electrical noise. Confirm it only by elimination or by correlation, such as counting that starts when another machine or contactor closes, and fix it with routing, a shielded cable and grounding practice. In this case noise stayed a hypothesis; the substituted drive was the confirmed cause.
Example: converting a 15 ft/min indicated runaway into inches per second #
Inputs: an indicated travel rate of 15 ft/minute on the operator interface's position display, read while the shaft was held still and the drive reported zero speed (a case observation); and the conversion constants 12 inches per foot and 60 seconds per minute.
Rule in words: multiply the feet-per-minute rate by 12 to get inches per minute, then divide by 60 to get inches per second.
Arithmetic: 15 ft/minute × 12 inches/foot = 180 inches/minute. 180 inches/minute ÷ 60 seconds/minute = 3 inches/second.
Result: 3 inches per second, which matches the case's other observation of a few inches every second or two. The display was tracking its pulse input faithfully; the fault sat upstream of it. This is a calculated example from the case's own inputs, not a measured machine result.
Decision: a display that renders false pulses accurately exonerates nothing — it is still lying about the shaft. The threshold is binary: any continuous climb while the held shaft and the drive's rotor-position display both say stationary is false feedback, whether the arithmetic lands at 3 inches per second or 3 inches per hour. At that point stop tuning and start substituting the feedback path, cheapest step first.
Confirm the part by substitution, then re-verify #
Substitute one element at a time with an identical known-good or independently tested unit, and change nothing else between trials, or the result proves nothing. Lock out and verify the absence of the drive's mains voltage before opening the cabinet or swapping the drive; in this case that was a 480 VAC supply. The case's substitution carried the drive settings across on its transportable memory module, so the trial changed only the drive itself.
The replacement produced smooth bidirectional counts immediately, condemning the original drive's simulated-encoder output. Complete the repair with the drive disabled: the stationary count stays fixed, hand rotation counts up one way and down the other and returns through the starting value, and the controller's counted direction agrees with the physical direction. Enable under controlled conditions, and configure following-error detection and the amplifier-disable response before normal motion so a genuine loss of feedback stops the axis before excessive travel.
The decision, case by case #
- Drive rotor position steady within 1 count, controller climbing, counting stops when drive power is removed: false counts in the simulated-encoder path. Do not tune. Work the cheapest-first list: native query, cable inspection and continuity, input or breakout swap, then drive substitution.
- Count rises in both rotation directions: direction information or pulse edges are corrupted somewhere in the same path; check pair termination and routing, then substitute as above.
- Drive speed display climbs with the controller's count: the shaft really moves, which is a genuine runaway and a different article's problem.
One pair of readings settles it: tell position against the drive's rotor-position display. Everything after that is substitution.
Questions asked
Why does the position count rise in both rotation directions?
A healthy quadrature input counts up for one direction of rotation and down for the other, and the count must fall back through the starting value when the shaft returns. When both directions produce rising counts, the direction information or the pulses themselves are corrupted. That signature sits in the drive's simulated-encoder output, its cable or the controller's receiver, not in tuning, phasing or gain settings.
How often should the controller be polled during this test?
In the case behind this article, a scripted timer issued the tell-position query every 100 milliseconds, and that exposed the climb immediately. Treat that interval as a diagnostic choice from that case, not a requirement. Any repeated query shows the fault: what matters is that the shaft is held, the drive reports zero speed, and the count keeps rising anyway.
The readout jumped once at power-up and then sat still. Is that the same fault?
No. A single jump followed by a stable count is a one-time event: re-zero the position after drive power is applied and watch it under hold. The fault in this article is a continuous climb. If the climb starts when drive power is applied and stops the moment drive power is removed, the pulse source is the drive's powered output stage, which is exactly what substitution must chase.
Where would electrical noise enter this wiring?
Common entries are a feedback run routed beside motor power leads, a shield left unlanded or landed at both ends across different ground potentials, and connector terminations that break the pair layout the differential receiver expects. Differential A and B wiring, with each channel carried on its own pair 180 degrees out of phase, rejects common-mode noise that a single-ended run would count. Noise stays a hypothesis until substitution confirms or clears it.
