Publication 1766-RM001A-EN-P - October 2008
368
ASCII Instructions
This instruction executes immediately upon the rung transitioning to a
true state. Any ASCII transmissions in progress are terminated when the
ACL instruction executes.
Entering Parameters
Enter the following parameters when programming this instruction:
•
Channel
is the number of the RS-232 port, Channel 0.
•
Receive Buffer
clears the Receive buffer when set to “Yes” and
removes the Receive ASCII port control instructions (ARL and ARD)
from the ASCII queue.
•
Transmit Buffer
clears the Transmit buffer when set to “Yes” and
removes the Transmit ASCII port control instructions (AWA and
AWT) from the ASCII queue.
Addressing Modes and File Types can be used as shown below:
Instruction Operation
When Clear Receive Buffer and Clear Transmit Buffer are both set to Yes,
all Receive and Transmit instructions (ARL, ARD, AWA, and AWT) are
removed from the ASCII queue.
TIP
The ASCII queue may contain up to 16 instructions that are waiting to run.
ACL 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 - Comms
IO
S -
I/O
DL
S
- Da
ta
L
o
g
Address
Mode
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG,
PD
RI/RIX
PLS
RTC
HS
C
PTOX, PWMX
STI
EII
BH
I
MMI
LCD
Imme
diate
Di
re
c
t
In
dir
e
ct
Bi
t
Wo
rd
Long
W
o
rd
E
lem
en
t
Channel
•
•
Receive Buffer
•
•
Transmit Buffer
•
•
(1) The Control data file is the only valid file type for the Control Element.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive