AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a servo axis reverses after a jog stop

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

Short answer

Measure the analog command at the drive input during the jog stop. A command that swings to the reverse polarity means the control commands the reversal: tune the stop, not the hardware. A command holding at zero volts while the shaft reverses means the replacement drive and motor create it: check polarity hookup, phase order, commutation and tuning, mechanics last.

On this page
  1. What the symptom already tells you
  2. Make the test safe, then measure the command
  3. A worked example that assigns the blame
  4. Branch one: the command swings reverse
  5. Branch two: the command holds at zero
  6. Branch two causes, cheapest check first
  7. Accept the fix only after this
  8. Questions asked

An axis that reverses after a jog stop is being driven backward by something, and the analog command tells you which something. Measure the command directly at the drive input through the stop. A command that swings to the reverse polarity means the control commands the reversal, and the fix lives in the stop path: the decel ramp, the position loop, the stop configuration. A command that holds at zero volts while the shaft still turns backward means the freshly replaced drive and motor create the motion, and the check order is command polarity, feedback polarity, phase hookup, commutation setup, tuning, mechanics. After a motor and drive swap this symptom points at the replacement hardware first, because the old pair stopped cleanly. One measurement sorts it.

What the symptom already tells you #

The reported case: one axis (motor 2) on a CNC control, servo motor and drive both replaced, the axis running in analog command mode, and one parameter changed at the terminal during the swap. Handwheel (MPG) motion looks normal in both directions. Jog motion on the F5 and F6 keys runs correctly, and then at the stop the motor turns roughly half to one motor revolution the opposite way.

Read those facts for what they prove. Normal handwheel motion shows the drive makes torque and follows a speed command in both directions; it proves nothing about the stop, because handwheel motion never runs the decel ramp, the zero-volt handover, or the drive's behavior near zero speed. Half to one motor revolution is also far too large to be noise or drift: that is a driven move, with torque behind it. The fault is mode-specific, so it lives in the jog-stop path, and the first measurement is the command during a jog stop, not another handwheel test.

Make the test safe, then measure the command #

Before reproducing the fault, clear the travel path in both directions, jog at reduced speed, and keep the stop control in reach. A jog stop is normally a controlled stop with power retained, stop category 2 under IEC 60204-1, and an axis that can move the wrong way belongs in the machine's risk assessment.

Put a scope or a fast meter across the drive's analog command input terminals, trigger on jog release, and record the command alongside shaft direction. A second channel on the encoder output, or a phone video of the shaft, works. Watch four events: acceleration, jog release, the reversal, and rest. Repeat the stop in both jog directions and, for comparison, once under handwheel motion. Then read the drive's command scale, the volts-to-speed ratio stated in its command configuration or manual; the worked example below shows why that number decides the diagnosis.

A worked example that assigns the blame #

Example inputs: the command scale is 10 V for 3000 rpm (an example value, take yours from the drive's documentation), the measured command swings to -0.6 V at jog release and returns to zero after 0.25 s, and the observed reverse travel is 0.75 motor revolution, mid-range of the reported half-to-one-turn symptom.

  • Commanded reverse speed: 3000 rpm x (0.6 V / 10 V) = 180 rpm = 3.0 rev/s
  • Commanded reverse travel: 3.0 rev/s x 0.25 s = 0.75 motor rev

The command explains the entire observed reversal, so the control is driving the axis backward: branch one. The counter-case: the command reads 0.00 V with +/-0.01 V of noise, and the shaft still turns half a revolution. Worst case, that noise commands 3000 rpm x (0.01 V / 10 V) = 3 rpm = 0.05 rev/s, so over the same 0.25 s it moves 0.0125 motor rev, about one-eightieth of a turn and roughly forty times less than observed. Nothing on the control side explains that motion: branch two, and the replacement drive and motor own it.

At the load, 0.75 motor rev is 3.75 mm on a direct-coupled 5 mm pitch screw, or 1.25 mm through a 3:1 belt reduction. These are calculated examples for the stated inputs, not measured results; scale them to your screw pitch and ratio.

Branch one: the command swings reverse #

When the command crosses zero and drives the reverse direction before settling back, the axis is obeying orders. Three things order a reverse push at a jog stop:

  • Overshoot correction. The axis carried a large following error into the stop, passed the commanded position, and the position loop pulled it back. A pull-back of half a turn or more means the error was huge, typical of low position gain after a motor swap or a decel ramp shorter than the loop can follow. That is the same family as standstill hunting; the checks in why a servo axis hunts at standstill after tuning apply here.
  • A stop-path setting that injects a reverse command. An in-position or zero-clamp window configured for the old drive hands over badly to the new one.
  • A parameter changed during the retrofit. Record the original value and the current value of anything changed at the terminal, I230 in the reported case, and verify its definition in the manual for the installed revision before changing it again; the symptom alone does not define a parameter.

Fix path: compare the axis settings with an unaffected axis on the same control, equivalent settings only; lengthen the jog decel; retune the position loop for the new motor inertia. Whether a replacement motor needs retuning at all is its own decision, and do you need to retune after replacing a servo motor walks through it.

Branch two: the command holds at zero #

A steady zero-volt command with reverse shaft motion means the motion originates on the drive side of that terminal strip. Before touching gains, run the drive's documented polarity or hookup test: several servo platforms detect a command or feedback polarity mismatch at commissioning and refuse to tune until that test passes. Then work the list below in order. The replaced encoder and motor also need commissioning as a pair, and commissioning a replacement servo encoder with motor ID data covers what the identification run requires.

Branch two causes, cheapest check first #

  1. Command offset and sign. Measure the drive input while the control commands stop. A standing offset, or a sign opposite the command specification in the drive manual, is found here and corrected at the control output scaling or the drive input scaling, whichever manual owns the sign convention.
  2. Feedback polarity. Confirm with the hookup test or a short jog in each direction while watching the following error sign; an error sign that flips against the motion points at the encoder counting direction.
  3. Phase hookup. Check each motor conductor against the drive manual's phase table, because servo manuals warn that conductors on the wrong phase terminals (U/V/W) cause malfunction. A swapped pair would reverse every motion in every mode, so a stop-only reversal is not a classic phase swap, but the retrofit touched every conductor, so verify the table anyway. A lead-swap fix belongs to a consistently reversed axis; the reasoning is in why swapping motor leads fixes a servo position error.
  4. Commutation setup. Run the motor identification or commutation check the drive documents for this motor and encoder pair. A drive on an unverified commutation angle is misbehaving hardware even when forward motion looks fine.
  5. Tuning on the new pair. Low damping turns the stop into visible reverse travel even with correct polarity. Trend the following error through the stop: an error that crosses zero and rings is tuning, so the fix is gains, not wiring.
  6. Disable and brake sequencing. If the backward move lands exactly when the jog function is disabled or the drive enable drops, as reported in field cases, check that the brake engages before torque is gone, especially on a vertical axis where a fault during active braking lets stored load coast the axis. Trend the enable status next to the command and direction.

Mechanics come last on purpose: gravity, an unbalanced load, or backlash release move the axis only after the command releases, and the reverse travel then matches a gravity or backlash distance rather than a commanded move.

Accept the fix only after this #

  • Branch one: repeated jog stops at production jog speed in both directions produce no reverse travel; the command decays to the documented stopped value without crossing into reverse polarity; handwheel operation is unchanged.
  • Branch two: the polarity or hookup test passes, the phase conductors match the manual, motor identification is completed, and the same repeated-stop test passes.

Keep the scope captures from the first measurement either way. If the reversal returns, the synchronized command-and-motion record decides whether the next hour belongs to the control's command path, the replacement drive, or the mechanical load.

Questions asked

Why does handwheel motion look normal when the jog stop reverses?

Handwheel motion proves the drive makes torque and follows speed commands in both directions, but it never exercises the jog-stop sequence: the decel ramp, the zero-volt handover, and the drive's behavior near zero speed. It also uses small distances at low speeds, which hides tuning problems. The fault is in the stop path, so measure the command during a jog stop rather than judging the axis by handwheel motion.

Can I swap two motor leads to stop the reverse motion?

No. Swapping two of the three phase leads reverses the axis in every mode and every command direction, and the U/V/W phase terminals exist because the wrong phase order causes malfunction. A stop-only reversal needs the command measurement and the drive-side checks, not a lead change. Verify conductors against the drive manual's phase table and rerun motor identification after any lead correction.

What does the reversing travel mean at the load?

It depends on the mechanical ratio between motor and load, and it is worth computing because it sets the crash risk. On a rotary table with a 90:1 worm, the same 0.75 motor rev is 0.75 x 360 / 90 = 3 degrees of table rotation.

How many clean stops confirm the fix?

Set the bar at ten consecutive jog stops in each direction at production jog speed, with handwheel operation rechecked afterward. A fault that appears once in ten stops is not fixed; drive and control faults near zero speed are load- and temperature-sensitive, so repeat the test after the axis has run a normal workload. Keep the command captures from the diagnosis for comparison.

Keep reading

  • Explainer

    Do you need to retune after replacing a servo motor

    Usually no. An identical replacement motor on unchanged mechanics keeps the existing tuning, provided configuration and baseline response check out on the assembled, loaded axis. Retune when rotor inertia, load inertia, coupling stiffness or mounting changes, because those shift the resonance frequencies the gains were set around.

    Servo and stepper motion

  • Troubleshooting

    Why a servo spindle ignores a 0-10V analog command

    A 0-10 V reading at the drive proves the command arrived, not that the drive is using it. Before chasing wiring, confirm the drive is in Velocity mode with the external analog input selected as its speed reference, that enable and direction permission are asserted, and that the source's 0 V is tied to the drive COM. If a 9 V battery through a 1 kΩ resistor also fails to turn the spindle, the fault is in the drive's configuration, and step and direction control is the proven fallback.

    Servo and stepper motion

  • Troubleshooting

    Why a spindle servo drive alarm follows the motor encoder

    A machine-panel spindle drive alarm that appears after a stop command, clears on power-up, and returns within days is a feedback fault far more often than a brake or drive fault. Read the drive's speed report through the stop window, then prove the branch with a motor swap: in the resolved case, the alarm followed the milling motor, and its motor-mounted encoder was the failed part.

    Servo and stepper motion