
37
IR/CIO Area Allocations
Section 3-1
Note
1.
An OR can be taken of DIFU/DIFD instructions to detect changes in the
status of the Interrupt Subroutine Completed Flag. This flag can be used
when executing an IORD instruction (#00
@@
) when a PC EPUT command
is received during a subroutine.
2.
The data set in these words by execution of the PC QREAD/PC QWRITE
commands is used for monitoring from the CPU Unit. Actual data transfer
is performed according to the operands specified for the IOWR/IORD
(#FD00) instructions. Care is required for CS1-series PCs because the ad-
dressing range for PC QREAD and PC QWRITE is different from that for
IOWR/IORD (#FD00). Dummy addresses can be used when the desired
addresses cannot be addressed directly with PC QREAD/PC QWRITE.
Refer to
6-3 Details of the Data Exchange Methods
for details on page 75.
n + 6
00 to
15
Input Data
The data (16 bit) transferred from the
ASCII Unit to the CPU Unit by a PC PUT
command at the ASCII Unit.
The ASCII Unit’s PC PUT command writes
data to the IR/CIO words allocated to the
ASCII Unit. After the next I/O refresh, this
16-bit, 8-bit or 1-bit data is read using the
CPU Unit’s MOV or LD instruction.
n + 7
00 to
11
Error Code
Error code
Each time word n bit 06 changes status (ON
to OFF or OFF to ON) in the CPU Unit, the
next newest error code and error type are
read from the ASCII Unit’s error code table,
and stored in the CPU Unit.
12 to
15
Error Type
B: BASIC error
0: System error
1: Port 1 communications error
2: Port 2 communications error
3: Terminal port communications error
(C200H-ASC31 only)
n + 8
00 to
11
No. of Trans-
fer Words
The number of words transferred when the
ASCII Unit’s PC QREAD/PC QWRITE
command is executed. (1 to 128)
The ASCII Unit writes data for these words
when the PC QREAD/PC QWRITE com-
mands are executed, and then sets the
IORD/IOWR Request Flag in word n + 5 bit
14/15. When the user program in the CPU
Unit detects the ON status of the flag using
an LD instruction, it can access the words
using the IORD/IOWR (#FD00) instructions.
(See note 2.)
12 to
15
Transfer Data
Area
The memory area for the ASCII Unit PC
QREAD/PC QWRITE commands.
No.
Data area
C200HX/HG/HE,
C200H, C200HS
CS1 Series
0
DM Area
1
IR Area
CIO Area
2
LR Area
Data Link Area
3
HR Area
H000 to H099 in
Holding Area
4
AR Area
H100 to H127 in
Holding Area
5
EM Area (bank number 0 only)
6
TC Area
Timer Area
n + 9
00 to
15
First Transfer
Word
(address)
The first word to be transferred (CPU Unit
memory address) for the ASCII Unit’s PC
QREAD/PC QWRITE commands.
Word
Bit
Name
Function
Use
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...