In industrial automation systems, motion controllers are responsible for accurately controlling servo motors to perform key tasks such as positioning, speed, and interpolation. Mitsubishi A171SCPU, as a motion controller that integrates sequential control and servo control, is widely used in multi axis positioning systems. However, as the equipment ages or the operating environment changes, engineers often face issues such as system failure to start, abnormal operation, and battery alarms. This article combines the hardware structure, error code system, and common fault phenomena of A171SCPU to provide a systematic maintenance and troubleshooting method to help engineers quickly locate problems and restore operation when equipment malfunctions.
Overview and Hardware Identification of A171SCPU System
A171SCPU is a dual CPU architecture motion controller that integrates:
PCPU (Positioning Control CPU): responsible for servo program execution, origin regression, and servo status monitoring.
SCPU (Sequential Control CPU): Responsible for logic control, servo program start/stop, manual pulse generator operation, etc.
The system supports up to 4-axis control, is compatible with MR-H-B, MR-J-B, and MR-J2-B series servo amplifiers, and can achieve up to 256 I/O points through an expansion substrate. Typical hardware includes:
Main substrate (A172B/A178B-S1)
Expansion substrate (A1S65B/A1S68B)
Manual pulse generator/synchronous encoder interface module (A171SENC)
Battery unit (A6BAT/MR-JBAT)
Before troubleshooting, it is necessary to first confirm whether the hardware is installed correctly, whether the power supply is normal, and whether the indicator light status is abnormal.
Basic methods for fault diagnosis
1. Visual inspection
Check the status of the module indicator lights (POWER, RUN, ERROR).
Confirm whether the power line, signal line, and sports network cable are loose or damaged.
Check if the input/output indicator lights of the I/O module are normal.
2. Error code reading
A171SCPU will store the error code in a special register (such as D9008) when an error occurs, and engineers can quickly locate the problem by reading the error code through peripheral devices (such as IBM PC+location software package).
3. Peripheral device monitoring
Real time monitoring can be achieved using positioning software packages such as SW2SRX-GSV13PE
current value
Program execution status
Error History
Servo current, speed, position tracking error, etc

Common fault phenomena and troubleshooting process
1. The POWER indicator light is not on
Possible reasons:
Input power not connected or voltage error (100V/200V setting error)
Internal overcurrent or overvoltage protection action of power module
Poor contact of power cord
Exclusion steps:
Confirm whether the input voltage is AC 100V or 200V, and check whether the voltage selection terminal is correctly short circuited or open circuited.
Check if the overcurrent protection of the power module is activated (such as if the indicator light is off).
Use a multimeter to measure the input voltage of the power supply and confirm if it is within the rated range.
If the above is normal but still not displaying, replace the A171SCPU module.
2. The RUN indicator light is not on or flashing
RUN light not on:
CPU is in STOP state (switch position, remote STOP)
Stop class errors occur (such as missing END instruction, parameter errors)
RUN light flashing:
Self diagnostic errors (such as watchdog timeout, RAM error)
Lock clearing operation in progress
Exclusion steps:
Check the position of the RUN/STOP switch to ensure it is in the RUN state.
Connect peripheral devices and read error codes.
If the END instruction is missing, add the END or FEND instruction at the end of the program.
If the watchdog timeout occurs, check if the scanning time exceeds the set value (10-2000ms), optimize the program or extend the watchdog time.
3. The ERROR indicator light is constantly on or flashing
Always bright:
Self diagnosis detected serious errors (such as instruction decoding errors, parameter errors, and abnormal operation circuits)
twinkle:
The alarm (F) in the program is triggered
Common error codes and their handling:
Error code meaning handling method
10 instruction code error checking program steps, correct instructions
11 Parameter Error Reset parameters and write to CPU
12. Missing END instruction. Add END at the end of the program
20 RAM Error Replacing CPU Module
22 WDT timeout optimization program or extended watchdog time
31 I/O module verification error check module for looseness or incorrect model
32 fuse blown, replace output module or check external power supply
70 battery voltage low, replace battery
Battery replacement and memory protection mechanism
1. Battery function and lifespan
A171SCPU is equipped with A6BAT lithium battery for:
Maintain user programs in RAM
Maintain data in the locked area
Support absolute position encoder data backup
The battery life is about 5 years at room temperature, but if there is a long-term power outage, the shortest backup time is 5400 hours. When the M9006 or M9007 special relay is turned on, it indicates that the battery voltage is low and should be replaced as soon as possible.