Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1291

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Text String Processing Instructions
Note
Operand Specifications
Description
1252
S2: Text String 2
S2 + maximum 2,047 words
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.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
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
S2
Text string data: 4,095 characters max. + NUL
to
S1
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A447
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-33
0
S2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents