1251
Text String Processing Instructions Section 3-33
S2: Text String 2
Note 1. The data from S1 to S1 + the maximum 2,047 words and from S2 to S2 +
the maximum 2,047 words be in the same area.
2. The data from S1 to S1 + the maximum 2,047 words and from S2 to S2 +
the maximum 2,047 words cannot overlap.
Operand Specifications
Description String comparison instructions compare the text strings designated by S1 and
S2. If the result of the comparison is true, an ON execution condition is cre-
ated in the ladder diagram. The maximum number of characters for either S1
or S2 is 4,095 (0FFF hex).
String comparison instructions are expressed using the 18 different mnemon-
ics listed below. (LD, AND, and OR do not appear in the ladder diagram.)
LD=$, AND=$, OR=$
LD<>$, AND<>$, OR<>$
LD<$, AND<$, OR<$
15 0
S2
to
Text string data: 4,095 characters max. + NUL
S2 + maximum 2,047 words
Area S1 S2
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A000 to A447
A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767
EM Area with bank En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants ---
Data Registers ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15