Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 156

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Instruction
Symbol/Operand
Mnemonic
Code
FIND IN STRING
FIND$(660)
FIND
@FIND$
660
S1: Source text
string first word
S2: Found text
string first word
D: First
destination word
STRING LENGTH
LEN$(650)
LEN$
@LEN$
650
S: Text string first
word
D: 1st destination
word
REPLACE IN
STRING
RPLC$(654)
RPLC$
@RPLC$
661
S1: Text string
first word
S2: Replacement
text string first
word
S3: Number of
characters
S4: Beginning
position
D: First
destination word
DELETE STRING
DEL$(658)
DEL$
@DEL$
658
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
EXCHANGE
XCHG$(665)
STRING
XCHG$
Ex1
@XCHG$
Ex2
665
Ex1: 1st
exchange word 1
Ex2: 1st
exchange word 2
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Finds a designated text string from within a text string.
S1
S2
D
Calculates the length of a text string.
1
S
3
D
5
Replaces a text string with a designated text string from a designated
position.
S1
S2
S3
S4
D
Deletes a designated text string from the middle of a text string.
Number of characters to be
S1
deleted (designated by S2).
S2
S3
G
D
Replaces a designated text string with another designated text string.
Ex1
Ex2
Function
Found data
2
4
Ex1
Ex2
2. Summary of Instructions
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Page
1046
1048
2
1050
1052
1054
119

Advertisement

Table of Contents
loading

Table of Contents