Chapter 12

Error Code List and Special Internal Outputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12.5

Word Special Internal Output Area

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The following lists the definitions of the word special internal output area (WRF000 to WRF1FF).

 

 

No.

 

Name

 

 

Storage data

 

 

 

 

 

 

 

Description

 

 

 

 

 

Setting

Resetting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

condition

condition

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF000

 

Self-diagnosis error

Error code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

code

(Hexadecimal)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF001

 

Syntax/Assembler

Syntax/Assembler error

Error code for user program

 

 

 

 

 

 

 

 

 

 

error details

code (Hexadecimal)

Syntax/Assembler error is stored

 

 

 

Set by the

Cleared by

 

WRF002

 

Further information

Mismatched slot number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

of I/O configuration

 

 

 

 

 

 

 

15

 

12

 

 

11

8

7

4

 

3

0

 

system

user

 

 

 

error

 

 

 

 

 

 

 

 

0

 

 

 

 

a

 

 

 

b

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a: Unit number (0 to 5)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b: Slot number (0 to F)

 

 

 

 

 

 

 

 

 

 

WRF003

 

Undefined

Do not use.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-F00A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF00B

Calendar and clock

Year

 

 

 

 

 

4 digit year [yyyy]

 

 

 

 

 

 

 

 

 

 

 

 

WRF00C

present value

Month / date

 

 

[mm dd]

 

 

 

 

 

 

 

 

 

 

 

 

 

Set by the

Always

 

WRF00D

(4 digit BCD)

Day of the week

 

Sunday: 0000 to Saturday: 0006

 

 

 

 

 

 

 

 

system

displayed

 

WRF00E

 

 

Hour / minute

 

 

[hh mm] (24-hour system)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF00F

 

 

Seconds

 

 

 

 

[00 ss]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF010

 

Scan time

Max. scan time ⋅ 10 ms

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(maximum value)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Cleared by

 

WRF011

 

Scan time

Current scan time ⋅ 10 ms

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the system (in

 

 

 

(present value)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the RUN

 

WRF012

 

Scan time

Min. scan time ⋅ 10 ms.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

starts)

 

 

 

(minimum value)

(HFFFF at 1st scan)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF013

 

CPU status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

 

12

11

8

 

7

 

6

5

4

3

2

 

1

 

0

 

 

 

 

 

 

 

 

 

 

Unused

 

a

 

 

 

b

 

c

 

d

e

 

f

g

 

h

 

i

 

Set by the

Always

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a: CPU type (0011),

b: Battery error (1=error,

0=no error),

displayed

 

 

 

 

system

 

 

 

 

c: Not used,

 

 

d-g: Not used (Fixed to 0),

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

h: Halt (1=executing, 0=not executing),

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

i: CPU operation (1=RUN, 0=STOP)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF014

 

Word internal output

Number of words for word internal output (WR) = H1000

 

 

 

 

 

 

Always

 

 

 

capacity

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

displayed

 

WRF015

 

Operation error code

Operation error code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF016

 

Division remainder

Remainder data when division instruction executed

 

 

 

 

 

 

 

 

Cleared by

 

 

 

register (low word)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

user

 

WRF017

 

Division remainder

Remainder data when division instruction executed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

register (high word)

(Used only at double word operation)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF018-

Undefined

Do not use.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F019

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRF01A

Setting of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Com. port 1

15

14

13

 

12

 

8

 

7

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

a

b

c

 

 

d

 

 

 

 

 

 

 

 

Unused

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a: Transmission control procedures (0- Standard, 1-Simplified)

Set by user

Cleared by

 

 

 

 

b-c: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

user

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

d:Baud rate during modem connection

=00000: 4800 bps, = 00001: 9600 bps, = 00010: 19.2 kbps

=00011: 38.4 kbps, = 00100: 57.6 kbps, = 00101: 2400 bps

=4800 bps for other than the above

WRF01B

Reading or writing

Year

4 digit year [yyyy]

 

 

WRF01C

register for calendar

Month / date

[mm dd]

 

 

WRF01D

and clock

Day of the week

Sunday: 0000 to Saturday: 0006

Set by system

Cleared by

WRF01E

(4 digit BCD)

Hour / minute

[hh mm] (24-hour system)

or user

user

 

Use with R7F8 or

 

 

 

 

WRF01F

Seconds

[00 ss]

 

 

 

R7F9

 

 

 

 

WRF020

Undefined

Do not use.

 

 

 

to F03B

 

 

 

 

 

12-9

Page 272
Image 272
Hitachi NJI-350B manual 12.5, Name Storage data, Setting Resetting Condition, 12-9