Mitsubishi Electric A173UHCPU User Manual page 131

Motion controller
Hide thumbs Also See for A173UHCPU:
Table of Contents

Advertisement

5. INSPECTION AND MAINTENANCE
Contents (BIN)
Error
Register D9008
"INSTRCT
CODE ERR."
"PARAMETER
ERROR"
"MISSING
END INS."
"CAN'T
EXECUTE (P)"
(10) Table of Error Codes of SCPU
If an error occurs when RUN is executed or during CPU module operation, the self-
diagnosis function displays an error or stores an error code (including step number)
in the special registers. Table 5.9 shows the methods for reading the error codes
when an error occurs and describes how to check and correct the error. Take the
corrective action described to eliminate the cause of the error.
Table 5.9 Table of Error Codes
CPU
of Special
Status
10
STOP
11
STOP
12
STOP
13
STOP
Error Description and Cause
The CPU could not decode an
instruction code in the program.
(1) The memory contents have been
changed for some reason and
include instruction codes which
cannot be decoded.
The contents of the CPU memory
parameters has been changed by
noise.
(1) No END (FEND) instruction in
program.
(1) The jump destination designated
by the CJ/SCJ/CALL/CALLP/JMP
instruction does not exist or is
duplicated.
(2) RET instruction exists in program
but no CALL instruction.
(3) The jump destination of a
CJ/SCJ/CALL/CALLP/JMP
instruction is after the END
instruction.
(4) The number of FOR instructions
does not match the number of
NEXT instructions.
(5) A JMP instruction between a FOR
and NEXT instruction jumps out of
the FOR-NEXT loop.
A JMP instruction before the RET
instruction jumps out of the sub-
routine.
(6) A JMP instruction destination is a
step between a FOR and NEXT
instruction or into a sub-routine.
5 − 20
Corrective Action
(1) Read the error step with the
peripheral device and modify the
program at this step.
(1) Read the CPU memory
parameters with the peripheral
device, check and correct the
contents, and rewrite to
memory.
(1) Write an END instruction at the
end of the program.
(1) Read the error step with the
peripheral device and correct
the program (insert jump
destination, eliminate duplicate
jump destinations, etc.).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A172shcpunA171shcpun

Table of Contents