4. Instruction Execution Times and Number of Steps
Instruction
Mne-
monic
SINGLE
DISTC
WORD DIS-
TRIBUTE
DATA COL-
COLLC 4
LECT
MOVE BIT
MOVBC 4
BIT
BCNTC 4
COUNTER
4-2-34 Special Function Block Instructions
Instruction
Mne-
monic
GET VARI-
GETID 4
ABLE ID
4-2-35 Function Block Instance Execution Time (CPU Units with Unit
Version 3.0 or later)
A Startup time
B I/O parameter transfer pro-
cessing time
The data type is indicated in
parentheses.
C Function block definition
instruction execution time
1174
Length
(steps)
CJ1H
CJ1H
CPU6@
CPU6@
H-R
H
4
3.4
3.4
5.9
5.9
3.5
3.5
8
8
8.3
8.3
2052.3
2052.3
4.5
4.5
4.9
4.9
1252.4
1252.4
Length
(steps)
CJ1H
CJ1H
CPU6@
CPU6@
H-R
H
14
14
Use the following equation to calculate the effect of instance execution on the
cycle time when function block definitions have been created and the
instances copied into the user program using CS/CJ-series CPU Units with
unit version 3.0 or later.
Effect of Instance Execution on Cycle Time
= Startup time (A)
+ I/O parameter transfer processing time (B)
+ Execution time of instructions in function block definition (C)
The following table shows the length of time for A, B, and C.
Operation
Startup time not including I/
O parameter transfer
1-bit I/O variable (BOOL)
1-word I/O variable (INT,
UINT, WORD)
2-word I/O variable (DINT,
UDINT, DWORD, REAL)
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
Total instruction processing time (same as standard user program)
ON execution time ( s)
CJ1G
CJ1M
CJ1M
CPU4@
CPU12/
CPU11/
H
13/22/23
21
3.5
19
18.1
7.3
39.5
38.5
3.85
24.9
29.7
9.1
22.1
25.3
9.6
25.5
31
2097.5
8310.1
7821.1
4.88
28.1
22.1
5
30.6
28.8
1284.4
5814.1
5223.8
ON execution time ( s)
CJ1G
CJ1M
CPU4@
CPU12/
CPU11/
H
13/22/23
22.2
23.4
21.3
CJ1H-
CS1H-
CPU6@H-R
CPU6@H
CJ1H-
CPU6@H
3.3 s
6.8 s
0.24 s
0.4 s
0.19 s
0.3 s
0.19 s
0.5 s
0.38 s
1.0 s
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conditions
CJ1G
CPU4@
---
Data distribute
---
Stack operation
---
Data distribute
---
Stack operation
---
Stack operation
1 word FIFO Read
---
Stack operation
1,000 word FIFO
Read
---
---
---
Counting 1 word
---
Counting
1,000 words
Conditions
CJ1M
CJ1G
CPU4@
21
---
---
CPU Unit model
CS1G-
CJ1M-
CPU4@H
CPU@@
CJ1G-
CPU4@H
8.8 s
15.0 s
0.7 s
1.0 s
0.6 s
0.8 s
0.8 s
1.1 s
1.6 s
2.2 s
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?