
33
IR/CIO Area Allocations
Section 3-1
Word
Bit
Name
Function
Use
n
00
Not used
---
---
01
Write Bit
1: Establishes the execution conditions for
PC READ (Data transferred from CPU
Unit to ASCII Unit according to the spec-
ified First Transfer Word and Number of
Transfer Words.)
0: PC READ execution wait.
When this bit is turned ON by the user pro-
gram in the CPU Unit, data is transferred
according to the PC READ command at the
ASCII Unit.
02
Read Bit
1: Establishes the execution conditions for
PC WRITE (Data transferred from ASCII
Unit to CPU Unit according to the speci-
fied First Transfer Word and Number of
Transfer Words.)
0: PC WRITE execution wait.
When this bit is turned ON by the user pro-
gram in the CPU Unit, data is transferred
according to the PC WRITE command at the
ASCII Unit.
03
Not used
---
---
04
PC Interrupt
Bit
0 to 1: Sends an interrupt to the ASCII
Unit.
The interrupt subroutine for the ON PC
GOSUB is branched to when this bit
changes from 0 to 1.
When this bit is switched from OFF to ON by
the user program in the CPU Unit, an inter-
rupt is sent to the ASCII Unit.
It is necessary to set the interrupt number in
n + 2 bits 0 to 7 when using the PC Interrupt
Bit.
05
Sync Time
Set Bit
0 to 1: Sets the ASCII Unit RTC according
to the CPU Unit RTC.
The time on the clock in the ASCII Unit is set
to the time on the clock in the CPU Unit.
06
Error Code
Read Bit
0 to 1, 1 to 0: Reads the error code to n +
7.
By toggling this bit (0 to 1, 1 to 0) the last
error code from the ASCII Unit’s internal
error log can be read and set in n + 7.
The error status in the ASCII Unit will not be
cleared when the error code is read using
this bit.
07 to
15
Output Data
Data transferred from the CPU Unit to the
ASCII Unit. The ASCII Unit reads this data
via the BASIC program’s PC GET com-
mand.
The CPU Unit writes data here using the
MOV instruction in the user program. The
ASCII Unit can read this data via the PC
GET command.
n + 1
00 to
15
Output Data
Data transferred from the CPU Unit to the
ASCII Unit. The ASCII Unit reads this data
via the BASIC program’s PC GET com-
mand.
The CPU Unit writes data here using the
MOV instruction in the user program. The
ASCII Unit can read this data via the PC
GET command.
n + 2
00 to
07
Interrupt
Number
00 to 99 BCD (2-digit)
When the ON PC GOSUB command inter-
rupt number and this interrupt number are
the same and the PC Interrupt Bit changes
from OFF to ON, an interrupt will be sent
from the CPU Unit to the ASCII Unit. The
interrupt subroutine will be executed in
response.
08 to
15
Not used
---
---
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...