Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 12 Error Code List and Special Internal Outputs
12-9
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
condition
Resetting
condition
WRF000
Self-diagnosis error
code
Error code
(Hexadecimal)
WRF001
Syntax/Assembler
error details
Syntax/Assembler error
code (Hexadecimal)
Error code for user program
Syntax/Assembler error is stored
WRF002
Further information
of I/O configuration
error
Mismatched slot number
a: Unit number (0 to 5)
b: Slot number (0 to F)
Set by the
system
Cleared by
user
WRF003
-F00A
Undefined Do not use.
WRF00B
Year 4 digit year [yyyy]
WRF00C
Month / date [mm dd]
WRF00D
Day of the week Sunday: 0000 to Saturday: 0006
WRF00E
Hour / minute [hh mm] (24-hour system)
WRF00F
Calendar and clock
present value
(4 digit BCD)
Seconds [00 ss]
Set by the
system
Always
displayed
WRF010
Scan time
(maximum value)
Max. scan time × 10 ms
WRF011
Scan time
(present value)
Current scan time × 10 ms
WRF012
Scan time
(minimum value)
Min. scan time × 10 ms.
(HFFFF at 1
st
scan)
Cleared by
the system (in
the RUN
starts)
WRF013
CPU status
a: CPU type (0011), b: Battery error (1=error, 0=no error),
c: Not used, d-g: Not used (Fixed to 0),
h: Halt (1=executing, 0=not executing),
i: CPU operation (1=RUN, 0=STOP)
Always
displayed
WRF014
Word internal output
capacity
Number of words for word internal output (WR) = H1000 Always
displayed
WRF015
Operation error code Operation error code
WRF016
Division remainder
register (low word)
Remainder data when division instruction executed
WRF017
Division remainder
register (high word)
Remainder data when division instruction executed
(Used only at double word operation)
Set by the
system
Cleared by
user
WRF018-
F019
Undefined Do not use.
WRF01A
Setting of
Com. port 1
a: Transmission control procedures (0- Standard, 1-Simplified)
b-c: Not used
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
Set by user
Cleared by
user
WRF01B
Year 4 digit year [yyyy]
WRF01C
Month / date [mm dd]
WRF01D
Day of the week Sunday: 0000 to Saturday: 0006
WRF01E
Hour / minute [hh mm] (24-hour system)
WRF01F
Reading or writing
register for calendar
and clock
(4 digit BCD)
Use with R7F8 or
R7F9
Seconds [00 ss]
Set by system
or user
Cleared by
user
WRF020
to F03B
Undefined Do not use.
15 12 11 8 7 4 3 0
0ab0
15 14 13 12 11 8 7 6 5 4 3 2 1 0
Unused a b c d e f g h i
15 14 13 12 8 7 0
a b c d Unused