Ascii Read (Ard); Relay Ladder - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 17
ASCII Serial Port Instructions (ABL, ACB, ACL, AHL, ARD, ARL, AWA, AWT)

ASCII Read (ARD)

ARD
ASCII Read
Channel
Destination
SerialPort Control
SerialPort Control Length
Characters Read
Operand
Type
Channel
DINT
Destination
String
SINT
INT
DINT
Serial Port
SERIAL_PORT_
Control
CONTROL
Serial Port
DINT
Control Length
Characters Read
DINT
590
The ARD instruction removes characters from the buffer and stores them in the
Destination.
Operands:

Relay Ladder

EN
?
?
DN
??
?
ER
?
?
Format
Immediate
Tag
Tag
Tag
Immediate
Immediate
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Enter
0
Tag into which the characters
are moved (read):
·For a string data type, enter
the name of the tag.
·For a SINT, INT, or DINT
array, enter the first
element of the array.
Tag that controls the operation
Number of characters to move
to the destination (read)
0
Notes
·If you want to compare, convert, or manipulate
the characters, use a string data type.
·String data types are:
·
default STRING data type
·
any new string data type that you create
·The Serial Port Control Length must be less than
or equal to the size of the Destination.
·If you want to set the Serial Port Control Length
equal to the size of the Destination, enter 0.
During execution, displays the number of characters
that were read.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents