Publication 1766-RM001A-EN-P - October 2008
382
ASCII Instructions
•
Channel Status
displays the current status (0000…001F) of the
handshake lines for the specified channel. This status is read-only
and resides in the .POS field in the control data file. The following
shows how to determine the channel status value. In this example,
the value is 001F.
•
Error
displays the hexadecimal error code that indicates why the
ER bit was set in the control data file. See page 390 for error code
descriptions.
Addressing Modes and File Types can be used as shown below:
Instruction Operation
This instruction executes on either a false or true rung. However a
false-to-true rung transition is required to set the EN bit to repeat the
instruction.
Table 21.3
Channel
Status Bit
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3
2
1
0
Handshake
Control
Line
Setting
Reserved
--
--
RT
S
CT
S
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
Channel
Status
0
0
1
F
Word 2 of the Control Element = 001F
AHL Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 92.
Parameter
Data Files
(1)
Function Files
CS - Com
m
s
IOS
-
I/O
DL
S -
D
a
ta
Log
Address
Mode
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTOX, PW
MX
STI
EII
BH
I
MMI
LCD
Immedia
te
Dir
e
c
t
Indir
e
ct
Bit
Wo
rd
Long W
o
rd
Ele
m
ent
Channel
•
•
AND Mask
•
•
•
•
•
•
•
•
•
OR Mask
•
•
•
•
•
•
•
•
•
Control •
•
•
(1) The Control data file is the only valid file type for the Control Element.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive