EasyManua.ls Logo

Allen-Bradley PLC-5 - Page 328

Allen-Bradley PLC-5
388 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1785-UM012D-EN-P - July 2005
D-28 Instruction Set Quick Reference
ASCII String Extract
AEX
If input conditions are true, the controller extracts 10
characters starting at the 42nd character of ST38:40 and
store the result in ST52:75.
Convert Integer to
ASCII String
AIC
If input conditions are true, the controller converts the value
876 to a string and store the result in ST38:42.
ASCII Handshake
Lines
AHL
Status Bits:
EN-Enable
DN-Done Bit
ER-Error Bit
If input conditions go from false-to-true, the controller uses
the AND and OR masks to determine whether to set or
reset the DTR (bit 0) and RTS (bit 1) lines, or leave them
unchanged. Bit 0 and 1 of the AND mask cause the line(s) to
reset if 1 and leave the line(s) unchanged if 0. BIt 0 and 1 of
the OR mask cause the line(s) to set if 1 and leave the
line(s) unchanged if 0.
See page F-8 for a description of prescan operation for this
instruction.
ASCII Read
ARD
Status Bits
EN - Enable
DN - Done Bit
ER - Error Bit
UL - Unload
EM - Empty
EU - Queue
If input conditions go from false-to-true, read 50 characters
from the buffer and move them to ST52:76. The number of
characters read is stored in R6:32.POS and displayed in the
Characters Read Field of the instruction display.
See page F-8 for a description of prescan operation for this
instruction.
ASCII Read Line
ARL
Status Bits
EN - Enable
DN - Done Bit
ER - Error Bit
UL - Unload
EM - Empty
EU - Queue
If input conditions go from false-to-true, read 18 characters
(or until end-of-line) from the buffer and move them to
ST50:72. The number of characters read is stored in
R6:30.POS and displayed in the Characters Read Field of the
instruction display.
See page F-8 for a description of prescan operation for this
instruction.
Instruction Description
AEX
STRING EXTRACT
Source
Number
ST38:40
42
ST52:75
Index
Dest
10
AIC
INTEGER TO STRING CONVERSION
Source 876
ST38:42
Dest
AHL
ASCII HANDSHAKE LINE
Channel
OR Mask
0
0003
0001
R6:23
AND Mask
Control
Channel Status
ARD
ASCII READ
Channel
Control
0
R6:32
ST52:76
50
Dest
String Length
Characters Read
ARL
ASCII READ LINE
Channel
Control
0
R6:30
ST50:72
18
Dest
String Length
Characters Read

Table of Contents

Other manuals for Allen-Bradley PLC-5

Related product manuals