2 syntax and assembler error codes – Hitachi NJI-350B User Manual

Page 266

Advertising
background image

Chapter 12 Error Code List and Special Internal Outputs

12-3

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

Description of error

Corrective action

H0001

Duplicate definition of
LBL

There are 2 or more LBL instructions with the
same number in the program

Limit the LBL instruction that has
2 or more of the same number to 1.

H0002

Duplicate definition of
FOR

There are 2 or more FOR instructions with the
same number in the program

Limit the FOR instruction that has
2 or more of the same number to 1.

H0003

Duplicate definition of
NEXT

There are 2 or more NEXT instructions with the
same number in the program

Limit the NEXT instruction that
has 2 or more of the same number
to 1.

H0004

Duplicate definition of
SB

There are 2 or more SB instructions with the same
number in the program

Limit the SB instruction that has 2
or more of the same number to 1.

H0005

Duplicate definition of
INT

There are 2 or more INT instructions with the
same number in the program

Limit the INT instruction that has
2 or more of the same number to 1.

H0010

END undefined

There is no END instruction prior to the INT or
SB instructions

Define the END instruction before
the INT or SB instruction.

H0011

RTS undefined

There is no RTS instruction corresponding to the
SB instruction

Define the RTS instruction after
the SB instruction.

H0012

RTI undefined

There is no RTI instruction corresponding to the
INT instruction

Define the RTI instruction after the
INT instruction.

H0013

SB undefined

There is no SB instruction corresponding to the
RTS instruction

Define the SB instruction before
the RTS instruction.

H0014

INT undefined

There is no INT instruction corresponding to the
RTI instruction

Define the INT instruction before
the RTI instruction.

H0020

RTS area error

There is the RTS instruction in the normal scan
area or interrupt scan program area

Define the RTS instruction within
the subroutine area.

H0021

RTI area error

There is the RTI instruction in the normal scan
area or subroutine program area

Define the RTI instruction within
the interrupt scan area.

H0022

END area error

There is the END instruction in the interrupt scan
program area or subroutine program area

Define the END instruction at the
end of the normal scan area.

H0023

CEND area error

There is the CEND instruction in the interrupt
scan program area or subroutine program area

Define the CEND instruction
within the normal scan area.

H0030

RTS start condition error There is a startup condition in the processing box

that includes the RTS instruction

Delete the startup condition of the
processing box.

H0031

RTI start condition error

There is a startup condition in the processing box
that includes the RTI instruction

Delete the startup condition of the
processing box.

H0032

END start condition error There is a startup condition in the processing box

that includes the END instruction

Delete the startup condition of 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

Advertising