Omron SYSMAC C200H-ASC02 Operation Manual page 24

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

Advertisement

Data Section
Bit Definitions Continued
I/O
Word No.
Output (n =
n + 2
100 + 10 x
unit no.)
Input
n + 3
(n = 100 +
10
x unit no.)
Bit
Name
00 to 12
Transfer base word
No.
13 to 15
PC memory
00
ASCII busy
01 to 03
---
04
Port 1 error
05
Port 2 error
06
Battery error
07
BASIC RUN
08
Input data
Function
These bits specify the PC base word (the first word
from which data is accessed) for data transfer.
These bits specify the section of the PC memory from which
data will be transferred between the PC and ASCII Unit with
the PC READ or PC WRITE command.
Bit No.
Data Area
15
14
13
0
0
0
DM Area
0
0
1
IR Area
0
1
0
HR Area
0
1
1
AR Area
1
0
0
LR Area
1
0
1
TC Area
This bit is used as a flag that is set during data
transfer.
Not used
This bit is used as an error flag that is set if a
transmission error (such as parity error) has occurred
in port 1.
This bit is used as an error flag; it is set if a
transmission error (such as parity error) has occurred
in port 2.
This bit is used as a flag that is set when the supply
voltage of the built-in battery has dropped below the
rated level or the battery is not correctly connected.
This flag is set while the BASIC program is running.
These bits constitute data that is transferred from the
ASCII Unit to the PC. The data is written to the PC with
the ASCII Unit PC PUT command and is read by the
PC with the MOV.
Note: In addition to raw data, 8-bit control data can
also be transferred to the PC to facilitate branching
within the PC program.
Section 2-2
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents