5. SPECIFICATION AND CONNECTION OF I/O MODULES
5.3 Input/output combined modules
5.3.2 Input/output composite module connections
Model Rated Input Voltage
Rated Load Voltage connected internally.
*2 The A and B pin number rows shown above are transposed with respect to the diagram of the A and B rows which is printed on the module. Remember that the A row pin numbers correspond to the B row of the module.
Model Rated Input Voltage
Rated Load Voltage (For relay drive) 0V DC24V + −
+ −
DANGER z Do not touch terminal while the power is supplied.
Model Rated Input Voltage
Rated Load Voltage
MEMO
6.
When an error occurs while in the PLC RUN or RUN state, the self-diagnostic function stores an error indication or error code (including step number) in the special register. This section describes how to read the error code, as well as causes of errors and corrective actions. Table 6.1 shows the error codes for A1SCPUC24-R2, Table 6.2 the error codes and detailed error codes for
A1SHCPU and A2SHCPU (S1), and Table 6.3 the error codes and detailed error codes for A2ASCPU(S1/S30) and A2USHCPU-S1, respectively. Take proper action to eliminate the cause of error.
6.1 Error Code List for A1SCPUC24-R2
Table 6.1 Error Code List for A1SCPUC24-R2
Error Mes-sage
Error Code (D9008)
CPU
States Error and Cause Corrective Action
"INSTRCT.
CODE ERR"
(Checked at the execution of instruction)
10 Stop Instruction code, which cannot be decoded by CPU, is included in the program.
(1)EP-ROM or memory cas-sette, which cannot be decoded, has been loaded.
(2)Since the memory contents have changed for some reason, instruction code, which cannot be decoded, has been included.
(1)Read the error step by use of a peripheral equipment and correct the program at that step.
(2)In the case of EP-ROM or memory cassette, rewrite the contents or replace with an EP-ROM or memory cassette which stores cor-rect contents.
"PARAMETER ERROR"
(Checked at power-on,
STOP RUN, and PAUSE
RUN)
11 Stop (1)Capacity larger than the memory capacity of CPU module has been set with the peripheral equipment and then write to CPU mod-ule has been performed.
(2)The contents of parameters of CPU memory have changed due to noise or the improper loading of memory.
(3)RAM is not loaded to the A1 or A1NCPU.
(1)Check the memory capac-ity of CPU with the memory capacity set by peripheral equipment and re-set incor-rect area.
(2)Check the loading of CPU memory and load it cor-rectly. Read the parameter contents of CPU memory, check and correct the con-tents, and write them to CPU again.
(3)Install the RAM and write parameter contents from a peripheral device.
"MISSING END INS."
(Checked at STOP
RUN)
12 Stop (1)There is no ( ) instruction in the program.
(2)When subprogram has been set by the parameter, there is no instruction in the subprogram.
Write instruction at the end of program.
END FEND
END
END
ERROR CODES
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Mes-sage
Error Code (D9008)
CPU
States Error and Cause Corrective Action
"CAN’T EXE-CUTE(P)"
(Checked at the execution
of instruction)
13 Stop (1)There is no jump tion or multiple destina-tions specified by the ,
, , , or instruction.
(2)There is a instruction and no setting of subpro-gram.
(3)Although there is no instruction, the instruc-tion exists in the program and has been executed.
(4)The , , ,
, or instruction has been executed with its jump destination located below the instruction.
(5)The number of the
instructions is different from that of the instruc-tions.
(6)A instruction is given within a loop causing the processing to exit the loop.
(7)Processing exited subrou-tine by the instruction before execution of the
instruction.
(8)Processing jumped into a step in a loop or into a subroutine by the
instruction.
(9)The instruction is given in an interrupt gram, a subroutine pro-gram or in a
loop.
Read the error step by use of peripheral equipment and cor-rect the program at that step.
(Insert a jump destination or reduce multiple destinations to one.)
CJ SCJ CALL CALLP JMP
CHG
CALL RET
CJ SCJ CALL CALLP JMP
END
FOR
NEXT
JMP
FOR to NEXT
JMP
RET
FOR to NEXT JMP
STOP
FOR to NEXT
"CHK FOR-MAT ERR"
(Checked at STOP/
PAUSE RUN)
14 Stop (1)Instructions (including ) except LD X , LDI X , AND X and ANI X are included in the instruction circuit block.
(2)Multiple instructions are given.
(3)The number of contact points in the instruc-tion circuit block exceeds 150.
(4)There is no cir-cuit block before the instruction circuit block.
(5)The device number of D1 of the instruction is different from that of the contact point before the
instruction.
(6)Pointer P254 is not given to the head of the
instruction circuit block.
Check the program in the instruction circuit block
according to items (1) to (6) in the left column.
Correct problem using the peripheral and perform opera-tion again.
"CAN’T EXE-CUTE (I)"
(Checked at the occur-rence of
inter-ruption)
15 Stop (1)Although the interrupt mod-ule is used, there is no number of interrupt pointer I, which corresponds to that module, in the program or there are multiple numbers.
(2)No instruction has been entered in the inter-rupt program.
(3)There is instruction in other than the interrupt pro-gram.
(1)Check for the presence of interrupt program which corresponds to the interrupt unit, create the interrupt program, and reduce the same numbers of I.
(2)Check if there is
instruction in the interrupt program and enter the
instruction.
(3)Check if there is
instruction in other than the interrupt program and delete the instruction.
"CASSETTE ERROR"
(Checked at power-on) An, AnN only
16 Stop The memory cassette is not loaded.
Turn off the power, insert the memory cassette and turn on the power again.
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Mes-sage
Error Code (D9008)
CPU
States Error and Cause Corrective Action
NOP
P254 CHK D1D2
CHK
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Message
Error Code (D9008)
CPU
States Error and Cause Corrective Action
"ROM ERR" 17 Stop Parameters and/or sequence programs are not correctly written to the mounted mem-ory cassette.
(1)Correctly write parameters and/or sequence programs to the memory cassette.
(2)Remove the memory cas-settes that contain no parameters or sequence programs.
Parameters stored in the memory cassette have
exceeded the limit of available program capacity.
Ex.)Default parameters (pro-gram capacity: 6k steps) are written to A1NMCA-2KE.
(1)Adjust the program capac-ity for parameters to the memory cassette used.
(2)Use the memory cassette of which memory capacity is larger than the program capacity for parameters.
"RAM ERROR"
(Checked at power-on)
20 Stop The CPU has checked if write and read operations can be performed properly to the data memory area of CPU, and as a result, either or both has not been performed.
Since this CPU hardware error, consult Mitsubishi repre-sentative.
"OPE. CIR-CUIT ERR"
(Checked at power-on)
21 Stop The operation circuit, which performs the sequence pro-cessing in the CPU, does not operate properly.
"WDT ERROR"
(Checked at the execution of END
pro-cessing)
22 Stop Scan time exceeds watch dog error monitor time.
(1)Scan time of user program has been exceeded for some conditions.
(2)Scan time has lengthened due to instantaneous power failure which occurred dur-ing scan.
(1)Calculate and check the scan time of user program and reduce the scan time using the instruction or the like.
(2)Monitor the content of spe-cial register D9005 by use of peripheral equipment.
When the content is other than 0, line voltage is insuf-ficient. When the content is other than 0, the power voltage is unstable.
"SUB-CPU
Stop Sub-CPU is out of control or defective.
Since this CPU hardware error, consult Mitsubishi repre-sentative.
CJ
"END NOT EXECUTE"
(Checked at the execution
of END instruction)
24 Stop (1)When the instruction was to be executed, the instruction was read as other instruction code due to noise or the like.
(2)The instruction has changed to another instruc-tion code for some reason.
Perform reset and run.
If the same error is displayed again, it is the CPU hardware error, consult Mitsubishi repre-sentative.
"WDT ERROR"
(Checked continuously)
25 Stop The CPU is executing an end-less loop.
Since the program is in an endless lop due to the and instructions, check the program.
"MAIN CPU DOWN"
(Checked continuously)
26 Stop Main-CPU is out of control or defective. (Sub-CPU checked it.)
Since this is a CPU hardware error, consult Mitsubishi repre-sentative.
I/O module data are different from those at power-on.
The I/O module (including the special function module) is incorrectly loaded or has been removed, or a different unit has been loaded.
(1)Among special registers D9116 to D9123, the bit corresponding to the mod-ule of verify error is "1".
Therefore, use peripheral equipment to monitor the registers and check for the module with “1” and make replacement.
(2)When the present unit arrangement is OK, per-form reset with the reset switch.
(2)The external output supply for output load is not turned off or not connected.
(1)Check the fuse blown indi-cator LED of output module and change the fuse of module of which LED is on.
(2)Among special registers D9100 to D9107, the bit corresponding to the unit of fuse break is "1"
Replace the fuse of a corre-sponding module.
Monitor and check it.
(3)Check if the external power supply for output load is turned on or off.
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Message
Error Code (D9008)
CPU
States Error and Cause Corrective Action
END
END
JMP CJ
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Message Error Code (D9008)
CPU
States Error and Cause Corrective Action
"CONTROL-BUS ERR. "
(Checked at the execution of FROM and
TO instructions)
40 Stop The and instructions can-not be executed.
Error of control bus with special function module.
Since this is a hardware error of a special function module, CPU module, or base unit, replace the module and check the defective module, consult Mitsubishi representative.
"SP. UNIT DOWN"
(Checked at the execution of FROM and
TO instructions.)
41 Stop When the or
instruction is executed, access has been made to the special function module but the answer is not given.
The accessed special function module is defective.
Since this is an accessed special function module error, consult Mitsubishi
representative.
"LINK UNIT ERROR"
42 Stop The data link module is loaded in the master station.
Remove the data link module from the master station. After correction, reset and start from the initialization.
"I/O INT.
ERROR"
43 Stop Although the interrupt module is not loaded, interruption has occurred.
Since this is a hardware error of a specific module, replace the module and check the defective module, consult Mitsubishi representative.
"SP. UNIT LAY.
ERROR."
44 Stop (1)Three or more computer link units are loaded with respect to one CPU module.
(A1SCPU24-R2 is also counted as one unit.) (2)Two or more data link
modules are loaded.
(3)Two or more interrupt units are loaded.
(4)A special function module is assigned in place of an I/
O module, or vice versa, at I/O assignment of
parameters on peripheral devices.
(5)The input/output modules or special function modules are loaded at the input/
output numbers exceeding the number of input/output points, or GOT is
connected via bus line.
(1)Reduce the computer link modules to two or less.
(2)Reduce the data link modules to one or less.
(3)Reduce the interrupt module to one.
(4)Re-set the I/O assignment of parameter setting by use of peripheral devices according to the actually loaded special function module.
(5)Review the input/output numbers, and remove the modules at the input/output numbers beyond the number of input/output points or GOT.
FROM TO
FROM TO
Table 6.1 Error Code List for A1SCPUC24-R2 (Continue)
Error Message
Error Code (D9008)
CPU
States Error and Cause Corrective Action
"SP. UNIT ERROR"
(Checked at the execution of FROM and instruction) has been made to a location where there is not special function unit.
Read the error step by use of peripheral equipment, and check and correct the content of or instruction at that step.
"LINK PARA.
ERROR"
47 Continue (1)If a data link CPU is used to set a master station (station number "00") : The
contents written to the parameter area of link by setting the link range in the parameter setting of
peripheral devices are different from the link parameter contents for some reason. Or, link parameters are not written.
(2)The setting of the total number of slave stations is 0.
(1)Write parameters again and make check.
(2)Check setting of station numbers.
(3)When the error is displayed again, it is hardware error.
Therefore, consult Mitsubishi representative.
"OPERATION ERROR"
(Checked during execution of
instruction)
50 Continue (1)The result of BCD
conversion has exceeded the specified range (9999 or 99999999).
(2)Operation impossible because specified device range has been exceeded.
(3)File registers used in program without capacity setting.
(4)Operation error occurred during execution of the
, , or
instruction.
Read the error step using peripheral devices and check the program at the error step, and correct it.
(Check the specified device range, BCD conversion, or the like.)
"MAIN CPU DOWN"
(Interrupt fault) AnNCPU only
60 Stop (1) instruction processed in microcomputer program area.
(2)CPU malfunction due to noise.
(3)Hardware error of CPU module.
(1)Because the
instruction cannot be used in the microcomputer program, remove it.
(2)Take measures against noises.
(3)Consult Mitsubishi representative.
"BATTERY ERROR"
(Checked at power-on)
70 Continue (1)The battery voltage has dropped to below the specified value.
(2)The lead connector of the battery is not connected.
(1)Replace battery.
(2)Connect the lead connector if RAM memory or power failure compensation function is used.
FROM TO
FROM TO
RTOP RFRP LWTP LRDP
INT INT
6.2 Error Code List for A1SHCPU and A2SHCPU(S1)
The error codes, error messages, detailed error codes and corrective actions for A1SHCPU and A2SHCPU(S1) are described.
CC-Link is the abbreviation for Control & Communication Link.
It will be referred to as CC-Link in this section.
The detailed error codes are stored in D9092 only when using the dedicated instruction for CC-Link.
Table 6.2 Error Code List for A1SHCPU and A2SHCPU(S1)
Error
States Error and Cause Corrective Action
"INSTRCT.
CODE ERR"
10 — Stop Instruction code, which can-not be decoded by CPU module, is included in the program.
(1)Memory cassette includ-ing instruction code, which cannot be decoded, has been loaded.
(2)Since the memory con-tents have changed for some reason, instruction code, which cannot be decoded, has been included.
(1)Read the error step by use of peripheral equipment and correct the program at that step.
(2)In the case of memory cassette, rewrite the con-tents or replace the cas-sette with a memory cassette which stores cor-rect contents.
101 Instruction code, which can-not be decoded by CPU module, is included in the program.
(1)Memory cassette includ-ing instruction code, which cannot be decoded, has been loaded.
(2)Since the memory con-tents have changed for some reason, instruction code, which cannot be decoded, has been included.
(1)Read the error step by use of peripheral equipment and correct the program at that step.
(2)In the case of memory cassette, rewrite the con-tents or replace the cas-sette with a memory cassette which stores cor-rect contents.
103 Device specified by a dedi-cated instruction for CC-Link is not correct.
Read the error step using a peripheral device and cor-rect the program of the step.
104 A dedicated instruction for CC-Link has incorrect pro-gram structure.
105 A dedicated instruction for CC-Link has incorrect com-mand name.
"PARAME-TER ERROR"
11 — Stop The contents of parameters of CPU memory have changed due to noise or the improper loading of memory.
(1)Load the memory cassette correctly.
(2)Read the parameter con-tents of CPU memory, check and correct the con-tents, and write them to CPU again.
"MISSING END INS."
12 — Stop There is no ( )
instruction in the program.
Write instruction at the end of program.
"CAN’T EXECUTE
(P)"
13 — Stop (1)There is no jump tion or multiple destina-tions specified by the ,
, , , or
instruction.
(2)Although there is no instruction, the
instruction exists in the program and has been executed.
(3)The , , , , or instruction has been executed with its jump destination located below the instruction.
(4)The number of the instructions is different from that of the
instructions.
(5)A instruction is given within a loop causing the processing to exit the loop.
(6)Processing exited subrou-tine by the instruction before execution of the
instruction.
(7)Processing jumped into a step in a
loop or into a subroutine by the instruction.
Read the error step by use of peripheral equipment and correct the program at that step.
(Insert a jump destination or reduce multiple destinations to one.)
Table 6.2 Error Code List for A1SHCPU and A2SHCPU(S1)
Error
States Error and Cause Corrective Action
END FEND END
CJ SCJ CALL CALLP JMP
CALL RET
CJ SCJ CALL CALLP JMP
END
FOR
NEXT
JMP
FOR to NEXT
JMP
RET
FOR to NEXT JMP
Table 6.2 Error Code List for A1SHCPU and A2SHCPU(S1) (Continue)
States Error and Cause Corrective Action
"CHK FORMAT
ERR"
14 — Stop (1)Instructions (including ) except LD X , LDI X , AND X and ANI X are included in the
instruction circuit block.
(2)Multiple instructions are given.
(3)The number of contact points in the
instruction circuit block exceeds 150.
(4)The device number of X in the CHK instruction circuit block exceeds X7FE.
(5)There is no
circuit block before the instruction circuit block.
(6)The device number of D1 of the
instruction is different from that of the contact point before the
instruction.
(7)Pointer P254 is not given to the head of the
instruction circuit block.
(1)Check the program in the instruction circuit block according to item (1) to (7) in the left column.
Correct problem using the peripheral equipment and perform operation again.
(2)This error code is only effective when the input/
output control method is a direct method.
"CAN’T EXECUTE
(I)"
15 — Stop (1)Although the interrupt module is used, there is no number of interrupt pointer I, which
corresponds to that module, in the program or there are multiple
numbers.
(2)No instruction has been entered in the
interrupt program.
(3)There is instruction in other than the interrupt program.
(1)Check for the presence of interrupt program which corresponds to the interrupt unit, create the interrupt program, and reduce the same numbers of I.
(2)Check if there is
instruction in the interrupt program and enter the instruction.
(3)Check if there is
instruction in other than the interrupt program and delete the
instruction.
P254 CHK D1D2
CHK
Table 6.2 Error Code List for A1SHCPU and A2SHCPU(S1) (Continue)
States Error and Cause Corrective Action
"ROM ERR"
17 — Stop Parameters and/or
sequence programs are not correctly written to the mounted memory cassette.
(1)Correctly write parameters and/or sequence pro-grams to the memory cas-sette.
(2)Remove the memory cas-settes that contain no parameters or sequence programs.
Parameters stored in the memory cassette have exceeded the limit of avail-able program capacity.
Ex.)Default parameters (pro-gram capacity: 6k steps) are written to A1NMCA-2KE.
(1)Adjust the program capac-ity for parameters to the memory cassette used.
(2)Use the memory cassette of which memory capacity is larger than the program capacity for parameters.
"RAM ERROR"
20 — Stop The CPU has checked if write and read operations can be performed properly to the data memory area of CPU, and as a result, either or both has not been per-formed.
Since this CPU hardware error, consult Mitsubishi rep-resentative.
"OPE. CIR-CUIT ERR"
21 — Stop The operation circuit, which performs the sequence pro-cessing in the CPU, does not operate properly.
"WDT ERROR"
22 — Stop Scan time exceeds watch dog error monitor time.
(1)Scan time of user pro-gram has been exceeded for some conditions.
(2)Scan time has lengthened due to instantaneous power failure which occurred during scan.
(1)Calculate and check the scan time of user program and reduce the scan time using the instruction or the like.
(2)Monitor the content of special register D9005 by use of peripheral equip-ment. When the content is other than 0, line voltage is insufficient. When the con-tent is other than 0, the power voltage is unstable.
CJ
"END NOT EXECUTE"
24 — Stop (1)When the instruc-tion was to be executed, the instruction was read as other instruction code due to noise or the like.
(2)The instruction has changed to another instruction code for some
(2)The instruction has changed to another instruction code for some