The control reports an absolute encoder alarm after the battery has discharged, and the machine no longer has a trustworthy X- or Z-axis reference. Treat this as lost position state, not as a normal return-to-reference problem. First protect the machine from movement, then determine whether the battery circuit or the stored absolute reference must be restored.
Reject the usual quick fixes
| Quick fix | Why it fails | Risk |
|---|---|---|
Run G28 U0 W0
|
This commands a return move; it does not recreate absolute encoder position data erased after battery loss. | The control may move an axis using an invalid machine-position relationship. |
Change 1240 or 1241
|
These parameter suggestions do not resolve the absolute encoder establishment problem described here. | An incorrect reference-related value can send the machine toward a limit or fixture. |
Change G90 or G91
|
Absolute and incremental part-programming modes do not repair the feedback system's retained machine position. | The program may move differently while the encoder fault remains. |
| Clear the alarm repeatedly | The alarm returns if battery voltage is still low or the absolute position has not been established. | Repeated resets can hide which action caused the position change. |
Do not test speculative parameter changes by moving the turret. Record the original values before changing any parameter, remove tools or workholding from the possible travel path, and use the lowest practical manual motion rate during recovery.
Check the battery condition first
Read the alarm text and inspect the encoder battery circuit. A discharged battery is the stated trigger in this case. Check the installed battery type, connector seating, polarity, cable condition, and measured voltage against the value printed on the battery assembly or specified in the machine documentation.
- If battery voltage is low, replace the correct battery using the machine builder's documented powered-state procedure. Some absolute feedback systems must remain energized during replacement to preserve retained position; follow the machine documentation rather than disconnecting power by habit.
- If the replacement battery is correct but the warning remains, inspect the connector and wiring before changing parameters. A new cell cannot correct an open circuit, reversed connection, damaged holder, or failed battery input.
- If battery voltage and wiring are satisfactory but the absolute alarm remains, continue to the reference-state check.
Stop here if the battery specification, replacement state, or connector pinout is unknown. Guessing at a battery circuit can damage the feedback hardware or erase position that might still be recoverable.
Decide whether position data has been lost
Compare the displayed machine position with a mechanically verified axis location. Use the machine builder's reference marks, witness marks, alignment procedure, or other documented datum. Do not use a work offset as proof of machine zero; work coordinates depend on the machine-coordinate foundation and may remain numerically plausible after that foundation is wrong.
| Reading or observation | Meaning | Next check |
|---|---|---|
| Battery alarm only; machine coordinates agree with the verified datum | The retained reference may still be valid. | Correct the battery circuit, clear the alarm by the documented method, and verify slow manual travel. |
| Absolute alarm remains and machine coordinates do not agree with the datum | The control-to-encoder reference relationship must be established again. | Identify the correct axis-establishment control before enabling motion. |
| Only one axis is wrong | Treat establishment as axis-specific. | Work only on the affected X or Z axis and leave the other axis unchanged. |
| Both axes are wrong or the mechanical datum cannot be identified | A blind recovery could establish a false machine zero. | Stop and obtain the machine builder's alignment procedure or official support. |
Confirm the establishment control before editing
Parameter 22 is identified for this FANUC O-T case, with bit 0 associated with the X axis and bit 1 associated with the Z axis. Treat those axis assignments as the candidate establishment controls for the specific control configuration, not as permission to toggle both bits. FANUC O-T installations can differ by control option and machine-builder integration, so match the parameter display and bit layout to the manual supplied with the machine.
Capture the full existing value of parameter 22, the affected axis, the displayed machine coordinates, and the complete alarm text. A bit parameter contains independent flags; writing a decimal value without preserving the other bits can alter unrelated functions. Change only the documented bit for the axis being recovered.
Do not substitute 1240 or 1241. Those values were proposed as first- and second-reference-point parameters, then rejected as unrelated to this absolute encoder problem. Reference-point coordinate settings and encoder reference establishment are different layers: one defines a commanded location, while the other establishes how feedback counts map to machine position.
Establish the affected axis safely
- Back up the current parameters by the available control or machine-builder method. Photograph or record
parameter 22before editing. - Identify whether X, Z, or both axes lost their absolute state. Do not reset an axis whose verified machine position remains correct.
- Place the affected axis at the machine builder's documented mechanical reference position. Approach it using the prescribed direction and low-rate manual movement, with a clear travel path.
- Enable parameter writing through the documented control procedure. Change only bit 0 for X or bit 1 for Z in
parameter 22, as applicable to this configuration. - Perform the required control reset or power cycle stated by the machine documentation. Do not invent a power-cycle sequence; retained-position behavior depends on the installed feedback and control arrangement.
- Restore parameter-write protection and recheck the complete parameter value against the recorded original state.
If the axis cannot be placed at a known mechanical datum, stop. Setting an establishment bit at an arbitrary position creates a believable but false machine coordinate system, which can cause a collision on the next automatic move.
Verify before returning to automatic operation
Clear the machine and verify one axis at a time. At low manual speed, move away from the reference location and return using the normal machine procedure. Confirm that the machine-coordinate display repeats at the mechanical datum and that the absolute encoder alarm does not return after the documented reset or power cycle.
Then check soft-limit behavior, stored work offsets, tool geometry, turret clearance, and any machine-builder reference-dependent functions. An encoder reference repair can be technically successful while old work and tool offsets remain unsafe relative to the newly established machine zero. Run the first production motion in single block with reduced rapid override and no obstruction in the travel envelope.
FAQ
Why does a FANUC O-T lose its absolute encoder reference?
A discharged encoder battery can erase or invalidate retained absolute position. Replace the correct battery, check its circuit, and establish only the affected axis at the documented mechanical datum.
Why does G28 U0 W0 not clear the absolute alarm?
G28 U0 W0 requests a return move; it does not rebuild lost encoder-to-machine position data. Do not run that move until the machine coordinate system has been verified.
Why should I stop before changing parameter 22?
Stop if the mechanical datum, parameter bit layout, battery procedure, or affected axis is uncertain. Contact FANUC or the machine builder through an official support channel and provide the full alarm text, control identification, recorded parameter 22 value, and measured battery condition.