Allen-Bradley PLC-5 User Manual page 328

Enhanced and ethernet plc-5 programmable controllers
Hide thumbs Also See for PLC-5:
Table of Contents

Advertisement

D-28
Instruction Set Quick Reference
Instruction
AEX
STRING EXTRACT
Source
Index
Number
Dest
AIC
INTEGER TO STRING CONVERSION
Source
Dest
AHL
ASCII HANDSHAKE LINE
Channel
AND Mask
OR Mask
Control
Channel Status
ARD
ASCII READ
Channel
Dest
Control
String Length
Characters Read
ARL
ASCII READ LINE
Channel
Dest
Control
String Length
Characters Read
Publication 1785-UM012D-EN-P - July 2005
ASCII String Extract
AEX
ST38:40
42
10
ST52:75
Convert Integer to
ASCII String
AIC
876
ST38:42
ASCII Handshake
Lines
AHL
0
0001
Status Bits:
EN-Enable
0003
R6:23
DN-Done Bit
ER-Error Bit
ASCII Read
ARD
0
Status Bits
ST52:76
EN - Enable
R6:32
DN - Done Bit
50
ER - Error Bit
UL - Unload
EM - Empty
EU - Queue
ASCII Read Line
ARL
0
Status Bits
ST50:72
EN - Enable
R6:30
DN - Done Bit
18
ER - Error Bit
UL - Unload
EM - Empty
EU - Queue
Description
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.
If input conditions are true, the controller converts the value
876 to a string and store the result in ST38:42.
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.
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.
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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents