![Omron CS1-H Series Скачать руководство пользователя страница 124](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526124.webp)
109
Number of Function Block Program Steps and Instance Execution Time
Section 2-8
Example:
Input variables with a 1-word data type (INT): 5
Output variables with a 1-word data type (INT): 5
Function block definition section: 100 steps
Number of steps for 1 instance = 57 + (5 + 5)
×
6 steps + 100 steps + 27 steps
= 244 steps
2-8-2
Function Block Instance Execution Time (CPU Units with Unit
Version 3.0 or Later)
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.
The following table shows the length of time for A, B, and C.
Example: CS1H-CPU63H
Input variables with a 1-word data type (INT): 3
Output variables with a 1-word data type (INT): 2
Total instruction processing time in function block definition section: 10
µ
s
Execution time for 1 instance = 6.8
µ
s + (3 + 2)
×
0.3
µ
s + 10
µ
s = 18.3
µ
s
Contents
CS/CJ-series CPU Units
with unit version 3.0 or later
m
Call part
57 steps
n
I/O parameter
transfer part
The data type is
shown in parenthe-
ses.
1-bit I/O variable (BOOL)
6 steps
1-word I/O variable (INT,
UINT, WORD)
6 steps
2-word I/O variable (DINT,
UDINT, DWORD, REAL)
6 steps
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
12 steps
p
Number of instruc-
tion steps in func-
tion block definition
The total number of instruction steps (same as standard
user program) + 27 steps.
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)
Operation
CPU Unit model
CS1H-CPU6
@
H
CJ1H-CPU6
@
H
CS1G-CPU4
@
H
CJ1G-CPU4
@
H
CJ1M-CPU
@@
A
Startup time
Startup time not including
I/O parameter transfer
6.8
µ
s
8.8
µ
s
15.0
µ
s
B
I/O parameter trans-
fer processing time
The data type is
indicated in paren-
theses.
1-bit I/O variable (BOOL)
0.4
µ
s
0.7
µ
s
1.0
µ
s
1-word I/O variable (INT,
UINT, WORD)
0.3
µ
s
0.6
µ
s
0.8
µ
s
2-word I/O variable
(DINT, UDINT, DWORD,
REAL)
0.5
µ
s
0.8
µ
s
1.1
µ
s
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
1.0
µ
s
1.6
µ
s
2.2
µ
s
C
Function block defi-
nition instruction
execution time
Total instruction processing time (same as standard user program)
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...