Text String Processing Instructions; Task Control Instructions - Omron CJ - 09-2009 Operation Manual

Programmable controllers
Table of Contents

Advertisement

Instruction Execution Times and Number of Steps

10-5-31 Text String Processing Instructions

Instruction
Mnemonic
MOV STRING
MOV$
CONCATENATE
+$
STRING
GET STRING
LEFT$
LEFT
GET STRING
RGHT$
RIGHT
GET STRING MID-
MID$
DLE
FIND IN STRING
FIND$
STRING LENGTH
LEN$
REPLACE IN
RPLC$
STRING
DELETE STRING
DEL$
EXCHANGE
XCHG$
STRING
CLEAR STRING
CLR$
INSERT INTO
INS$
STRING
String Comparison
LD, AND,
Instructions
OR +=$
LD, AND,
OR +<>$
LD, AND,
OR +<$
LD, AND,
OR +>$
LD, AND,
OR +>=$

10-5-32 Task Control Instructions

Instruction
Mnemonic
TASK ON
TKON
TASK OFF
TKOF
494
Code
Length
(steps)
CPU6@H-R
(See
note.)
664
3
45.6
656
4
86.5
652
4
53.0
653
4
52.2
654
5
56.5
660
4
51.4
650
3
19.8
661
6
175.1
658
5
63.4
665
3
60.6
666
2
23.8
657
5
136.5
670
4
48.5
671
672
674
675
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
Code
Length
(steps)
CPU6@H-R
(See
note.)
820
2
19.5
821
2
13.3
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
ON execution time (µs)
CPU6@H
CPU4@H
CPU4@
45.6
66.0
84.3
86.5
126.0
167.8
53.0
77.4
94.3
52.2
76.3
94.2
56.5
84.6
230.2
51.4
77.5
94.1
19.8
28.9
33.4
175.1
258.7
479.5
63.4
94.2
244.6
60.6
87.2
99.0
23.8
36.0
37.8
136.5
200.6
428.9
48.5
69.8
86.2
ON execution time (µs)
CPU6@H
CPU4@H
CPU4@
19.5
26.3
26.3
13.3
19.0
26.3
Section 10-5
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
79.3
72.7
Transferring 1 char-
acter
152.0
137.0
1 character + 1
character
93.6
84.8
Retrieving 1 char-
acter from 2 char-
acters
92.1
83.3
Retrieving 1 char-
acter from 2 char-
acters
93.7
84.0
Retrieving 1 char-
acter from 3 char-
acters
89.1
96.7
Searching for 1
character from 2
characters
33.8
30.1
Detecting 1 charac-
ter
300.7
267.7
Replacing the first
of 2 characters with
1 character
11.3
99.3
Deleting the leading
character of 2 char-
acters
105.2
95.3
Exchanging 1 char-
acter with 1 charac-
ter
42.0
36.8
Clearing 1 charac-
ter
204.0
208.0
Inserting 1 charac-
ter after the first of
2 characters
79.9
68.5
Comparing 1 char-
acter with 1 charac-
ter
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
33.1
32.5
---
19.7
20.2
---

Advertisement

Table of Contents
loading

Table of Contents