Fixing Mitsubishi Z71 Absolute Encoder Failure & Zero-Point Setup
Resolve Z71 absolute encoder failure on Mitsubishi systems. Learn to calibrate Zero-Point via parameter #2049, push torque #2054, and prevent axis collisions.
Introduction
A depleted drive unit battery or a compromised encoder cable on a CNC machine can instantly trigger a Z71 Absolute Encoder Failure, stripping the system of its spatial coordinate awareness and threatening a severe mechanical disaster. When this fault occurs, the CNC controller cannot verify its exact physical location, rendering all automatic and manual data input (MDI) motion commands completely invalid. If an operator attempts to bypass this state or forces a hard restart without meticulously re-establishing the absolute coordinate zero point, the machine may misinterpret its spatial reference, leading to a violent hard collision against the chuck barrier or lower turret. This results in an immediate collision detection alarm at power-on, severe physical deformation of the clamp systems, shattered tooling, and expensive scrap parts. Unlike minor configuration issues, an absolute encoder failure is a deep system fault; much like trying to operate a machine when a system-wide block occurs during a Siemens Alarm 1000 (System Error) or safety network shutdown such as Alarm 201612 (PROFIsafe Communication Failure), safety protocols will immediately prevent any program execution until the hardware is repaired and the coordinate system is re-initialized.
Technical Summary
| Technical Specification | Details |
|---|---|
| Command Code | Z71 (Absolute Position Detector Alarm / Absolute Position Loss) |
| Modal Group | Non-programmable / System-level Diagnostic Alarm |
| Applicable Brand | Mitsubishi CNC Systems (M70, M80, M800, SmoothAi) |
| Critical Parameters | #2049 type (Absolute detection method) & #2054 clpush (Current limit percentage) |
| Main Constraint | Blocks all MDI and memory movement commands; standard absolute G28 reference returns are disabled on dogless systems until initialized. |
Quick Read
- Immediate Coordinate Blockage: An active Z71 alarm completely invalidates automatic and MDI axis movement commands to prevent uncontrolled motion.
- Low-Voltage Warning Signs: Operators must proactively watch for preliminary low-voltage indicators such as drive unit alarm 9F or Z73 (Battery for abs data fault).
- Live Battery Replacement: Always replace the drive unit backup battery while the CNC control system power remains ON to avoid absolute position data loss.
- Stopper Method Torque Limit: Dogless absolute position initialization uses parameter
#2054 clpushto safely limit axis motor current during stopper physical contact. - Zero-Point Parameter Check: Automatic zero-point setting will fail if parameter
#2 Zero-Pis configured to be smaller than the#2037 G53ofscoordinate offset. - Battery-Less HK Evolution: Upgrading to HK motors with battery-less encoders permanently eliminates voltage drop warnings and absolute data loss.
Basic Concepts
When a Z71 Absolute Encoder Failure occurs, the CNC completely loses its spatial awareness, inflicting a severe practical programming effect where all automatic and MDI movement commands (including G28 reference returns in dogless modes) are immediately rendered invalid to prevent catastrophic movement.
Programmers and operators must actively watch for preliminary low-voltage warnings, such as drive unit alarm 9F or Z73 (Battery for abs data fault), and proactively replace the drive unit battery while the power remains ON to prevent total loss of absolute position data.
Common failure causes range from depleted backup batteries to damaged cables and serial data corruption caused by liquid coolant penetrating the encoder connectors.
If an encoder loses data, personnel must safely follow specific zero-point initialization procedures (such as the Machine End Stopper or Marked Point Alignment methods) rather than simply clearing the alarm.
Failure to meticulously re-establish the absolute coordinate zero point can lead to the machine misinterpreting its location, resulting in a violent hard collision against the chuck barrier or lower turret, ultimately causing a collision detection alarm at power ON, severe mechanical damage to the clamp systems, and the production of a scrap part.
Command Structure
To recover from an encoder failure, the CNC coordinate reference system must be initialized. In Mitsubishi CNC systems, establishing the zero point does not utilize motion-based G-code parameters inside an active part program. Instead, absolute position initialization relies on machine coordinate system variables and specific parameters configured directly in the NC Setup or Maintenance screens. The physical axes are manipulated or pressed to a mechanical stopper to map the physical position of the encoder to the logical machine coordinates.
Standard programming motion G-code syntax is only re-established after the system is fully calibrated and the Z71 alarm is resolved. The reference return and coordinate system commands coordinate axis locations relative to the machine basic coordinate zero point. For example, programming a standard reference return command requires selecting the target return method, configuring the appropriate offsets, and identifying the target axes. Operators must make sure that all axis offsets are fully active during subsequent runs; ignoring these coordinate offsets can lead to massive machining errors, similar to the offset activation problems resolved in Siemens Alarm 61000 (Tool Offset Not Active).
G28 X_ Y_ Z_ ; Reference position return (moves through an intermediate point)
G29 X_ Y_ ; Movement from reference position
G30 P_ X_ Y_ ; Return to 2nd, 3rd, or 4th reference position (P2 to P4 specifies the return point)
G53 X_ Y_ Z_ ; Basic machine coordinate system selection
| Parameter | Description / Settings | Value Range / Recommended Settings |
|---|---|---|
#2049 type | Absolute position detection method specifying the alignment approach. | 0 (Not absolute detection), 1 (Stopper method), 3 (Dog-type), 4 (Standard absolute encoder), 9 (Simple absolute position) |
#2054 clpush | Current limit value during stopper operation in dogless-type detection. Sets max motor torque. | 0 to 100 (%) |
#2055 pushf | Push feedrate for automatic zero point setup in stopper method to dictate contact speed. | 1 to 999 (mm/min) |
#2059 zerbas | Zero point coordinate selection during stopper method initialization. | 0 (Position where stopped) to 1 (Grid point just before stopper) |
#2 Zero-P | Absolute position zero-point parameter. | Must be set larger than #2037 G53ofs to avoid registration failure. |
#2037 G53ofs | G53 offset parameter used in absolute position setup. | Dynamic numeric offset range. |
Mitsubishi Applications
Mitsubishi
Mitsubishi CNC controllers incorporate specialized hardware and parameter configurations for managing absolute position detection. If a system experiences a Z71 Absolute Position Detector Alarm, the system's drive units provide immediate physical feedback. The most notable distinction is the utilization of a dedicated 7-segment LED display physically located on the drive unit, which flashes transitioning diagnostic codes (for instance, alternating '26-02-01' to signal a Z71 encoder failure) allowing maintenance personnel to instantly diagnose hardware faults without querying the main NC screen.
During initialization of a dogless absolute position system, the controller uses torque-controlled movement to press the axis against a physical machine end stopper. This process is governed by the torque current limit parameter #2054 clpush and the push feedrate parameter #2055 pushf to dynamically learn the zero-point reference. Modern systems leveraging battery-less HK motors entirely bypass voltage drop warnings and absolute position loss.
Mitsubishi Model Comparison
| Series & Motor Combination | Encoder Tech & Power Source | Z71 Alarm Behavior & Voltage Warnings | Recovery & Stopper Calibration Method |
|---|---|---|---|
| Mitsubishi M70 with HG Motors | Battery-backed absolute encoder (requires physical battery packs on MDS drives, e.g. MR-BAT6V1SET). | Triggers Z71 0001 when battery voltage drops below 3.0V. Alternates "26-02-01" diagnostic code on drive unit LED. | Requires physical machine end stopper method or marked point alignment to re-establish reference coordinates after data loss. |
| Mitsubishi M80 with HG Motors | Battery-backed absolute encoder. Relies on active power retention and drive backup batteries. | Preceded by alarm 9F or Z73 (Battery for abs data fault) warning. Complete data loss triggers Z71 0001-0007 if power is lost during maintenance. | Torque limit (#2054 clpush) and push speed (#2055 pushf) are dynamically set to calibrate absolute coordinates. Setup fails if #2 Zero-P is smaller than #2037 G53ofs. |
| Mitsubishi M800 with HK Motors | Battery-less absolute encoder. Utilizes permanent mechanical absolute tracking that retains coordinates indefinitely. | Voltage drop warnings (such as 9F) are entirely bypassed. Replacing motor or extended power shutdowns never triggers absolute position data loss alarms. | Calibration is pre-aligned at installation. Does not require battery maintenance or physical stopper calibration cycles on encoder replacement. |
Technical Analysis
An analytical breakdown of Mitsubishi's absolute position architecture reveals critical differences in hardware design and coordinate recovery logic across its machine series. In traditional absolute setups using HG motors, absolute tracking depends on continuous battery voltage. When the power is turned off, the absolute position detector relies on battery current to maintain encoder memory. A physical battery depletion under 3.0V triggers the Z71 0001 alarm. If maintenance personnel replace the encoder or battery while the NC power is off, the coordinate data is completely lost, necessitating a physical zero-point initialization.
The diagnostic interface of Mitsubishi MDS drive units offers a specialized advantage during encoder failure recovery. Maintenance crews can directly read the physical 7-segment LED on the drive front panel, which cycles through alternating error codes (such as '26-02-01') to localize the exact absolute encoder communication error (Z71 0003) or backup voltage drop without having to boot or view the CNC console.
The dogless stopper initialization method unique to Mitsubishi is a parameter-driven torque calibration sequence. By configuring the current limit #2054 clpush and push feedrate #2055 pushf, the controller allows the servo axis to gently collide with a hard mechanical stop. The system registers the grid point immediately before the stopper (depending on #2059 zerbas) and stores the coordinate. However, this process requires that the #2 Zero-P parameter is strictly larger than the G53 offset parameter #2037 G53ofs. If the offset is misconfigured, the machine stopper is incorrectly registered, making automatic reference return impossible and preventing the clearance of the Z71 state.
On newer SmoothAi systems, the architectural shift to HK battery-less encoders represents a major evolutionary step. These battery-less encoders maintain absolute positioning mechanically or via specialized non-volatile elements, ensuring that coordinates are retained indefinitely without any battery power supply. As a result, systems utilizing HK motors are completely immune to battery-drain alarms, voltage drop warnings (such as 9F), or coordinate loss during shutdown, dramatically improving machine reliability and eliminating the need for periodic battery replacements.
Program Examples
; Mitsubishi Absolute Position Recovery & Reference Return Example
G90 G53 G00 X0 Y0 Z0 ; Move to basic machine coordinate system zero point to verify alignment
G28 X0 Y0 Z0 ; Execute standard reference position return command via intermediate coordinates
G30 P2 X0 Y0 ; Return to 2nd machine reference position (P2)
G29 X100.0 Y100.0 ; Move from reference position to the specified startup coordinates
Dry Run Procedure: To safely test the coordinate alignment and ensure the absolute position recovery was accurate without risking a physical crash, perform the following dry run steps:
- Ensure the Z71 Absolute Encoder Failure alarm is fully cleared from the NC screen and the drive unit 7-segment LED shows no faults.
- Activate the DRY RUN switch on the operator control panel.
- Switch the machine coordinates display to check the relationship between basic machine coordinates (G53) and program coordinates.
- Set the feedrate override switch to the lowest setting (e.g., 10% or less) and position a hand near the EMERGENCY STOP button.
- In MDI mode, input the recovery program block line-by-line.
- Press cycle start for
G90 G53 G00 X0 Y0 Z0and verify that the axis moves slowly toward the correct machine zero position. If there is any unexpected rapid acceleration or if the axis moves in the wrong direction toward a physical clamp or vise jaw, press EMERGENCY STOP immediately to prevent a catastrophic collision. - Execute the
G28 X0 Y0 Z0command and verify that the axis reaches the reference coordinate without triggering secondary program alarm P430. - Verify that the
G30 P2 X0 Y0secondary reference point matches the physical coordinate offsets stored in the parameters.
Error Analysis
| Brand | Alarm Code | Trigger Condition | Operator Symptom | Root Cause & Recovery Action |
|---|---|---|---|---|
| Mitsubishi | Z71 0001 | AbsEncoder: Backup voltage drop. Backup battery drops below 3.0V or cable breakage/looseness occurs. | CNC screen displays Z71 alarm; MDI and automatic movements are blocked. Alternates "26-02-01" on drive LED. | Replace battery (MDS battery MR-BAT6V1SET or similar) while control power is ON to prevent complete absolute coordinate loss. |
| Mitsubishi | Z71 0003 | AbsEncoder: Commu error. Communication with absolute encoder is disabled or impossible. | Axis motion completely disabled. Screen displays Z71 0003 encoder communication error. | Inspect absolute encoder cables, check connections for looseness or damage, and reduce electrical noise interference. |
| Mitsubishi | Z71 0004 | AbsEncoder: Abs data changed. Absolute position data fluctuates during zero point establishment. | Zero-point calibration routine fails to complete, returning errors during physical reference setup. | Absolute position fluctuated. Safely stabilize the axis mechanical fixtures and re-attempt the zero-point calibration routine carefully. |
| Mitsubishi | Z71 0005 | AbsEncoder: Serial data error. Error in serial data from absolute position detector. | Intermittent axis disconnects, erratic coordinate readings, Z71 0005 fault status on NC panel. | Liquid coolant penetration of the encoder connector. Disconnect the encoder, dry the plug entirely or replace the cabling, and apply sealing. |
| Mitsubishi | Z71 0007 | AbsEncoder: Initial commu err. System cannot establish initial communication with encoder at startup. | Immediate alarm status upon booting the CNC machine; axes are unresponsive. | Complete startup handshake failure. Check the drive unit power supply, verify cables are intact, and inspect absolute encoder connectors. |
Application Note
A catastrophic hard collision against the chuck barrier or lower turret is the immediate outcome when maintenance crews attempt to run manual or automatic programming commands while ignoring a Z71 Absolute Encoder Failure. Because absolute coordinates are invalid during an active Z71 fault, the CNC cannot execute G28 reference returns on dogless absolute systems, immediately blocking axis motion and outputting a secondary P430 program error. To prevent a complete loss of spatial coordinate data, operators must proactively monitor preliminary low-voltage indicators—such as drive unit alarm 9F or Z73 (Battery for abs data fault)—and replace the drive unit battery pack (e.g., MDS battery MR-BAT6V1SET) while the primary control power remains ON. If the absolute reference coordinates are already lost, the zero point must be re-established through parameter #2049 stopper method torque calibration, ensuring that parameter #2 Zero-P is configured larger than the G53 coordinate offset #2037 G53ofs to avoid misaligning the mechanical stopper and physically preventing zero-point return.
Related Command Network
- G28 (Reference Position Return): Used to command the axis to return to the absolute zero reference point established after resolving a Z71 encoder alarm.
- G29 (Movement from Reference Position): Automatically coordinates movement starting from the G28 reference position back to a specified programming target coordinate.
- G30 (2nd, 3rd, and 4th Reference Position Return): Commands the machine to return to auxiliary reference points (P2, P3, P4) that are defined relative to the basic machine coordinate system.
- G53 (Basic Machine Coordinate System Selection): Non-modal command that operates directly in the machine coordinate system, relying on the zero point calibrated during absolute encoder initialization.
Conclusion
Maintaining absolute encoder integrity in Mitsubishi CNC systems requires proactive battery management and precise parameter configuration. Consistently monitoring drive unit diagnostic LEDs and replacing backup battery packs while the system power is active prevents unscheduled downtime and expensive axis collisions. In the event of coordinate loss, executing the stopper-based recovery procedure with precise torque parameters ensures the machine safely regains its absolute coordinate coordinates.
FAQ
How do you replace a Mitsubishi absolute encoder backup battery without losing coordinate data?
To replace the absolute encoder backup battery without losing your zero-point coordinate data, you must perform the replacement while the CNC control power is active (ON). Carefully open the drive unit battery compartment, remove the old MDS battery MR-BAT6V1SET, and insert the new battery pack, verifying the connector is firmly seated before cycling power or running programs.
Why does commanding G28 trigger a P430 error when a Z71 alarm is active?
Commanding a G28 reference return while a Z71 Absolute Encoder Failure alarm is active triggers a secondary P430 error because the CNC has lost its absolute spatial reference, making dogless axis motion unsafe. You must resolve the Z71 hardware fault and perform absolute position zero-point initialization using parameters like #2049 before the G-code movement commands become valid.
What is the difference in coordinate retention between Mitsubishi HG and HK series motors?
Mitsubishi HG motors rely on active battery backup power and completely lose absolute coordinate data when drive power is removed after a battery depletion, requiring zero-point recalibration. In contrast, newer HK motors utilize battery-less encoders that retain coordinate data indefinitely without a power supply, permanently bypassing battery warnings (like 9F) and eliminating zero-point setup steps upon motor replacement.
Still not resolved?
Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

- CNC CARE Co-Founder (May 2025 - Present)
- Mitsubishi Electric NC Sales & Service Section Manager (2008 - 2025)
- Reis CNC Service Engineer (2003 - 2005)
- Ören Kalıp CNC Mold Line Team Leader (1999 - 2002)
With over 25 years of experience working in all areas of the CNC machine industry, I continue my activities as a co-founder of CNC CARE, where we offer brand-independent consulting, engineering, and original spare parts services.
Related Articles
Other articles on this topic
G73 and G83 Peck Drilling Cycles: High-Speed and Deep-Hole Milling
Program G73 and G83 peck drilling cycles on Fanuc, Siemens, and Mitsubishi CNCs. Learn parameters, clear alarms, and optimize high-speed deep-hole milling.
G50.2 and G51.2 Polygon Turning: Synchronized Lathe Machining
Learn how to program G50.2 and G51.2 polygon turning on Fanuc, Siemens, and Mitsubishi CNC controls. Master spindle synchronization parameters, alarms, and G-code examples.
G31 Skip Function and CNC Probe Programming: Fanuc, Siemens, Mitsubishi
Master G31 skip function and probe programming on Fanuc, Siemens, and Mitsubishi CNCs. Prevent crashes, resolve alarms, and configure servo lag parameters.
G07.1 Cylindrical Interpolation: Guide for Fanuc, Siemens, Mitsubishi
Master G07.1 cylindrical interpolation on Fanuc, Siemens, and Mitsubishi CNCs. Learn axis mapping parameters, alarm fixes, and syntax rules to prevent crashes.