Omron CJ - INSTRUCTIONS Reference Manual page 1257

Table of Contents

Advertisement

Instruction
Loop Control
LEND (exe-
cution condi-
tion)
Loop Control
LEND (bit
address)
Loop Control
LEND NOT
(bit address)
4-3-30 Text String Processing Instructions
Instruction
Mnemonic
MOV STRING
MOV$
CONCATENATE
+$
STRING
GET STRING LEFT
LEFT$
GET STRING RIGHT
RGHT$
GET STRING MIDDLE
MID$
FIND IN STRING
FIND$
STRING LENGTH
LEN$
REPLACE IN STRING
RPLC$
DELETE STRING
DEL$
EXCHANGE STRING
XCHG$
CLEAR STRING
CLR$
INSERT INTO STRING
INS$
String Comparison
=$
Instructions
<>$
<$
+>$
+>=$
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
Mnemonic
Length
(steps)
CPU6@H
1
7.7
6.8
2
9.9
8.9
2
10.2
9.3
Length
(steps)
CS1H
CPU6@H
3
45.6
4
86.5
4
53.0
4
52.2
5
56.5
4
51.4
3
19.8
6
175.1
5
63.4
3
60.6
2
23.8
5
136.5
4
48.5
*1 The instruction execution time is greatly affected by the amount to data. This will
affect the cycle time. To reduce the effect on the cycle time, background execu-
tion can be specified.
ON execution time ( s)
CS1H
CS1G
CS1H
CPU4@H
CPU6@
8.4
10.9
8.0
9.8
10.7
14.4
10.3
13.0
11.2
14.8
10.8
13.5
ON execution time ( s)
CS1G
CS1H
CS1G
CPU4@H
CPU6@
CPU4@
66.0
84.3
84.3
126.0
167.8
167.8
77.4
94.3
94.3
76.3
94.2
94.2
84.6
230.2
230.2
77.5
94.1
94.1
28.9
33.4
33.4
258.7
479.5
479.5
94.2
244.6
244.6
87.2
99.0
99.0
36.0
37.8
37.8
200.6
428.9
428.9
69.8
86.2
86.2
Conditions
CS1G
CPU4@
10.9
Do not loop
(input condition
ON)
9.8
Loop (input con-
dition OFF)
14.4
Do not loop (bit
ON)
13.0
Loop (bit OFF)
14.8
Do not loop (bit
OFF)
13.5
Loop (bit ON)
Conditions
*1
Transferring 1 character
*1
1 character + 1 character
Retrieving 1 character from
*1
2 characters
Retrieving 1 character from
*1
2 characters
Retrieving 1 character from
*1
3 characters
Searching for 1 character
*1
from 2 characters
*1
Detecting 1 character
Replacing the first of
2 characters with 1 charac-
*1
ter
Deleting the leading char-
*1
acter of 2 characters
Exchanging 1 character
*1
with 1 character
*1
Clearing 1 character
Inserting 1 character after
*1
the first of 2 characters
Comparing 1 character
with 1 character
1219
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents