1310
CS-series Instruction Execution Times and Number of Steps Section 4-1
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
4-1-30 Text String Processing Instructions
Loop Control LEND (relay
number)
810 2 9.9 10.7 14.4 14.4 LEND condition
satisfied
8.9 10.3 13.0 13.0 LEND condition
not satisfied
Loop Control LEND NOT
(relay num-
ber)
810 2 10.2 11.2 14.8 14.8 LEND condition
satisfied
9.3 10.8 13.5 13.5 LEND condition
not satisfied
HUNDRED-
MS TIMER
WAIT
TIMW 813 3 22.3 25.2 33.1 33.1 Default setting
24.9 27.8 35.7 35.7 Normal execu-
tion
TIMWX 816 3 22.3 25.2 --- --- Default setting
24.9 27.8 --- --- Normal execu-
tion
Instruction Mnemonic Code Length
(steps)
(See note.)
ON execution time (µs) Conditions
CPU-6@HCPU-4@HCPU-6@ CPU-4@
MOV STRING MOV$ 664 3 45.6 66.0 84.3 84.3 Transferring 1
character
CONCATE-
NATE
STRING
+$ 656 4 86.5 126.0 167.8 167.8 1 character + 1
character
GET STRING
LEFT
LEFT$ 652 4 53.0 77.4 94.3 94.3 Retrieving 1
character from 2
characters
GET STRING
RIGHT
RGHT$ 653 4 52.2 76.3 94.2 94.2 Retrieving 1
character from 2
characters
GET STRING
MIDDLE
MID$ 654 5 56.5 84.6 230.2 230.2 Retrieving 1
character from 3
characters
FIND IN
STRING
FIND$ 660 4 51.4 77.5 94.1 94.1 Searching for 1
character from 2
characters
STRING
LENGTH
LEN$ 650 3 19.8 28.9 33.4 33.4 Detecting 1
character
REPLACE IN
STRING
RPLC$ 661 6 175.1 258.7 479.5 479.5 Replacing the
first of 2 charac-
ters with 1 char-
acter
DELETE
STRING
DEL$ 658 5 63.4 94.2 244.6 244.6 Deleting the
leading charac-
ter of 2 charac-
ters
EXCHANGE
STRING
XCHG$ 665 3 60.6 87.2 99.0 99.0 Exchanging 1
character with 1
character
CLEAR
STRING
CLR$ 666 2 23.8 36.0 37.8 37.8 Clearing 1 char-
acter
Instruction Mnemonic Code Length
(steps)
(See note.)
ON execution time (µs) Conditions
CPU-6@HCPU-4@HCPU-6@ CPU-4@