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 #590 background imageLoading...
Page #590 background image
590 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 17 ASCII Serial Port Instructions (ABL, ACB, ACL, AHL, ARD, ARL, AWA, AWT)
ASCII Read (ARD)
The ARD instruction removes characters from the buffer and stores them in the
Destination.
Operands:
Relay Ladder
EN
DN
ER
ASCII Read
Channel ?
Destination ?
??
SerialPort Control ?
SerialPort Control Length ?
Characters Read ?
ARD
Operand Type Format Enter Notes
Channel DINT Immediate
Tag
0
Destination String
SINT
INT
DINT
Tag 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.
·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
Serial Port
Control
SERIAL_PORT_
CONTROL
Tag Tag that controls the operation
Serial Port
Control Length
DINT Immediate Number of characters to move
to the destination (read)
·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.
Characters Read DINT Immediate 0 During execution, displays the number of characters
that were read.

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