EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

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 #598 background imageLoading...
Page #598 background image
598 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 17 ASCII Serial Port Instructions (ABL, ACB, ACL, AHL, ARD, ARL, AWA, AWT)
ASCII Write Append (AWA)
The AWA instruction sends a specified number of characters of the Source tag to
a serial device and appends either one or two predefined characters.
Operands:
Relay Ladder
EN
DN
ER
ASCII Write Append
Channel ?
Source ?
??
SerialPort Control ?
SerialPort Control Length ?
Characters Sent ?
AWA
Operand Type Format Enter Notes
Channel DINT Immediate
Tag
0
Source string
SINT
INT
DINT
Tag Tag that contains the
characters to send:
·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 send ·The Serial Port Control Length must be less than
or equal to the size of the Source.
·If you want to set the Serial Port Control Length
equal to the number of characters in the Source,
enter 0.
Characters Sent DINT Immediate 0 During execution, displays the number of characters
that were sent.

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