1250
Text String Processing Instructions Section 3-33
3-33-14String Comparison Instructions (670 to 675)
Purpose Sting comparison instructions (=$, <>$, <$, <=$, >$, >=$) compare two text
strings from the beginning, in terms of value of the ASCII codes. If the result of
the comparison is true, an ON execution condition is created for a LOAD,
AND, or OR.
Ladder Symbol
Variations
Applicable Program Areas
Operands S1: Text String 1
S1
S2
S1
S2
S1
S2
Symbol
Symbol
Symbol
LD (Load)
AND (Series Connection)
OR (Parallel Connection)
S1: Text string 1
S2: Text string 2
S1: Text string 1
S2: Text string 2
S1: Text string 1
S2: Text string 2
Variations Creates ON Each Cycle Com-
parison is True
String comparison instructions
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
15 0
S1
to
Text string data: 4,095 characters max. + NUL
S1 + maximum 2,047 words