APPENDICES
APP
−
1
APPENDICES
APPENDIX1 SCPU ERROR CODE LIST
If an error occurs when the PLC is switched to the RUN status or is in the RUN
status, the error indication and error code (including the step number) are stored in
a special register by the self-diagnosis function. When an error occurs, refer to
Table 1.1 for its cause and the corrective action to take.
Eliminate the cause of the error by taking the appropriate corrective action.
Error codes can be read at a peripheral device; for details on the relevant
operation, see the Operating Manual for the peripheral device.
CAUTION
When an error occurs, check the points stated in this manual and reset the error.
1.1
SCPU Error Code List
The list presented below gives the error numbers, and the error contents, causes,
and corrective actions for each error message.
Table 1.1 Error Code List
Error Message
(When an A273UHCPU
(8/32 Axes Specification) Is Used)
Contents of
Special
Register
D9008
(BIN Value)
CPU
Status
Error Contents and Cause
Corrective Action
"INSTRCT.CODE ERR"
(When an instruction is executed.)
10
Stopped
An instruction code that cannot be decoded has been
included in the program.
(1) A ROM which includes undecodable instruction
codes has been installed.
(2) The memory contents have changed for some
reason and now include an undecodable instruction
code.
(1) Read the error step with a
peripheral device, and correct the
program at that step.
(2) If the ROM is the problem, either
rewrite its contents or replace it
with a ROM into which the correct
contents have been written.
"PARAMETER ERROR"
On switching on the power or resetting.
On switching from
STOP
PAUSE
to
RUN
STEP RUN
11
Stopped
The parameter data in the CPU’s memory has been
changed due to noise or incorrect installation of the
memory.
(1) Check the installation of the
memory and install it correctly.
(2) Read the parameter data of the
CPU memory at a peripheral
device, check the data, correct it,
and write the corrected data back
into the memory.
"MISSING END INS."
When M9056 or M9057 is ON.
On switching from
STOP
PAUSE
to
RUN
STEP RUN
12
Stopped
(1) There is no END (FEND) instruction in the program.
(2) When a subprogram is set in the parameters, there
is no END instruction in the subprogram.
(1) Write an END instruction at the end
of the program.
"CAN'T EXECUTE (P)"
When a CJ/SCJ/JMP/CALL(P)/
FOR-NEXT instruction is executed.
On switching from
STOP
PAUSE
to
RUN
STEP RUN
13
Stopped
(1) The jump destination designated with a
CJ/SCJ/CALL/CALLP/JMP instruction does not exist,
or more than one exists.
(2) There is a CHG instruction but no subprogram is set.
(3) Although there is no CALL instruction, there is a
RET instruction in the program and is has been
executed.
(4) A CJ/SCJ/CALL/CALLP/JMP instruction whose jump
destination is at or beyond the END instruction has
been executed.
(5) The number of FOR instructions does not match the
number of NEXT instructions.
(6) A JMP instruction has been included between a
FOR and NEXT command, exiting the FOR - NEXT
sequence.
(7) The subroutine has been exited by execution of a
JMP instruction before execution of a RET
instruction.
(8) Execution of a JMP instruction has caused a jump
into a step in a FOR - NEXT range, or into a
subroutine.
(1) Read the error step with a
peripheral device, and correct the
program at that step.(Correct, for
example, by inserting a jump
destination, or making sure there is
only one jump destination.)