Omron SYSMAC C200H-ASC02 Operation Manual page 23

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

Data Section
Bit Definitions
I/O
Word No.
Output
n
(n = 100 +
10 x unit
no.)
n + 1
12
Bit
Name
00
---
01
WRITE (PC to
ASCII)
02
READ (ASCII to
PC)
03
Restart
04 to 07
Interrupt number
08 to 15
Output data
00 to 11
Number of data
words to be
transferred
12 to 15
---
Function
Not used
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.
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.
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.
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.
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.
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.
Not used
Section 2-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents