Chapter 12 Error Code List and Special Internal Outputs

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

There are 2 or more LBL instructions with the

Limit the LBL instruction that has

 

LBL

same number in the program

2 or more of the same number to 1.

H0002

Duplicate definition of

There are 2 or more FOR instructions with the

Limit the FOR instruction that has

 

FOR

same number in the program

2 or more of the same number to 1.

H0003

Duplicate definition of

There are 2 or more NEXT instructions with the

Limit the NEXT instruction that

 

NEXT

same number in the program

has 2 or more of the same number

 

 

 

to 1.

H0004

Duplicate definition of

There are 2 or more SB instructions with the same

Limit the SB instruction that has 2

 

SB

number in the program

or more of the same number to 1.

H0005

Duplicate definition of

There are 2 or more INT instructions with the

Limit the INT instruction that has

 

INT

same number in the program

2 or more of the same number to 1.

H0010

END undefined

There is no END instruction prior to the INT or

Define the END instruction before

 

 

SB instructions

the INT or SB instruction.

H0011

RTS undefined

There is no RTS instruction corresponding to the

Define the RTS instruction after

 

 

SB instruction

the SB instruction.

H0012

RTI undefined

There is no RTI instruction corresponding to the

Define the RTI instruction after the

 

 

INT instruction

INT instruction.

H0013

SB undefined

There is no SB instruction corresponding to the

Define the SB instruction before

 

 

RTS instruction

the RTS instruction.

H0014

INT undefined

There is no INT instruction corresponding to the

Define the INT instruction before

 

 

RTI instruction

the RTI instruction.

H0020

RTS area error

There is the RTS instruction in the normal scan

Define the RTS instruction within

 

 

area or interrupt scan program area

the subroutine area.

H0021

RTI area error

There is the RTI instruction in the normal scan

Define the RTI instruction within

 

 

area or subroutine program area

the interrupt scan area.

H0022

END area error

There is the END instruction in the interrupt scan

Define the END instruction at the

 

 

program area or subroutine program area

end of the normal scan area.

H0023

CEND area error

There is the CEND instruction in the interrupt

Define the CEND instruction

 

 

scan program area or subroutine program area

within the normal scan area.

H0030

RTS start condition error

There is a startup condition in the processing box

Delete the startup condition of the

 

 

that includes the RTS instruction

processing box.

H0031

RTI start condition error

There is a startup condition in the processing box

Delete the startup condition of the

 

 

that includes the RTI instruction

processing box.

H0032

END start condition error

There is a startup condition in the processing box

Delete the startup condition of the

 

 

that includes the END instruction

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

12-3

Page 266
Image 266
Hitachi NJI-350B manual Syntax and Assembler Error Codes, Lbl, For, Int, 12-3