Mitsubishi Electronics A171SHCPUN Home Security System User Manual


 
5. INSPECTION AND MAINTENANCE
5
20
(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
Error
Contents (BIN)
of Special
Register D9008
CPU
Status
Error Description and Cause Corrective Action
"INSTRCT
CODE ERR."
10 STOP
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.
(1) Read the error step with the
peripheral device and modify the
program at this step.
"PARAMETER
ERROR"
11 STOP
The contents of the CPU memory
parameters has been changed by
noise.
(1) Read the CPU memory
parameters with the peripheral
device, check and correct the
contents, and rewrite to
memory.
"MISSING
END INS."
12 STOP
(1) No END (FEND) instruction in
program.
(1) Write an END instruction at the
end of the program.
"CAN'T
EXECUTE (P)"
13 STOP
(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.
(1) Read the error step with the
peripheral device and correct
the program (insert jump
destination, eliminate duplicate
jump destinations, etc.).