Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 1068

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Text String Processing Instructions
3-31-14 String Comparison Instructions (670 to 675)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
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.
LD (Load)
Symbol
S1
S2
AND (Series Connection)
Symbol
S1
S2
OR (Parallel Connection)
Symbol
S1
S2
Variations Creates ON Each Cycle Com-
parison is True
Immediate Refreshing Specification
Block program areas
OK
OK
S1: Text String 1
15
S1
Text string data: 4,095 characters max. + NUL
to
S1 + maximum 2,047 words
S2: Text String 2
15
S2
Text string data: 4,095 characters max. + NUL
to
S2 + maximum 2,047 words
S1: Text string 1
S2: Text string 2
S1: Text string 1
S2: Text string 2
S1: Text string 1
S2: Text string 2
String comparison instructions
Not supported.
Step program areas
Subroutines
OK
0
0
Section 3-31
Interrupt tasks
OK
1035

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents