EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 1206

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...
1168
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
*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-1-33 Task Control Instructions
Instruction Mnemonic Length
(steps)
ON execution time (µs) Conditions
CJ2H
CPU6@(-EIP)
CJ2M CPU@@
MOV STRING MOV$ 3 31.5 58.3 Transferring 1 char-
acter
*1
CONCATENATE STRING +$ 4 56 104 1 character + 1
character
*1
GET STRING LEFT LEFT$ 4 33.5 62.2 Retrieving 1 charac-
ter from
2 characters
*1
GET STRING RIGHT RGHT$ 4 33.4 62.1 Retrieving 1 charac-
ter from
2 characters
*1
GET STRING MIDDLE MID$ 5 32.3 60.8 Retrieving 1 charac-
ter from
3 characters
*1
FIND IN STRING FIND$ 4 30.3 56.3 Searching for 1
character from 2
characters
*1
STRING LENGTH LEN$ 3 14.0 24.9 Detecting 1 charac-
ter
*1
REPLACE IN STRING RPLC$ 6 110 213 Replacing the first of
2 characters with 1
character
*1
DELETE STRING DEL$ 5 45.6 86.8 Deleting the leading
character of 2 char-
acters
*1
EXCHANGE STRING XCHG$ 3 40.3 75.4 Exchanging 1 char-
acter with
1 character
*1
CLEAR STRING CLR$ 2 15.9 28.3 Clearing 1 charac-
ter
*1
INSERT INTO STRING INS$ 5 85 162 Inserting 1 character
after the first of 2
characters
*1
String Comparison Instruc-
tions
=$ 4 27.0 50.9 Comparing 1 char-
acter with
1 character
<>$
<$
<=$
>$
=$
Instruction Mnemonic Length
(steps)
ON execution time (µs) Conditions
CJ2H
CPU6@(-EIP)
CJ2M CPU@@
TASK ON TKON 2 12.5 19.0 Cyclic task specified
13.6 22.7 Extra task specified
TASK OFF TKOF 2 240 393 Cyclic task specified
15.5 25.8 Extra task specified

Table of Contents

Related product manuals