1345
CJ-series Instruction Execution Times and Number of Steps Section 4-2
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
4-2-31 Text String Processing Instructions
Loop Control LEND
(relay
number)
810 2 9.9 9.9 10.7 14.4 17.5 19.9 LEND condi-
tion satisfied
8.9 8.9 10.3 13.0 21.6 24.5 LEND condi-
tion not satis-
fied
Loop Control LEND
NOT
(relay
number)
810 2 10.2 10.2 11.2 14.8 21.9 24.9 LEND condi-
tion satisfied
9.3 9.3 10.8 13.5 17.8 20.4 LEND condi-
tion not satis-
fied
HUNDRED-MS
TIMER WAIT
TIMW 813 3 22.3 22.3 25.2 33.1 47.4 52.0 Default setting
24.9 24.9 27.8 35.7 46.2 53.4 Normal execu-
tion
TIMWX 816 3 22.3 22.3 25.2 33.1 47.4 52.0 Default setting
24.9 24.9 27.8 35.7 46.2 53.4 Normal execu-
tion
Instruction Mne-
monic
Code Length
(steps)
(See
note.)
ON execution time (µs) Conditions
CPU6
@H-R
CPU6
@H
CPU4
@H
CPU4
@
CJ1M
exclud-
ing
CPU11/
21
CJ1M
CPU11
/21
MOV
STRING
MOV$ 664 3 45.6 45.6 66.0 84.3 79.3 72.7 Transferring 1 char-
acter
CONCATE-
NATE
STRING
+$ 656 4 86.5 86.5 126.0 167.8 152.0 137.0 1 character + 1
character
GET
STRING
LEFT
LEFT$ 652 4 53.0 53.0 77.4 94.3 93.6 84.8 Retrieving 1 charac-
ter from 2 charac-
ters
GET
STRING
RIGHT
RGHT$ 653 4 52.2 52.2 76.3 94.2 92.1 83.3 Retrieving 1 charac-
ter from 2 charac-
ters
GET
STRING
MIDDLE
MID$ 654 5 56.5 56.5 84.6 230.2 93.7 84.0 Retrieving 1 charac-
ter from 3 charac-
ters
FIND IN
STRING
FIND$ 660 4 51.4 51.4 77.5 94.1 89.1 96.7 Searching for 1
character from 2
characters
STRING
LENGTH
LEN$ 650 3 19.8 19.8 28.9 33.4 33.8 30.1 Detecting 1 charac-
ter
REPLACE
IN STRING
RPLC$ 661 6 175.1 175.1 258.7 479.5 300.7 267.7 Replacing the first of
2 characters with 1
character
DELETE
STRING
DEL$ 658 5 63.4 63.4 94.2 244.6 11.3 99.3 Deleting the leading
character of 2 char-
acters
Instruction Mne-
monic
Code Length
(steps)
(See
note.)
ON execution time (µs) Conditions
CPU6@
H-R
CPU6@
H
CPU4@
H
CPU4@ CJ1M
exclud-
ing
CPU11
/21
CJ1M
CPU11
/21