AutomateDirectUSAMotion LibraryShop the parts catalog

Troubleshooting

Absolute Encoder Error Persists After Battery and Encoder Replacement

Sensors, encoders and machine vision on the machine Published 7 min read

Short answer

When an absolute-encoder alarm survives a new battery and a new encoder, stop buying parts and split the chain: verify 3.6 V at the encoder-side battery connector, continuity-check the cable and shield, confirm the controller interface, then run the documented mastering or initialization the axis needs after any encoder swap.

On this page
  1. What the surviving alarm tells you
  2. The four domains left in the chain
  3. Check them in this order
  4. Measure the battery circuit where it matters
  5. Tracing a backup circuit on a wrist-roll axis that alarms at servo enable
  6. Why the new encoder still needs mastering
  7. When the alarm still returns
  8. Questions asked

When an absolute-encoder alarm survives both a new battery and a new encoder, the encoder is the least likely fault left on the machine. The controller is reporting that it cannot read valid absolute position from that axis, and you have already replaced the two parts most people replace. What remains is the rest of the chain: the battery wiring between cell and encoder, the encoder cable and its shield, the controller-side interface, and the initialization or mastering step most axes require after any encoder swap. Work it cheapest first — one multimeter reading at the right connector separates a wiring fault from a controller fault before you order another part. Keep one number in hand: 3.6 V DC, the backup-battery rating for this class of encoder.

What the surviving alarm tells you #

The alarm names one axis — in the case that prompted this, a wrist-rotation axis. The controller has decided the absolute data from that axis is invalid, and it keeps deciding that with two new parts installed. That shifts probability away from the encoder and toward everything between the encoder and the controller's decision.

Record exactly when it trips, because timing narrows the search. An alarm present at control power-up implicates the retention circuit: the battery, the battery wiring, the encoder's memory supply. An alarm that appears only when the servo-enable command is given implicates what changes at that moment — the controller's interrogation of the encoder and its comparison of position against stored calibration data. Both patterns fit a wiring fault; only the second fits a missing mastering step.

Settle one architecture question from the wiring diagram before measuring: does one battery pack serve several axes, or does each axis have its own cell? If a shared pack feeds several axes and only one alarms, the pack and its common wiring are proven good by the axes that stay quiet. The fault is in that axis's branch — cable, connector, or encoder input.

The four domains left in the chain #

  • Battery feed: the backup cell, its holder, and the conductors that carry its voltage to the encoder. On most servo systems those conductors run through the encoder cable, because the battery often lives in the controller cabinet or on a bracket at the motor.
  • Encoder cable and shield: the signal pairs, the battery pair if present, connector seating, pin condition, and shield termination at the controller end.
  • Controller-side interface: the connector, termination, and encoder input channel for that axis inside the controller or drive.
  • Initialization and mastering: the documented setup that tells the controller where axis zero is after an encoder replacement. It is a required calibration step, not a nicety.

Check them in this order #

Steps 3 and 4 put your hands on connectors, so handle energy first: encoder cables usually run alongside servo power wiring, and robot documentation for this class of machine lists motor supplies in the hundreds of volts DC — one manual shows up to 320 VDC. Follow your lockout procedure (in the US, OSHA 1910.147 is the reference) and the machine's risk assessment, and verify zero energy at what you open.

  1. Record the transition. Note whether the alarm appears at power-up, at servo enable, or at first commanded motion, and capture the full alarm text with any sub-codes. It costs nothing and directs everything after it.
  2. Verify the parts you installed. Confirm the battery and the encoder match the machine's documented part numbers for that axis, and that the documented order was followed: connect the backup battery, then run the encoder setup. A substituted cell or a wrong encoder type reproduces the same alarm.
  3. Measure the battery circuit at the encoder end. Control power off, meter on the battery contacts of the encoder-side connector: expect the rated DC voltage stated above.
  4. Continuity-check the cable. Pin-for-pin continuity end to end, connector seating, pin condition, shield termination. If the battery lives in the cabinet, its pair runs in this cable, and one open conductor looks exactly like a dead battery to the controller.
  5. Apply the shared-battery deduction. One pack, several axes, one alarm: the pack is good; chase that axis's branch.
  6. Inspect the controller side. Reseat and examine the axis's encoder connection at the controller, against the machine's wiring diagram.
  7. Run the documented initialization or mastering for the axis, then retest.

Measure the battery circuit where it matters #

The documented rating for these backup cells is the lithium primary figure given above, and the retention figure in robot maintenance material for this class is 3 years of position hold with control power off. Neither number helps you at the cell; both matter at the encoder. A cell can read full voltage in its holder and deliver nothing to the encoder if the feed is open between them — which is why the alarm survived your battery replacement while every check at the cell looked normal.

Measure at the encoder-side connector with control power off, because that is the point the encoder actually sees. For the background on whether servo motor absolute encoders are really battery-backed, read that companion piece; here only the arrival of the voltage matters.

And replace on schedule, not on alarm. At a documented three-year life, a cell that reads low weeks after replacement has not aged out. Treat that reading as a wiring fault until the feed is proven.

Tracing a backup circuit on a wrist-roll axis that alarms at servo enable #

Inputs for this worked example:

  • Backup-battery rating: the lithium primary-cell rating stated in the battery-replacement documentation for this encoder class, given above.
  • Documented retention: 3 years with control power off, so 3 x 52 = 156 weeks of expected life.
  • Cell age in this case: 3 weeks, installed during the repair that failed to clear the alarm.
  • Reading at the battery holder, control power off: 3.61 V (example bench reading).
  • Reading at the encoder-side battery contacts: 0.00 V (example bench reading).

The rule in words: the cell's rated voltage has to appear at the encoder's battery input. Whatever fails to arrive is lost in the wiring between the two measurement points, and a cell three weeks into a 156-week life cannot have aged out.

The arithmetic:

  • Life consumed: 3 / 156 = 0.019, so 1.9 percent. Aging is excluded.
  • Holder against rating: 3.61 V − 3.60 V = 0.01 V, about 0.3 percent above rating. The cell and its holder contacts are good.
  • Encoder end against holder: 3.61 V − 0.00 V = 3.61 V lost between holder and encoder.

Result: an open conductor, an unseated intermediate connector, or an opened protection element in the battery feed. Decision: with the full rated voltage at the holder and nothing at the encoder, repair the feed — cable, connector, termination — and do not install a third encoder. The threshold is the comparison itself: rated voltage at the holder with anything less at the encoder end condemns the run. After the repair, master the axis before enabling the servo. These are example readings for a case with these inputs, not measurements from a specific machine.

Why the new encoder still needs mastering #

A new absolute encoder reports position relative to its own shaft and nothing else. Until the controller relearns where axis zero is, the data is valid and meaningless at the same time. FANUC documentation, for example, calls this mastering and documents a zero-position method plus a quick variant that restores zero from the power-off position when the axis has not moved. Whatever your machine calls the step, run it under its documented name; do not substitute a parameter write for the procedure.

Mastering also covers the multi-turn count on axes that rotate without limit, which is exactly what a wrist-roll axis does. The multi-turn range has documented limits the setup must handle, and after a battery loss the revolution count is gone with the data. The same lesson — that a position reference must be re-established after feedback hardware work — appears elsewhere as a grid align error after a servo motor rebuild.

When the alarm still returns #

If the battery voltage arrives at the encoder, the cable passes continuity, mastering has been run under its documented name, and the alarm still trips at servo enable on a repeatable transition, the remaining domain is the controller's encoder interface for that axis. Stop replacing encoders and batteries: the decision is the interface, handled per the machine's board-level service documentation.

Escalate with the record that decides it: exact alarm text, the axis, which transition trips it, both voltage readings, continuity results, part numbers installed, and the mastering method used. If the evidence starts pointing at the motor instead, work through how to tell if a servo motor is actually faulty before condemning it — but a persistent absolute-data alarm over good wiring is not, by itself, a motor fault.

Questions asked

What voltage should the encoder backup battery show at the connector?

The rating the battery-replacement documentation for this class of encoder states is 3.6 V DC, and it holds for the common lithium primary cells. Measure with control power off, at the encoder end of the cable rather than at the cell. A holder that reads full voltage while the encoder end reads zero means the feed is open between them, and no number of replacement encoders will clear that alarm.

Does an absolute encoder need recalibration after replacement?

Yes. The new encoder reports position relative to its own shaft, so the controller has to relearn where axis zero is before the data means anything. Robot makers document this as mastering, with a zero-position method against a fixture or hard stop, and on some controllers a quick variant that restores zero from the power-off position if the axis has not moved. Skipping it leaves a healthy encoder reporting to an uncalibrated controller.

How long do absolute encoder backup batteries last?

About 3 years of retention with control power off is the documented figure for this class; put replacement on a three-year preventive interval instead of waiting for an alarm. A cell that reads low weeks after replacement has not aged out — three weeks is about 1.9 percent of a 156-week life — so treat that reading as a connection or wiring fault until the feed is proven.

Do all absolute encoders need a backup battery?

No. Battery-free multi-turn absolute encoders exist; they read absolute position from a magnet arrangement at the center of the motor shaft, so there is no cell keeping data alive. But if your machine shipped with a battery circuit, the controller expects it healthy — the fix is a good cell and intact wiring, not a workaround for the missing one.

Why does the alarm appear only when the servo enables?

The timing tells you which check is failing. An alarm present at control power-up points at the retention circuit: battery, battery wiring, or the encoder memory supply. One that appears only at the servo-enable command implicates what changes at that moment — the controller interrogating the encoder and comparing position against stored calibration — which points at the cable, the controller interface, or the missing mastering step. Record the transition before ordering parts.

Keep reading

  • Explainer

    Are Servo Motor Absolute Encoders Really Battery-Backed

    Most servo motors sold as absolute use incremental feedback whose multi-turn count lives in battery-backed memory. The battery feeds a microamp retention circuit, not the operating draw, which is why the hold runs about two years powered down. Change the battery with the control powered so the count survives.

    Sensors, encoders and machine vision on the machine

  • Troubleshooting

    Fix Servo Travel Error After Swapping Resolver and Encoder

    Travel that does not match the position display after a resolver-to-encoder swap is a scaling fault: the drive or the technology axis is still converting counts with the other feedback's increments per revolution. Measure one commanded move and divide actual by displayed travel; a constant ratio equal to the resolution ratio names the encoder data. Fix both layers, re-home, then re-tune.

    Servo and stepper motion

  • Selection guide

    Choosing Encoder Resolution to Match a Stepper Step Response

    A 50 ppr encoder read in x4 gives 200 counts/rev — one count per 1.8° full step, so the loop sees only before and after each step and ±1 count is ±1.8°. Size the encoder by counts per full step: 10 counts per step, which is 500 ppr in x4 at 2000 counts/rev and 0.18° per count, is the working minimum to reproduce a stepper's damped step response.

    Sensors, encoders and machine vision on the machine