12
Bit Definitions
I/O
Word No.
Bit
Name
Function
Output
n
00
---
Not used
(n = 100 +
10 x unit
no.)
01
WRITE (PC to
ASCII)
This bit is used as a flag. When this flag is set (”1”) and
the PC READ command is executed, a specified
quantity of data will be transferred from the PC to the
ASCII Unit, starting from a specified word. When this
flag is cleared (”0”), execution of PC READ will be
terminated.
The interrupt numbers used by the ON PC GOSUB
command become valid at the positive transition (i.e.,
from OFF to ON) of this flag.
02
READ (ASCII to
PC)
This bit is used as a flag. When this flag is set and the
PC WRITE command is executed, a specified quantity
of data will be transferred from the ASCII Unit to the
PC. When this flag is cleared, execution of the PC
WRITE command will be terminated.
03
Restart
The ASCII Unit is initialized and restarted at the
negative transition of this flag (i.e., from ON to OFF).
When this flag is set, the ASCII Unit is initialized.
04 to 07
Interrupt number
These four bits constitute an interrupt number that is
used when the ON PC command is executed. These
bits are read as a hexadecimal number; numbers 01 to
15 are treated as interrupt numbers while 00 is
ignored.
08 to 15
Output data
These bits constitute PC data. This data is written to
the ASCII Unit with MOV and read from the PC with
the PC GET command in the BASIC program.
Note: In addition to raw data, 8-bit address data can
also be transferred to the ASCII Unit to facilitate
branching within the BASIC program.
n + 1
00 to 11
Number of data
words to be
transferred
These bits specify the number of words to be
transferred by the PC READ or PC WRITE command.
The number of words may not exceed 255.
12 to 15
---
Not used
Data Section
Section 2-2
Summary of Contents for SYSMAC C200H-ASC02
Page 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Page 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Page 122: ...Appendix B Specifications 115 130 35 100 5 ...
Page 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...