Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 150

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
EXCHANGE
XCHG$(665)
STRING
XCHG$
@XCHG$
665
Ex1: 1st
exchange word 1
Ex2: 1st
exchange word 2
CLEAR STRING
CLR$(666)
CLR$
@CLR$
666
S: Text string first
word
INSERT INTO
STRING
INS$(657)
INS$
@INS$
657
S1: Base text
string first word
S2: Inserted text
string first word
S3: Beginning
position
D: First
destination word
String Compari-
LD
son
Symbol
LD, AND, OR +
=$, <>$, <$, <=$,
>$, >=$
670 (=$)
671 (<>$)
672 (<$)
673 (<=$)
AND
674 (>$)
Symbol
675 (>=$)
OR
Symbol
S1: Text string 1
S2: Text string 2
110
Replaces a designated text string with another designated text string.
Ex1
Ex1
Ex2
Ex2
Clears an entire text string with NUL (00 hex).
S
A
S
C
Deletes a designated text string from the middle of a text string.
S1
S2
S3
D
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 cre-
ated for a LOAD, AND, or OR.
S1
S2
S1
S2
S1
S2
Function
Ex1
Ex2
S
B
D
NUL
NUL
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
NUL
Output
Required
Inserted
characters
LD: Not
required
AND, OR:
Required
Page
1242
1245
1246
1250

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents