AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Servo drive pulse and direction wiring on a retrofit

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

Short answer

After a retrofit, a servo axis that energizes and locks but will not move is usually still set for its old ±10 V speed command. Rewire the drive's command connector to its documented Pulse + Sign position input with the input common, set the electronic gear ratio for the new pulse scaling, route enable through the E-stop circuit, and treat the alarm output as a fault signal: a stiff shaft proves the motor is energized, not that pulses are arriving.

On this page
  1. What a stiff shaft proves, and what it does not
  2. Likely causes, cheapest to check first
  3. Move the command wiring to the Pulse + Sign input
  4. Set the electronic gear ratio
  5. Wire enable and alarm the right way round
  6. The decision for each case
  7. Questions asked

You kept the old servo motors and drives, replaced the dead controller with a step-and-direction motion controller, powered everything up — and the axis energizes, locks hard against your hand, and will not move. That combination is a command-mode problem, not a motor problem. The original machine almost certainly drove each servo with a ±10 V speed signal and closed the position loop in the old controller; the new one sends pulse and direction, and the drive is still listening on the wrong input. The fix: rewire the drive's command connector to its documented Pulse + Sign position input with the input common, set the electronic gear ratio for the new pulse scaling, put the drive enable in the E-stop circuit, and land the alarm output on a controller input your program reads. The checks below are sorted by how fast each one goes, and they end with the decision for each outcome.

What a stiff shaft proves, and what it does not #

A servo drive in position mode that is enabled but receives zero command pulses still holds the rotor: the position loop is at its commanded place, so the shaft resists hand rotation. That servo lock confirms the power stage and the enable input work. It confirms nothing about the command interface, because holding still is also exactly what the drive does when the pulses never arrive or the input is set to a mode it is not listening in. Manufacturer positioning training manuals put the principle plainly: the motor turns in proportion to the number of input pulses, so zero pulses correctly means zero rotation.

The quick differentiator is the E-stop. Open it: if the stiffness disappears, the drive was enabled, and the problem narrows to the command wiring, the input-mode parameter and the electronic gear. If the shaft stays loose, the enable chain is your first stop, not the pulse wiring.

Likely causes, cheapest to check first #

The reported symptom is an axis that enables and locks but produces no motion on a commanded move. Check these in order; each has its confirming check.

  1. The drive is still in speed or torque command mode. Open the drive's parameter chapter and read the command-mode selection as it is set now. The confirming check is the mode list itself: position control must list Pulse + Sign among its documented command inputs, and the drive must be set to that input, because that entry is what makes a step-and-direction controller usable at all.
  2. The input common is open. Every drive input optocoupler needs its return conductor. Confirm continuity from the controller's output return to the common pins the wiring diagram names, and check which supply polarity the diagram requires on those pins.
  3. The electronic gear ratio is at default or out of range. Compute the command pulses per motor revolution your mechanics need, as in the worked example below, and compare with the ratio the drive is set to and the range its manual allows.
  4. The pulse scheme mismatches. A controller emitting Pulse + Sign into a drive input set for phase-difference pulses gets counts that are rejected or doubled. Confirm that both manuals name the same scheme and set the drive's input mode to match the controller's output.
  5. The controller is not emitting pulses at all. A pulse output that is disabled, aimed at the wrong port or blocked by a jumper looks identical to a drive fault from the bench. Confirm with an oscilloscope or pulse counter on the step and sign terminals; the jumper-first checks in stepper pulse output enabled but motor not moving: jumper first are the fastest route.

Move the command wiring to the Pulse + Sign input #

Open the drive manual to its wiring chapter and use the position-control diagram, not the speed-control diagram that matched the old machine. The position diagram shows the pulse input either as two differential pairs — step+ with step-, sign+ with sign- — or as step and sign against a common, depending on whether your controller's outputs are line drivers or open collectors. Wire exactly the pattern your manual and your controller's output type select. One manufacturer's AC servo wiring document for the SureServo family, for example, shows this basic pulse-generator hookup and notes that other I/O configurations exist — a reminder to take your pin numbers from the diagram for your exact drive, not from a retrofit forum post.

Wire the input commons too, and check the diagram's required polarity on the common pins before energizing. A wiring page can show supply positive on the input common with the inputs switching to negative even where the optocoupler symbol next to it shows back-to-back LEDs; the diagram's supply connection decides, not the symbol.

Terminate, do not delete, the conductors the new interface does not use: the analog speed command and its signal common, any reset and torque-limit lines the old controller drove, and the B-phase and Z-phase feedback wires the old controller counted to close the position loop. The drive closes that loop with its own motor encoder now, so the new controller needs none of them. Keep old conductors landed away from the step and sign terminals so nothing stray touches a pulse input, and make supply and common returns on powered terminal strips fed from the cabinet supply rather than daisy-chained through controller terminals.

Set the electronic gear ratio #

In position mode the drive needs to know how many command pulses equal one motor revolution. That is the electronic gear ratio, set as a numerator over a denominator in the drive's parameter chapter. Allowed ranges are documented per drive family and are not universal: the SureServo parameter manual states its electronic gear ratio must stay between 1/50 and 200, numerator divided by denominator, with the denominator in parameter P1-45. Read the range in your own drive's manual before you type a ratio.

Worked example, calculated for illustrative inputs: say the retrofit axis is a ball screw that moves 5 mm per motor revolution, and you program the controller at 1000 pulses per mm. The drive then needs 1000 pulses/mm × 5 mm/rev = 5000 pulses per motor revolution. If that drive's manual states 10000 command pulses per motor revolution at a 1:1 electronic gear, the required ratio is 5000 / 10000 = 0.5, set as numerator 1 over denominator 2 — comfortably inside the 1/50 to 200 range that manual documents. Check the pulse rate the same way: a 3000 mm/min rapid is 3000 / 60 = 50 mm/s, and 50 mm/s × 1000 pulses/mm = 50000 pulses per second at the command input. That number must sit under your drive's documented maximum command-pulse input frequency, which you take from the same manual, not from this example.

The 5 mm lead, the 1000 pulses per mm and the 10000 base count are example inputs: take your lead from the machine, your scaling from the controller, and the base count from your drive's manual. Get the ratio wrong by a factor and the axis travels that factor short or long of every commanded move — motion, but the wrong motion — which is why the gear comes before any deeper diagnosis. The controller-side half of the arithmetic is its own job: how to calculate step and direction servo pulse scaling works it through.

Wire enable and alarm the right way round #

Route the drive's enable input, the servo-on input in most manuals, through the E-stop chain, so that opening the E-stop removes enable at the drive and not just at the controller. Verify the input's active state in the manual before you pick the relay contact form: wire to the logic state the documentation shows rather than swapping normally open for normally closed on a guess.

The alarm output is the wire people get backwards. It is a fault report: when the drive trips, it signals the controller so the controller stops the move. It does not drive an enable relay, and a quiet alarm output is not proof the drive is enabled. Land it on a controller input your program actually scans — the reasoning in why an encoder fault output needs its own input check applies here unchanged — and give that input a stop-motion response.

Measuring on an energized drive is energized work, and energized work permits require documented justification before you take a meter to it.

The decision for each case #

Commit the diagnosis this way:

  • Enables and locks, no motion on command: the fault is in the command interface. Work the list in order — input mode, commons, electronic gear — and confirm pulses at the terminals before you touch power wiring. Do not re-terminate motor leads.
  • Will not enable at all: the enable chain is wrong, not the pulse path. Check the E-stop contact state, the servo-on active level and the drive's displayed error code.
  • Moves, but travels short or long of target: the electronic gear ratio or the controller scaling is off by the ratio of actual to commanded travel. Recompute; do not rewire.
  • Moves, but runs the wrong way: change the sign polarity or its invert setting at one end only, drive or controller, then retest.
  • Runs, then faults mid-move: that is a different investigation — troubleshooting a servo axis that faults mid move covers the load, tuning and supply checks it needs.

A retrofit that ends with the axis holding at position after every move is done: the drive listens on Pulse + Sign, the gear matches the mechanics, and the safety chain decides enable.

Questions asked

Does Pulse + Sign mean the same thing as A and B quadrature pulses?

No. In Pulse + Sign, one line carries every step pulse and the second line only sets the direction with its level. In a phase-difference, or quadrature, scheme, two lines carry pulses 90 degrees apart and direction comes from which line leads. Both are position command inputs on many drives, so set the drive's input mode and the controller's output mode to the same scheme, then re-check scaling, because a quadrature input counts edges differently.

What if my servo drive has no pulse position input at all?

Then the drive cannot follow a step-and-direction controller directly and no wiring trick changes that. Take the drive's documented position command options from its manual: if it offers a phase-difference input your controller can also emit, use that. Otherwise the honest decisions are a drive with a pulse position input, or keeping the drive in speed mode and closing the position loop in the controller with a feedback input, exactly as the original machine did.

How do I tell a locked shaft from one that is actually receiving pulses?

Press the E-stop and watch the stiffness: if the shaft goes loose, the drive was enabled and holding with zero pulses, so the problem is upstream in the command path. Then count the pulses: many drives show received command pulses on their monitor screens, and a drive whose pulse display increments while the shaft stays still has an input-mode or electronic-gear problem, not a wiring break.

Can I reuse the old machine's encoder wires for the new controller?

Not for the position loop. The drive closes its own loop with the encoder on the motor, so the new controller needs no motor-encoder conductors. The old B-phase and Z-phase wires served the previous controller, which closed the position loop upstream in speed mode. After a retrofit, reuse those conductors only for new, traced functions, and leave the old feedback conductors terminated while you commission.

Keep reading

  • Troubleshooting

    Why a pulse-command servo axis loses position between moves

    A pulse-command servo that runs smoothly but lands at the wrong coordinate is losing, duplicating or mistiming step edges in the command path, not failing in the servo loop. Match step polarity, pulse width and direction prechange to the drive manual's input timing, then prove the fix with a dial indicator over 100 cycles of a repeated 100 mm move.

    Servo and stepper motion

  • Troubleshooting

    Why an EtherCAT CSP Stepper Axis Enables but Does Not Move

    Holding torque on Servo On proves only that the power stage energizes the windings. In cyclic synchronous position mode the axis moves only when the drive accepts each new 0x607A target and no internal limit refuses it, so check Statusword bit 11 first, then the drive's speed, current and software position limits, then the position unit scaling between controller and drive.

    Servo and stepper motion

  • Explainer

    Can a servo spindle retrofit replace a DC lathe spindle?

    Yes, an 11 kW servo motor and drive can replace a DC lathe spindle, but the kilowatt rating decides nothing by itself. The retrofit works when the servo drive accepts step-and-direction speed commands, the controller's spindle output matches that interface electrically, and the motor's continuous torque covers the lathe's worst cut through the belt reduction. Bench-test enable, direction and speed response with the motor uncoupled before it turns a chuck.

    Servo and stepper motion