Ascii Clear Receive And/Or Transmit Buffer (Acl) - Allen-Bradley SLC 500 Series Reference Manual

Hide thumbs Also See for SLC 500 Series:
Table of Contents
ASCII Clear Receive and/or
Transmit Buffer (ACL)
ACL
ACL
Ascii Clear Buffers
Channel
Receive Buffer
Transmit Buffer
Fixed SLC
SLC
SLC
5/01
5/02
5/03
Output Instruction
Use this instruction to clear an ASCII buffer. ASCII instructions are removed
from the queue and then the Error bit (ER) is set. This instruction clears the
ASCII buffers immediately upon the rung transitioning to a true state. The
instruction works when the channel is in User Mode or System Mode
configured for DF1 Full-duplex or Half-duplex drivers. In System Mode, only
0
Yes
the ASCII transmit buffer can be cleared.
No
For OS Series C, FRN 7 and higher, the ACL instruction can also be used to
SLC
SLC
clear the DF1 communication buffers when the channel is configured for any
5/04
5/05
of the DF1 communication drivers. Select 0 for the channel number and Yes
for both the receive and transmit buffers. When the ACL instruction is
executed, any pending outgoing DF1 replies, incoming DF1 commands, and
outgoing DF1 commands are flushed. Any MSG instructions in progress on
that channel will error out with an error code of 0x0C. The DF1
communication buffers are cleared at end-of-scan or during REF instruction
execution.
IMPORTANT
In addition, for SLC 5/03 processors with OS302 Series C, FRN 7 or higher,
the ACL instruction can be used to clear the Local Passthru Queue when
channel 0 is configured for DF1 and the DF1 Remote/Local Passthru bit
(S:34/6) is set to Local. Select No for the receive buffer and Yes for the
transmit buffer.
For OS Series C, FRN 7 and higher, when the ACL
instruction is executed with both the Receive Buffer
and Transmit buffer set to Yes while channel 0 is in
System Mode and configured for DF1, two actions
occur.
• The ASCII transmit buffer is cleared and any AWA
and AWT instructions in the ASCII queue are
removed.
• Any pending outgoing DF1 replies, incoming DF1
commands, and outgoing DF1 commands are
flushed.
Publication 1747-RM001G-EN-P - November 2008
ASCII Instructions
10-9
Table of Contents
loading

Table of Contents