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

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

Advertisement

Instruction Functions
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
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
Function
Found data
2
4
Section 2-2
Location
Page
Execution
condition
Output
1234
Required
Output
1236
Required
Output
1238
Required
Output
1241
Required
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents