![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429023.webp)
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
Содержание SYSMAC C200H-ASC02
Страница 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Страница 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Страница 122: ...Appendix B Specifications 115 130 35 100 5 ...
Страница 167: ...Cat No W165 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...