Syntax And Assembler Error Codes - Hitachi HIDIC MICRO-EH Applications Manual

Table of Contents

Advertisement

12.2 Syntax and Assembler Error Codes

The following describes the syntax and Assembler error codes. The error codes are output as hexadecimal values to the
internal output WRF001. The syntax and Assembler error checks are performed at the time of RUN startup.
Error code
Error item
H0001
Duplicate definition of
LBL
H0002
Duplicate definition of
FOR
H0003
Duplicate definition of
NEXT
H0004
Duplicate definition of
SB
H0005
Duplicate definition of
INT
H0010
END undefined
H0011
RTS undefined
H0012
RTI undefined
H0013
SB undefined
H0014
INT undefined
H0020
RTS area error
H0021
RTI area error
H0022
END area error
H0023
CEND area error
H0030
RTS start condition error There is a startup condition in the processing box
H0031
RTI start condition error
H0032
END start condition error There is a startup condition in the processing box
Syntax and Assembler error checks by the task code
The undefined contents of the syntax, Assembler and operation error codes will be checked.
However, error codes will not be set in WRF001
Chapter 12 Error Code List and Special Internal Outputs
Description of error
There are 2 or more LBL instructions with the
same number in the program
There are 2 or more FOR instructions with the
same number in the program
There are 2 or more NEXT instructions with the
same number in the program
There are 2 or more SB instructions with the same
number in the program
There are 2 or more INT instructions with the
same number in the program
There is no END instruction prior to the INT or
SB instructions
There is no RTS instruction corresponding to the
SB instruction
There is no RTI instruction corresponding to the
INT instruction
There is no SB instruction corresponding to the
RTS instruction
There is no INT instruction corresponding to the
RTI instruction
There is the RTS instruction in the normal scan
area or interrupt scan program area
There is the RTI instruction in the normal scan
area or subroutine program area
There is the END instruction in the interrupt scan
program area or subroutine program area
There is the CEND instruction in the interrupt
scan program area or subroutine program area
that includes the RTS instruction
There is a startup condition in the processing box
that includes the RTI instruction
that includes the END instruction
12-3
Corrective action
Limit the LBL instruction that has
2 or more of the same number to 1.
Limit the FOR instruction that has
2 or more of the same number to 1.
Limit the NEXT instruction that
has 2 or more of the same number
to 1.
Limit the SB instruction that has 2
or more of the same number to 1.
Limit the INT instruction that has
2 or more of the same number to 1.
Define the END instruction before
the INT or SB instruction.
Define the RTS instruction after
the SB instruction.
Define the RTI instruction after the
INT instruction.
Define the SB instruction before
the RTS instruction.
Define the INT instruction before
the RTI instruction.
Define the RTS instruction within
the subroutine area.
Define the RTI instruction within
the interrupt scan area.
Define the END instruction at the
end of the normal scan area.
Define the CEND instruction
within the normal scan area.
Delete the startup condition of the
processing box.
Delete the startup condition of the
processing box.
Delete the startup condition of the
processing box.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents