
Instruction Set
ASCII Instructions
3-51
ASCII instructions continued...
Instruction
Description
ASCII String Compare
ASR
(Enhanced, Ethernet, and
ControlNet PLC-5 processors
only)
If the string in ST37:42 is identical to the string in ST38:90, the instruction is true. Note that this
is an input instruction. An invalid string length causes the ASCII instruction error minor fault bit
S:17/8 to be set, and the instruction is false.
ASCII Write Append
AWA
(Enhanced, Ethernet, and
ControlNet PLC-5 processors
only)
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 ST52:76 and write it to
channel 0 and append the two character configuration in the channel configuration (default
CR/LF). The number of characters sent is stored in R6:32.POS and displayed in the characters
sent field of the instruction display.
ASCII STRING COMPARE
Source A
ST37:42
Source B
ST38:90
ASR
ASCII WRITE APPEND
Channel
0
Source
ST52:76
Control
R6:32
String Length
50
Characters Sent
AWA