Servo Encoder Replacement: Complete Tutorial

A step-by-step guide to diagnosing encoder faults and replacing servo motor encoders safely — without killing the motor.

Quick diagnosis table

SymptomLikely causeAction
Position drift while runningEncoder glass scale contamination or coupling slipClean or replace encoder; check coupling
Alarm A.870 / AL.37 (encoder fault)Encoder signal loss — cable or encoderTest cable first, then encoder
Motor runs away at speedEncoder A/B channel fault or loose mountingCheck connector, remount encoder
Encoder counts only in one directionOne channel dead — usually cable or encoderReplace encoder or cable
Battery alarm after power lossAbsolute encoder backup battery deadReplace battery, then re-home axis

Step-by-step procedure

  1. Lock out and tag out all power, and wait for the DC bus to discharge (5+ minutes on drives).
  2. Mark the encoder shaft position and the motor endbell orientation before removing anything — this preserves commutation alignment on absolute motors.
  3. Disconnect the encoder connector at the drive, not at the motor, and test continuity pin-by-pin first. Most 'encoder faults' are cable faults.
  4. If the encoder is confirmed faulty: remove the encoder cover, loosen the shaft coupling screw, and withdraw the encoder straight out — do not pry on the glass scale.
  5. Fit the new encoder with the marks aligned, torque the coupling screw to spec, and reconnect.
  6. Power up and run the drive's encoder calibration / commutation offset routine (e.g. p0432/p0437 on Siemens, AL.24 sequence on Yaskawa) before enabling the axis.
  7. Jog the axis slowly and verify feedback sign and counts against the expected direction and travel.

Replacement parts & selection notes

Replacement encoders are matched by motor MPN, not drive model — the encoder variant differs by motor frame and option (battery-backed absolute, resolver, incremental 2048/4096 PPR). Send us the motor nameplate and we confirm the exact encoder, including coupling and screw kits.

Frequently asked questions

Can I replace just the encoder, not the whole motor?

In most cases yes — the encoder is a separate assembly. Send the motor MPN and we confirm the encoder variant and supply it with mounting hardware.

Why does the axis need recalibration after encoder replacement?

The commutation offset (absolute position reference) is stored relative to the encoder zero. A new encoder means a new zero — the calibration routine re-learns it.

The new encoder alarms immediately — did I get a wrong part?

Check the connector seating and cable first (80% of cases), then confirm the encoder variant against the motor serial. We verify compatibility free of charge before shipping.

Related pages