EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 1233

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1195
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
4-2 CJ1 CPU Unit Instruction Execution Times and Number of Steps
4
4-2-32 Task Control Instructions
*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.
4-2-32 Task Control Instructions
GET STRING
MIDDLE
MID$ 5 56.5 56.5 84.6 93.7 84.0 230.2 Retrieving 1 character
from 3 characters
*1
FIND IN
STRING
FIND$ 4 51.4 51.4 77.5 89.1 96.7 94.1 Searching for 1 char-
acter from 2 charac-
ters
*1
STRING
LENGTH
LEN$ 3 19.8 19.8 28.9 33.8 30.1 33.4 Detecting 1 charac-
ter
*1
REPLACE IN
STRING
RPLC$ 6 175.1 175.1 258.7 300.7 267.7 479.5 Replacing the first of
2 characters with
1 character
*1
DELETE
STRING
DEL$ 5 63.4 63.4 94.2 111.3 99.3 244.6 Deleting the leading
character of 2 charac-
ters
*1
EXCHANGE
STRING
XCHG$ 3 60.6 60.6 87.2 105.2 95.3 99.0 Exchanging 1 charac-
ter with 1 character
*1
CLEAR
STRING
CLR$ 2 23.8 23.8 36.0 42.0 36.8 37.8
Clearing 1 character
*1
INSERT INTO
STRING
INS$ 5 136.5 136.5 200.6 204.0 208.0 428.9 Inserting 1 character
after the first of 2 char-
acters
*1
String Compar-
ison Instruc-
tions
=$ 4 48.5 48.5 69.8 79.9 68.5 86.2 Comparing 1 character
with 1 character
<>$
<$
>$
=$
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/13/
22/23
CJ1M
CPU11/
21
CJ1G
CPU4@
TASK ON TKON 2 6.4 6.4 10.2 11.2 9.55 3.2 Cyclic task speci-
fied
20.6 20.6 30.1 34.6 34.9 --- Extra task speci-
fied
TASK OFF TKOF 2 123.7 123.7 195.8 214.5 183.4 61.3 Cyclic task speci-
fied
23.4 23.4 34.1 39.3 39.6 --- Extra task speci-
fied
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/
13/22/23
CJ1M
CPU11/
21
CJ1G
CPU4@

Table of Contents

Related product manuals