The text of a manual · part 12 of 13
MELSEC A series Programmable Controller User's Manual, Type A1S(S1)/A1SC24-R2/A2S(S1)/A1SH/A2SHCPU(S1)/A2ASCPU(S1/S30/S60) (Hardware), pages 70 to 77
Pages 70 to 77 of 85: 7. ERROR CODES; APPENDIX
The original document is the PDF (773 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Mitsubishi A1S61PN, Mitsubishi A1S63P, Mitsubishi A1SHCPU, Mitsubishi A1SX10, Mitsubishi A1SX40, Mitsubishi A1SX40-S1, Mitsubishi A1SX42, Mitsubishi A1SX42-S2, and 6 more models
Page 70
7. ERROR CODES 7.
MELSEC-A
ERROR CODES When an error occurs while in the PC 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 7.1 shows the error codes for A1SCPU and A2SCPU, Table 7.2 the error codes and detailed error codes for A2ASCPU(S1/S30/S60), and Table 7.3 the error codes and detailed error codes that are detected only in the A1SHCPU and A2SHCPU, respectively. Take proper action to eliminate the cause of error.
7.1
Error Code List for A1SCPU(S1), A1SCPUC24-R2 and A2SCPU(S1) Table 7.1 Error Codes
Error Message
INSTRUCT CODE ERR.
Contents of Special Register D9008 (BIN value)
10
CPU State
STOP
Error and Cause
An instruction code, which cannot be decoded by CPU, is included in the program.
(1) Read the error step by use of peripheral device and correct the program at that step.
(1)
(2) In the case of the memory cassette, rewrite the contents of the ROM, or replace with a memory cassette whose contents have been correctly written.
(2)
PARAMETER ERROR
11
STOP
MISSING END INS.
12
STOP
(1)
(2)
(3)
13
STOP
A memory cassette containing invalid instruction code, has been loaded. The occurrence of an error destroyed the memory contents, adding an instruction code that cannot be read to the memory.
(1) Check the loading of the PC CPU memory cassette and load it correctly. (2) Read the parameter data from the PC CPU by use of a peripheral device. Make any necessary corrections and write it again to the PC CPU. There is no END(FEND) instruction (1) Write END at the end of the proin the program. gram.
The contents of the memory installed in the PC CPU have been destroyed because of (a) the occurrence of noise, or (b) the failure of the memory cassette.
(1)
CAN’T EXECUTE (P)
Corrective Action
(4) (5)
(6)
(7)
There is no jump destination for (1) Read the error step by use of a plural destinations specified by the peripheral device and correct the CJ, SCJ, CALL, CALLP or JMP program at that step. instruction. (Make corrections such as the insertion of jump destination or Although there is no CALL the changing of jump destinations instruction, the RET instruction to one.) exists in the program and has been executed. The CJ, SCJ, CALL, CALLP or JMP instruction has been executed with its jump destination located below the END instruction. The number of FOR instructions does not match the number of NEXT instructions. The JMP instruction specified between FOR to NEXT has caused the execution to deviate from between FOR to NEXT. The JMP instruction has caused the execution to deviate from the subroutine before the RET instruction is executed. The JMP instruction has caused execution to jump to a step or subroutine between FOR to NEXT.
7–1
Page 71
7. ERROR CODES
MELSEC-A Table 7.1 Error Codes (Continued)
Error Message
Contents of Special Register D9008 (BIN value)
CPU State
Error and Cause
(1)
There are instructions (including NOP) other than LDX, LDIX, ANDX and ANIX in the CHK instruction circuit block.
(2)
There is more than one CHK instruction. The number of contact points in the CHK instruction circuit block exceeds 150. The X device number in the CHK instruction circuit block exceeds X7FE. There is no circuit block in front of the CHK instruction circuit block.
(3) (4) CHK FORMAT ERR.
14
STOP
(5)
Corrective Action
(1) Check the program of the CHK instruction circuit block (1) to (7) in the left column. Correct errors using a peripheral device and restart the operation. (2) This error code is only valid when the I/O control uses the direct method.
CJ [ ] (6)
(7)
D1 device (number) of the CHK/D1/D2 instruction is different from the contact device (number) above the CJ[ ] instruction. Pointer P254 is not attached to the start of the CHK instruction circuit block.
P254
(1)
CAN’T EXECUTE (I)
ROM ERR (A1SCPU, A1SHCPU)
15
17
STOP
(2)
CHK D1 D2
Although the interrupt module is used, there is no number for interrupt pointer I, which corresponds to that module, in the program or several numbers of pointer I exist in the program. No IRET instruction has been entered in the interrupt program.
(3)
There is an IRET instruction somewhere besides the interrupt program.
(1)
Parameters and/or sequence programs are not correctly written to the installed memory cassette.
STOP
(1) RAM ERROR
20
STOP
OPE. CIRCUIT ERR.
21
STOP
WDT ERROR
22
STOP
(1) Check for the presence of interrupt program which corresponds to the interrupt module and create and interrupt program or reduce the numbers of I to one. (2) Check if there is IRET instruction in the interrupt program and enter the IRET instruction. (3) Check if there is an IRET instruction somewhere besides the interrupt program and delete that IRET instruction. (1) Write parameters and/or sequence programs correctly to the memory cassette (EPROM or E 2 PROM). (2) Remove a memory cassette which does not have any parameter and/or sequence program. Since this is a PC CPU hardware fault, consult your nearest Mitsubishi representative.
The PC CPU has checked if write and read operations can be performed properly to the data memory area of the PC CPU. Normal writing and/or read/write turned out to be impossible. (1) The operation circuit, which performs the sequence processing in the PC CPU, does not operate properly. Scan time exceeds watchdog monitoring (1) Calculate and check the scan time. time of the user program and reduce the scan time by the use of CJ instructions, etc. (1) Scan time of user program is (2) Monitor the content of special excessive. register D9005 by use of a peripheral device. If the content (2) Scan time has lengthened due to is other than 0, line voltage is instantaneous power failure which insufficient. Therefore, check the occurred during the scan. power and eliminate the voltage fluctuation.
7–2
Page 72
7. ERROR CODES
MELSEC-A Table 7.1 Error Codes (Continued)
Error Message
Contents of Special Register D9008 (BIN value)
CPU State
Error and Cause
(1) END NOT EXECUTE
24
WDT ERROR
25
STOP (2) STOP
STOP (RUN)
UNIT VERIFY ERR.
31
FUSE BREAK OFF
32
STOP (RUN)
CONTROL-BUS ERR.
40
STOP
When the END instruction is executed, another instruction code has been read due to noise, etc. The END instruction has changed to another instruction code.
41
STOP
Check for an endless loop and correct the program.
I/O module data is different from that at power ON.
(1) Among special registers D9116 to D9123, the bit corresponding to the module verify error is “1". Therefore, monitor the registers by use of a peripheral device and check for the module with ”1". (2) When the fault has been corrected, reset the PC CPU.
(1)
The I/O module (including the special-function module) is (a) incorrectly disengaged or has been removed, or (b) a different module has been loaded. (1) There is an output module with a (1) Check the blown fuse indicator blown fuse. LED of the output module and change the fuse in the module whose LED is ON. (2) The external power supply for the (2) Checking the module for a blown output load is OFF or not fuse can also be done with a connected. peripheral device. Among special registers D9100 to D9107, the bit corresponding to the module of verify error is “1". Therefore, check by monitoring the registers. (3) Check the ON/OFF state of the external power supply for the output load. (1) This is a special-function module, The FROM and TO instructions cannot CPU module or base unit be executed. hardware fault. Therefore, change the unit and check the (1) Error of control bus with specialdefective module. Consult your function module. nearest Mitsubishi representative about the defective module.
(1)
Control bus error in the specialfunction module.
Although the interrupt module is not installed, an interruption has occurred. I/O INT. ERROR
43
STOP
(1) (2) SP. UNIT LAY. ERR.
44
STOP
(1) Perform reset and RUN. If the same error is displayed again, it is a PC CPU hardware fault. Therefore, consult your nearest Mitsubishi representative.
The END instruction cannot be executed with the program looped.
When FROM and TO instructions cannot be executed. SP. UNIT DOWN
Corrective Action
(3) (4)
Three or more computer link modules are installed into a single CPU module. Two or more data modules of MELSECNET(II), MELSECNET/B or MELSECNET/10 are installed. Two or more interrupt modules are installed. In the parameter setting of the peripheral device, while an I/O module is actually installed, a special-function module has been set in the I/O assignment, and vice versa.
7–3
This is a special-function module, CPU module or base unit hardware fault. Therefore, change the unit and check the defective module. Consult your nearest Mitsubishi representative about the defective module. (1) This is a certain module hardware fault. Therefore, change the module and check the defective module. Consult your nearest Mitsubishi representative about the defective module. (1) reduce the computer link modules to two or less. (2) Use one MELSECNET(II), MELSECNET/B, or MELSECNET/10. (3) Use one interrupt module. (4) Reset the I/O assignment of parameter setting by use of peripheral device according to the actually loaded special-function module.
Page 73
7. ERROR CODES
MELSEC-A Table 7.1 Error Codes (Continued)
Error Message
SP. UNIT ERROR
LINK PARA. ERROR
Contents of Special Register D9008 (BIN value)
CPU State
46
STOP (RUN)
47
Error and Cause
(1)
Access (execution of FROM/TO instruction) has been made to a location where there is no specialfunction module.
(1)
The contents, which have been written to the parameter area of the link by setting the link range in the parameter setting of peripheral device, are different from the link parameter contents. The setting of the total number of slave stations is 0.
RUN (2)
(1)
OPERATION ERROR
50
RUN (2) (STOP) (3) (1)
MAIN CPU DOWN
BATTERY ERROR
60
70
STOP
RUN
(2) (3) (1) (2)
The result of BCD conversion has exceeded the specified range (9999 or 99999999). A setting has been done which exceeds the specified device range and the operation cannot be done. File registers are used in the program without performing the capacity setting of file registers. An interrupt instruction (INT instruction) has been used in a microcomputer program. The CPU has malfunctioned due to noise or some other problem. CPU hardware fault. The battery voltage is low. The battery lead is disconnected.
7–4
Corrective Action
(1) Read the error step by use of peripheral device, and check and correct the content of the FROM/ TO instruction at that step by using a peripheral device. (1) Write the parameters again and check.
(2) If this message is displayed again, it is a hardware fault. Therefore, consult your nearest Mitsubishi representative. (1) Use a peripheral device to read the error step and check and correct the program at that step. (Check device setting range, BCD conversion value, etc.)
(1) INT instructions cannot be used in microcomputer programs: eliminate the INT instruction. (2) Implement countermeasures against noise. (3) Replace the CPU. (1) Change the battery. (2) When RAM or power failure compensation is used, connect the battery.
Page 74
7. ERROR CODES 7.2
MELSEC-A
Error Code List for A2ASCPU(S1/S30/S60) Error codes are generated as follows: Table 7.2 Error Code List
Error Message
Error Code (D9008)
Detailed Error Code (D9091)
Error and Cause
Corrective Action
(1),(2) An unrecognized instruction code is being used. (3) A CHG instruction was executed when using an A2ASCPU. (4) When using an A2ASCPU(S1), the LED or LEDC instruction was used to operate the LED indicators on the front of the CPU.
(1) Read the error step by peripheral device and correct the program of that step. (2) Check to see if ROM has an undecodable instruction code and replace with ROM which has the correct content. (3) The CHG instruction cannot be used. Delete the ladder block containing the CHG instruction. (4) The LED and LEDC instructions cannot be used to operate the LED indicators on the front of the CPU.
102
Index is qualifying for a 32-bit constant.
103
The device specified by extension application instruction is incorrect.
Read the error step by peripheral device and correct the program of that step.
104
The program structure of the extension application instruction is incorrect.
105
The command name of the extension application instruction is incorrect.
106
There is a place where index qualifying with Z or V is made in the program in [LEDA/B|IX] to [LEDA/B|IXEND].
107
(1) The device number and set value in the OUT instruction of the timer and counter are qualified by an index. (2) The label number of pointer (P) assigned to a destination head of [CJ], [SCJ], [CALL], [CALLP], [JMP], [LEDA/B|FCALL], [LADA/B|BREAK] instructions or the label number of interrupt pointer (I) assigned to an interrupt program head it is qualified by an index.
108
Error other than 101 to 107 above
“INSTRCT CODE ERR.” 101
10
(Checked at STOP → RUN or during instruction execution)
7–5
Page 75
7. ERROR CODES
MELSEC-A Table 7.2 Error Code List (Continued)
Error Message
Error Code (D9008)
Detailed Error Code (D9091)
“PARAMETER ERROR”
111
11
(Checked at poweron, STOP → RUN, and PAUSE → RUN) “MISSING END INS.” (Checked at STOP → RUN)
12
Error and Cause
Corrective Action
The capacity settings of the main program, microcomputer programs, file register comments, status latch, sampling trace or extension file registers are not within the usable CPU range.
Read the parameters in the CPU memory and rewrite to the memory after checking and correcting the content.
A subprogram was used when using an A2ASCPU-S30.
Subprograms cannot be used.
112
The total of the set capacities of the main program, file register comments, status latch, sampling trace and extension file registers exceed the memory cassette capacity.
113
The latch range in parameters or the M, L, S setting is incorrect.
114
Sum check error
115
Parameter remote RUN/PAUSE contacts, the run mode at error occurrence, the annunciator display mode or the STOP → RUN display mode setting are incorrect.
116
Parameter MNET-MINI automatic refresh setting is incorrect.
117
Parameter timer settings are incorrect.
118
Parameter counter settings are incorrect.
121
There is no END (FEND) instruction in the main program. (1) The device number of pointer (P) or interrupt pointer (I) used as the label added to the destination head is duplicated.
“CAN’T EXECUTE (P)” 131
(2) A CHG instruction was executed when using an A2ASCPU-S30.
13
(Checked at the execution of instruction)
132
The label of pointer (P) specified by [CJ], [SCJ], [CALL], [CALLP], [JMP], [LEDA/B|FCALL], [LEDA/B|BREAK] instructions is not specified prior to the END instruction.
7–6
Read the parameters in the CPU memory and rewrite to the memory after checking and correcting the content.
Write END in main program. (1) Remove the duplicated number of pointer (P) with the destination head and correct so that the number is not duplicated. (2) The CHG instruction cannot be used. Delete the ladder block containing the CHG instruction. Read the error step by peripheral device, check the content, and insert destination pointer (P).
Page 76
7. ERROR CODES
MELSEC-A Table 7.2 Error Code List (Continued)
Error Message
Error Code (D9008)
Detailed Error Code (D9091)
133
134
Even though a subprogram was not set, the [CHG] instruction was found in the program and executed.
Read the error step with the peripheral device, and then elimiinate the [CHG] command circuit.
(1) [LEDA/B|IX] to [LEDA|IXEND] instructions are not written as a set. (2) There are more than 32 sets of [LEDA/B|IX] to [LEDA|IXEND] instructions.
(1) Read the error step by peripheral device, check the content, and correct the program at that step. (2) [LEDA/B|IX] to [LEDA|IXEND] instructions must be less than 33 sets.
141
Instructions other than LDX, LDIX, ANDX and ANIX (including NOP) are in the circuit block lf the [CHK] instruction.
Refer to the content of the detailed error code, and check and correct programs related to the [CHK] instruction.
142
There is more than 1 [CHK] instruction.
143
The number of contact points in the circuit block of the [CHK] instruction exceeds 150.
144
The [LEDA|CHK] and [LEDA|CHKEND] instructions are not written as a set, or there are 2 or more sets.
13
135
“CHK FORMAT ERR.”
14
145
The format of the block shown below preceding the circuit block lf the [CHK] instruction is abnormal. P254
(Checked at STOP/PAUSE → RUN)
Corrective Action
(1) Read the error step by (1) Even though the [CALL] peripheral device, check the instruction is missing, the [RET] content,and correct the instruction has been executed program at that step. since it is in the program. (2) Nesting level for the [CALL], (2) Even though the [FOR] [CALLP], and [FOR] instruction is missing, the instructions must be 5 or less. [NEXT] and [LEDA/B|BREAK] instructions have been executed since they are in the program. (3) Since the nesting level for the [CALL], [CALLP], or [FOR] instruction is 6 or deeper, the 6th level nest has been executed. (4) The [RET] or [NEXT] instruction is missing at execution of the [CALL] or [FOR] instruction.
“CAN’T EXECUTE (P)”
(Checked at the execution of instruction)
Error and Cause
CJ
P[ ][ ]
146
The D1 device number of the [CHK|D1|D2] instruction does not match the contact device number preceding the [CJP] instruction.
147
There is a place where index qualification is made in the check pattern circuit.
7–7
Page 77
7. ERROR CODES
MELSEC-A Table 7.2 Error Code List (Continued)
Error Message
Error Code (D9008)
Detailed Error Code (D9091)
Error and Cause
Refer to the content of the detailed error code, and check and correct programs related to the [CHK] instruction.
148
(1) There is more than 1 check pattern circuit of [LEDA|CHK] to [LEDA|CHKEND] instructions. (2) There are 7 or more check condition circuits in [LEDA|CHK] to [LEDA|CHKEND] instructions. (3) The check condition circuits in [LEDA|CHK] to [LEDA|CHKEND] instructions have been created by instructions other than X and Y contact instructions and comparison instructions. (4) The check pattern circuit of [LEDA|CHK] to [LEDA|CHKEND] instructions has been created by 257 or more steps.
151
The [IRET] instruction exists outside the interrupt program and has been executed.
Read the error step by peripheral device and erase the [IRET] instruction.
152
No [IRET] instruction in the interrupt program.
Check and correct use of [IRET] instruction inside or outside interrupt program.
153
An interrupt module is being used though there is no corresponding interrupt pointer (I). At error occurrence, pointer (I) is stored in D9011.
Monitor special register D9011 by peripheral device, check whether or not there is an interrupt program corresponding to the stored numeric values or whether or not the same number exists for the interrupt pointer (I), and correct.
201
Error of the CPU sequence program storage RAM
Possible hardware fault, consult Mitsubishi representative.
202
Error of the CPU work area RAM
203
CPU device memory error
204
CPU address RAM error
211
The operation circuit executing index qualification in the CPU is not operating normally.
212
The CPU hardware (logic) is not operating normally.
213
The operation circuit executing PC sequence program in the CPU is not operating normally., - Scan time exceeds watchdog error monitor time. (1) User program scan time has increased. (2) Momentary power failure during program scan has caused apparent scan time to increase.
“CHK FORMAT ERR.”
14
(Checked at STOP/PAUSE → RUN) “CAN’T EXECUTE (1)”
15
(Checked at the occurrence of interruption) “RAM ERROR”
20
(Checked at power-on) “OPE CIRCUIT ERR”
21 (Cheked at power-on) “WDT ERROR”
22 (Checked at the execution of END instruction)
7–8
Corrective Action
Possible hardware fault, consult Mitsubishi representative.
(1) Check PC program scan time and reduce using the [CJ] instruction. (2) Check for momentary power failures by monitoring special register D9005.