Operation Error Codes - Hitachi HIDIC MICRO-EH Applications Manual

Table of Contents

Advertisement

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
H0013
H0015
H0016
H0017
H0040
H0041
H0042
H0043
H0044
H0045
H0046
Error name
SB undefined
SBn instruction corresponding to the instruction
number n in the CALn instruction is not
programmed
LBL undefined
LBLn instruction corresponding to the instruction
number n in the JMPn and CJMPn instructions is
not programmed
FOR undefined
FORn instruction corresponding to the instruction
number n in the NEXTn instruction is not
programmed
NEXT undefined
NEXTn instruction corresponding to the
instruction number n in the FORn instruction is
not programmed
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
CAL nesting overflow
There are more than 6 levels of subroutine nesting CAL
CAL undefined
RTS instruction was executed without executing
the CAL instruction
FOR to NEXT error
There is a NEXTn with the same instruction
number n prior to the FORn instruction
NEXT area error
There is no NEXTn instruction with the same
instruction number n as the FORn instruction in
the same program area
FOR to NEXT nesting
The FORn and NEXTn instructions are not nested FOR
overflow
FOR nesting overflow
There are more than 6 nesting levels of FOR to
NEXT
Chapter 12 Error Code List and Special Internal Outputs
Description of error
12-4
Originating
instruction
CAL
JMP
CJMP
NEXT
FOR
JMP
CJMP
RTS
FOR
FOR
FOR
NEXT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents