EasyManuals Logo

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #583 background imageLoading...
Page #583 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 583
ASCII Serial Port Instructions (ABL, ACB, ACL, AHL, ARD, ARL, AWA, AWT) Chapter 17
ASCII Clear Buffer (ACL)
The ACL instruction immediately clears the buffer and ASCII queue.
Operands:
Relay Ladder
Structured Text
The operands are the same as those for the relay ladder ACL instruction.
Description: The ACL instruction immediately performs one or both of the following actions:
· Clears the buffer of characters and clears the ASCII queue of
read instructions
· Clears the ASCII queue of write instructions
Follow these guidelines to program the ACL instruction.
1. Configure the serial port of the controller:
2. To determine if an instruction was removed from the queue or aborted,
examine the following of the appropriate instruction.
· .ER bit is set.
· .ERROR member is 16#E.
Operand Type Format Enter
Channel DINT Immediate
Tag
0
Clear Serial
Port Read
BOOL Immediate
Tag
To empty the buffer and remove ARD and ARL
instructions from the queue, enter Yes.
Clear Serial
Port Write
BOOL Immediate
Tag
To remove AWA and AWT instructions from the
queue, enter Yes.
ASCII Clear Buffer
Channel ?
Clear Serial Port Read ?
Clear Serial Port Write ?
ACL
ACL(Channel,
ClearSerialPortRead,
ClearSerialPortWrite);
If Your Application Then
Uses ARD or ARL instructions Select User mode
Does not use ARD or ARL instructions Select either System or User mode

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals