D-27, Ascii instructions – Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual
Page 327

Publication 1785-UM012D-EN-P - July 2005
Instruction Set Quick Reference D-27
ASCII Instructions
Status Bits:
EN - EnableEM - Empty Bit
DN - Done BitEU - Queue
ER - Error BitFD - Found Bit
Instruction
Description
ASCII Test for Line
ABL
If input conditions go from false-to-true, the controller
reports the number of characters in the buffer, up to and
including the end-of-line characters and puts this value into
the position word of the control structure (R6:32.POS). The
controller also displays this value in the characters field of
the display.
See page F-8 for a description of prescan operation for this
instruction.
ASCII Characters in
Buffer
ACB
If input conditions go from false-to-true, the controller
reports the total number of characters in the buffer and puts
this value into the position word (.POS) of the control
structure. The controller also displays this value in the
characters field of the display.
See page F-8 for a description of prescan operation for this
instruction.
Convert ASCII String
to Integer ACI
ASCII String
Concatenate ACN
If input conditions are true, the controller concatenates the
string in ST38:90 with the string in ST37:91 and store the
result in ST52:76.
ABL
ASCII TEST FOR LINE
Channel
Characters
0
R6:32
Control
ACB
ASCII CHARS IN BUFFER
Channel
Characters
0
R6:32
Control
ACI
STRING TO INTEGER CONVERSION
Source
ST38:90
N7:123
75
Dest
Status
Bit
If input conditions are true, the controller
converts the string in ST38:90 to an integer and
stores the result in N7:123.
C
V
Z
S
set if a carry was generated during the
conversion; otherwise resets
Description
set if source is > 32,767 or < -32,768,
otherwise resets
set if source is zero; otherwise resets
set if destination is negative; otherwise
resets
ACN
STRING CONCATENATE
Source A
ST38:90
ST37:91
ST52:76
Dest
Source B