Chapter 12 Error Code List and Special Internal Outputs
12-4
12.3 Operation Error Codes
If an error occurs when a control instruction is executed, “1” is set in the operation error (ERR) special internal output
“R7F3” and an error code (hexadecimal) indicating the description of the error is set in WRF015.
To clear the operation errors to zeros, execute “R7F3=0” using a forced setting from a program or peripheral unit. To
clear the error codes to zeros, execute “WRF015=0” using a forced setting from a program or peripheral unit.
Error code
Error name
Description of error
Originating
instruction
H0013
SB undefined
SBn instruction corresponding to the instruction
number n in the CALn instruction is not
programmed
CAL
H0015
LBL undefined
LBLn instruction corresponding to the instruction
number n in the JMPn and CJMPn instructions is
not programmed
JMP
CJMP
H0016
FOR undefined
FORn instruction corresponding to the instruction
number n in the NEXTn instruction is not
programmed
NEXT
H0017
NEXT undefined
NEXTn instruction corresponding to the
instruction number n in the FORn instruction is
not programmed
FOR
H0040
LBL area error
LBLn instruction corresponding to the instruction
number n in the JMPn and CJMPn instructions is
not programmed in the same program area
JMP
CJMP
H0041
CAL nesting overflow
There are more than 6 levels of subroutine nesting CAL
H0042
CAL undefined
RTS instruction was executed without executing
the CAL instruction
RTS
H0043
FOR to NEXT error
There is a NEXTn with the same instruction
number n prior to the FORn instruction
FOR
H0044
NEXT area error
There is no NEXTn instruction with the same
instruction number n as the FORn instruction in
the same program area
FOR
H0045
FOR to NEXT nesting
overflow
The FORn and NEXTn instructions are not nested FOR
H0046
FOR nesting overflow
There are more than 6 nesting levels of FOR to
NEXT
FOR
NEXT
Summary of Contents for HIDIC MICRO-EH
Page 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Page 12: ...MEMO ...
Page 14: ...Chapter 1 Features 1 2 MEMO ...
Page 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Page 196: ...Chapter 5 Instruction Specifications 5 146 ...
Page 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...