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.
2. Replacement steps (live replacement to prevent data loss)
Open the front cover of A171SCPU and locate the battery connector.
Insert the lead connector of the new battery into the battery interface on the PCB.
Complete the replacement within 30 seconds to avoid data loss caused by capacitor discharge.
After replacement, confirm that M9006/M9007 are in the OFF state.
Attention: Before replacing the battery, backup the program and parameters. Do not short-circuit, heat, burn or disassemble the battery.

System configuration and emergency stop circuit design
1. Emergency stop circuit
The A171SCPU main substrate provides an EMG (emergency stop) input terminal, which can simultaneously cut off the operation of all servo amplifiers. The wiring method is as follows:
The EMG terminal normally closed contacts are connected in series to all servo amplifiers.
After an emergency stop, the EMG circuit must be manually reset to resume operation.
Do not use the emergency stop terminal of the servo amplifier alone, and cut off the main power supply through an external circuit.
2. Dynamic braking and electromagnetic braking
Dynamic braking: used for rapid deceleration during emergency stop or servo OFF, and cannot be used for normal operation braking.
Electromagnetic braking: used for vertical axis maintenance, not for deceleration during operation.
During system design, the maximum sliding distance should be calculated to ensure mechanical safety.
Servo system startup and axis number setting
1. Pre startup checklist
Confirm that all modules have been correctly installed and secured.
Confirm that the power supply voltage is correct and the grounding resistance is ≤ 100 Ω.
Confirm that the total length of the sports network cable does not exceed 30 meters and that the terminal resistor has been correctly installed.
Confirm that the battery is functioning properly and the memory protection switch is set correctly.
2. Axis number setting
A171SCPU supports up to 4 axes, and the axis number is set through the switch on the servo amplifier and cannot be repeated. The axis number corresponds one-to-one with the axis address in the servo program.
3. Operating system installation
If you need to replace the operating system (such as SV13, SV22), you need to perform the "installation" operation through peripheral devices:
Set DIP switch SW1-1 to ON.
Connect the power and install the OS.
After installation, set SW1-1 to OFF and power it on again.
Common I/O module problems and solutions
1. The input signal cannot be turned off
Reason:
Input switch leakage current is large (such as LED indicator light, long line capacitance effect)
Solution:
Parallel resistor shunt ensures that the input module terminal voltage is below the OFF threshold (e.g. DC input<1.2V)
Example: The OFF current of the A1SX40 module is 1mA. If the leakage current is 4mA, a 1k Ω resistor needs to be connected in parallel to shunt 3mA or more.
2. The output module load cannot be opened
Reason:
Fuse blown
Output module external power supply not connected or voltage abnormal
Solution:
Check the ERR indicator light and replace the output module
Check if the external power supply is connected
Preventive maintenance recommendations
To ensure the long-term stable operation of the A171SCPU system, it is recommended to perform the following periodic maintenance:
Periodic project
Daily inspection of indicator light status, module installation, and loose wiring
Measure environmental temperature, humidity, power supply voltage, and clean dust every 6 months
Replace batteries annually, check the condition of electrolytic capacitors and fans
Read error codes during exceptions and follow the troubleshooting process
