
Instruction Set
ASCII Instructions
3-47
ASCII Instructions
Instruction
Description
ASCII Test for Line
ABL
(Enhanced, Ethernet, and
ControlNet PLC-5 processors
only)
If input conditions go from false–to–true, the processor 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 processor also displays this value in the characters
field of the display.
ASCII Characters in Buffer
ACB
(Enhanced, Ethernet, and
ControlNet PLC-5 processors
only)
If input conditions go from false–to–true, the processor reports the total number of characters in
the buffer and puts this value into the position word (.POS) of the control structure. The
processor also displays this value in the characters field of the display.
Convert ASCII String to Integer
ACI
(Enhanced, and Ethernet and
ControlNet PLC-5 processors
only)
If input conditions are true, the processor converts the string in ST38:90 to an integer and stores
the result in N7:123.
En – Enable
DN – Done Bit
ER – Error Bit
EM – Empty Bit
EU – Queue
FD – Found Bit
Status Bits:
ASCII TEST FOR LINE
Channel
0
Control
R6:32
Characters
ABL
ASCII CHARS IN BUFFER
Channel 0
Control
R6:32
Characters
ACB
ASCII STRING TO INT
Source
ST38:90
Dest
N7:123
75
ACI
Status Bit
Description
C
set if source is negative; otherwise resets
V
set if source is >= 32,768 or <= –32,768, otherwise resets
Z
sets if source is zero; otherwise resets
S
set if destination is negative; otherwise resets