AutomateDirectUSAMotion LibraryShop the parts catalog

Troubleshooting

Absolute Encoder Counter Overflow Alarm on a Servo Drive

Servo and stepper motion Published 6 min read

Short answer

Alarm 41, absolute encoder counter overflow, means the multi-turn revolution counter passed its specified limit. Check real overtravel and the encoder parameter set first, then cable and supply, then reinitialize the position reference with the drive's documented function and power-cycle. Clearing the alarm without fixing what feeds the count only postpones the next stop.

On this page
  1. What the alarm actually reports
  2. Checks in order, cheapest first
  3. Working the revolution budget for a 120 rpm roller axis
  4. If the axis barely turns
  5. Clearing the alarm the documented way
  6. When the encoder itself is done
  7. Questions asked

Alarm 41 — absolute encoder counter overflow — means the multi-turn counter inside the encoder has passed its specified revolution limit. On Panasonic servo drives the manual lists two causes: the multi-rotation number exceeded its maximum, or an inappropriate value was set in Encoder Operation Selection. Fix the cause first — travel against the counting range, parameter mismatch, cable, supply — then reinitialize the position reference through the drive's documented reset function and power-cycle. Clearing the alarm without changing what feeds the count only postpones the next stop.

What the alarm actually reports #

A multi-turn absolute encoder measures the angle within one 360° shaft turn and counts total revolutions, storing each revolution as a unique word in a finite counter. When that count passes its limit, the drive raises the overflow alarm; on Yaskawa Sigma II and Sigma III drives the documented response is a standard error with motor power disabled, and most servo drives behave the same way. Treat the axis as unpowered until you recover it: it can coast, and a gravity axis can drop.

Note what the alarm is not. It reports range, not memory. Battery-backed absolute encoders raise their own retention alarms when the battery fails, which is a different fault path from a counter that simply ran past its limit — if the drive logged a battery code first, clear that one and reinitialize before you judge this one.

Checks in order, cheapest first #

The alarm is the symptom. Work the causes from free to involved, and confirm each one before moving down:

  • Encoder parameter set. Compare every encoder-related drive setting, starting with Encoder Operation Selection, against the installed encoder's specification. Confirming check: the stored value matches the specification for the exact device fitted.
  • Actual travel. Decide whether the axis rotates continuously in one direction anywhere in its duty. Confirming check: the alarm recurs after a roughly fixed amount of one-way running — the worked example below converts that into hours.
  • Mechanical and software limits. Verify the hard stops exist and the software limits sit inside the counting range. Confirming check: command the axis slowly to each end and watch the displayed count stay under the limit.
  • Encoder cable. Check every connector seat, the shield termination, and the routing away from motor power leads; the documented first action for this fault class on other drives is to check all encoder cable connections and power-cycle. Confirming check: flex the cable while watching the count — a count that jumps with cable motion convicts the wiring.
  • Control supply. Measure the encoder's logic supply and log it through the machine's worst-case switching. Confirming check: a dip that lines up with a contactor or drive-enable event.
  • Recent work. If the motor or encoder cable was re-terminated, verify motor phase order before deeper diagnosis — reversed rotation produces encoder-side faults of several kinds and costs minutes to rule out.

If the fault appeared right after a feedback change, fixing servo travel error after swapping resolver and encoder is the companion read: resolution and feedback settings that do not match the new device surface there as travel faults.

Working the revolution budget for a 120 rpm roller axis #

This example states its own inputs, because your speed and your encoder's limit are what the arithmetic needs; swap yours in the same way.

Inputs, with sources:

  • Revolution limit: ±32,767 rev. Assumption for this example: a signed 16-bit revolution word, so 2^15 − 1 counts each side of the reference. The real figure is in your encoder's manual, and it is the one number that moves the answer.
  • Roller speed: 120 rev/min, continuous, one direction — a typical one-way conveyor duty.
  • Shift length: 8 h.

Rule in words: accumulated revolutions equal speed times running time, so the time to overflow is the revolution limit divided by speed.

Arithmetic:

  • Counter range: 2^15 − 1 = 32,767 rev.
  • Rate: 120 rev/min × 60 min/h = 7,200 rev/h.
  • Time to overflow: 32,767 rev ÷ 7,200 rev/h = 4.55 h.
  • Per shift: 7,200 rev/h × 8 h = 57,600 rev, which is 57,600 ÷ 32,767 ≈ 1.76 times the whole range.
  • Fastest one-way speed that still fits a shift: 32,767 rev ÷ 480 min = 68 rev/min.

Result: the axis trips alarm 41 about 4.5 h into every shift, mid-cycle and without warning. Decision: below one shift between overflows, stop clearing the alarm and change the design — re-reference the axis at every start-up or on a timer so the count never nears the limit, constrain travel, or specify an encoder and drive with a larger revolution range. A 120 rpm axis runs 52 rev/min above the 68 rev/min this counter sustains for a shift, so no amount of resetting makes that duty work.

If the axis barely turns #

A lift, a gantry or an indexer arm that moves a few turns in total cannot reach tens of thousands of revolutions. On those axes, commit to the other branch from the start: the alarm is a settings or signal fault — parameter mismatch first, then cable, then supply — and the mechanics are not the problem. The confirming check is the same displayed count: on a short-stroke axis it should read in the tens, and a huge or jumping reading means the count is being corrupted, not earned.

Clearing the alarm the documented way #

With the cause fixed, follow the drive's own sequence. Run Fn010 to clear the error, then Fn011 to reset the alarm and reinitialize the encoder's position reference; the manual's stated next step, if the alarm cannot be reset by Fn011, is to replace the encoder. Power-cycle the drive afterward so the reference re-establishes cleanly — initialize first, power-cycle second, in that order.

Before you reinitialize anything, keep people out of the motion envelope and apply your machine's lockout procedure: a wrong fresh reference can command unexpected travel at restart, which is the hazard ISO 14118 exists to prevent, and your risk assessment governs the details.

Then verify before handing the axis back. Move it slowly through its full permitted range, confirm the displayed count stays well inside the limit, and confirm the positions repeat at both ends. If position still wanders after a clean reference, what is left is mechanical, and diagnosing servo axis position drift in the drivetrain is the next stop.

When the encoder itself is done #

Parameters match, travel is inside range, cable and supply verify clean, and Fn011 still will not reset the alarm: the counter inside the encoder is the fault, and replacement is the documented endpoint. After fitting the new encoder, redo the parameter comparison and the position reference — the drive keeps its own side of both, and a stale reference re-creates faults that look like the encoder's. When an absolute encoder error persists after battery and encoder replacement, the drive-side settings are what remain to chase.

Questions asked

Does a weak encoder battery cause a counter overflow alarm?

No, and mixing the two up wastes time. Battery loss on an absolute encoder raises its own data-retention alarm, so if the drive logged a battery code, clear that first. Counter overflow means the revolution count itself passed its limit; the fixes are travel, parameters, wiring, supply or the encoder. Clear the battery alarm, reinitialize the reference, and only then judge whether the overflow has a cause of its own.

What do other servo drives call this alarm?

Yaskawa servopacks report it as A.810 and clear it by initializing the absolute encoder; Delta drives list AL.289 as position counter overflow. The code differs, the fault is the same, so the travel, parameter, cable and supply checks transfer unchanged. Only the reset entry point and its parameter names change from one drive family to the next.

Can I keep running by clearing the alarm each time it appears?

Only as a bridge, and only with the cause known. An axis that genuinely consumes its range trips on a schedule you can calculate: a 120 rpm one-direction load overflows a 32,767-revolution counter in about 4.5 hours, and each trip is an uncontrolled mid-cycle stop. Below one shift between alarms, stop clearing it and change the reference strategy or the encoder range.

A new encoder did not stop the alarm. What is left?

The drive side. A new encoder changes nothing about the settings, so re-compare Encoder Operation Selection and every encoder parameter to the new device's specification, then redo the position reference, because the drive keeps its own reference and a stale one re-creates the fault. If those check out, the remaining documented causes are the cable and the control supply, since noise on the line adds counts that look like travel.

Keep reading

  • 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

  • How-to

    How to Identify Geared Resolver and Encoder Feedback on Old Servos

    Treat the resolver plus its geared 1:4 and 1:80 channels as one integrated coarse-and-fine, multi-turn position package: the resolver reads absolute angle within one shaft revolution, and the geared channels count revolutions above it. Identify each channel by resistance checks, ratio counting and waveform capture before choosing a replacement drive, because the resolver model number alone establishes neither commutation nor multi-turn position recovery.

    Sensors, encoders and machine vision on the machine

  • Troubleshooting

    Absolute Encoder Error Persists After Battery and Encoder Replacement

    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.

    Sensors, encoders and machine vision on the machine