
36
IR/CIO Area Allocations
Section 3-1
Word
Bit
Name
Function
Use
n + 5
00
ASCII Busy
Flag
1: The ASCII Unit is exchanging data with
the CPU Unit.
There is an error in the DM settings.
The ROMSAVE command is being exe-
cuted and data is being transferred to
the flash ROM.
0: Transfer is not occurring.
When this flag is ON, the next transfer with
the ASCII Unit should not be executed in the
user program in the CPU Unit.
Use this flag’s address in an NC input condi-
tion for an OUT instruction controlling the
Read Flag and Write Flag outputs to the
ASCII Unit or as an NC input condition for
the IOWR (#00
@@
) instruction.
01
PC Interrupt
Subroutine
Completed
Flag
Turns ON when the interrupt subroutine at
the PC is completed.
Until this bit toggles, subroutine results are
not yet available. (See Note.)
02
System
BASIC Error
Flag
1: System error or BASIC error
0: Normal
---
03
Terminal Port
Error Flag
1: Communications error at the terminal
port
0: Normal
These bits are cleared by executing an ERC
command.
04
Port 1 Error
Flag
1: Port 1 transmission error (parity error,
reception buffer overflow, etc.)
0: Normal
05
Port 2 Error
Flag
1: Port 2 transmission error (parity error,
reception buffer overflow, etc.)
0: Normal
06
Battery Error
Flag
1: Battery voltage drop or no battery con-
nected
0: Normal
---
07
BASIC RUN
Flag
1: BASIC program running
0: BASIC program stopped
---
08
Error Code
Type
1: New
0: Old
This flag shows whether the error for the
error code being read was generated before
the last RUN.
09
PC Interrupt
Fail Flag
1: PC Interrupt has failed
0: Normal
This flag turns ON when a PC interrupt fails
due to the PC OFF (stop interrupt) condition
in the ASCII Unit. The PC Interrupt Bit will
turn ON for the next cycle and will turn OFF
for the following cycle.
10 to
13
Not used
---
---
14
IORD
Request Flag
1: IORD (#FD00) execution request by the
ASCII Unit to the CPU Unit
(When a PC QWRITE command is exe-
cuted, this flag turns ON automatically,
and after the data is transferred by the
CPU Unit using the IORD (#FD00)
instruction, it automatically turns OFF at
the next I/O refresh period.)
0: No request
This flag automatically turns ON when a PC
QWRITE command is executed to request
execution of an IORD (#FD00) instruction
from the CPU Unit.
15
IOWR
Request Flag
1: IOWR (#FD00) execution request by the
ASCII Unit to the CPU Unit
(When a PC QREAD command is exe-
cuted, this flag turns ON automatically,
and after the data is transferred by the
CPU Unit using the IOWR (#FD00)
instruction, it automatically turns OFF at
the next I/O refresh period.)
0: No request
This flag automatically turns ON when a PC
QREAD command is executed to request
execution of an IOWR (#FD00) instruction
from the CPU Unit.
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...