![Omron SYSMAC CX-Programmer 9 Operation Manual Download Page 103](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241103.webp)
77
Number of Function Block Program Steps and Instance Execution Time
Section 2-9
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
When the program is written in ST language, the actual number of steps can-
not be calculated. The number of instruction steps in each function block defi-
nition can be found in the function block definition’s properties.
2-9-2
Function Block Instance Execution Time
This section applies only to CP-series CPU Units with unit version Ver. 1.0 or
later and CS/CJ-series CPU Units with unit version Ver. 3.0 or later, NSJ Con-
trollers, and FQM1 Flexible Motion Controllers.
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 CPU Unit’s user program.
Contents
Number of steps
m
Call part
---
57 steps
n
I/O parameter
transfer part
The data type is
shown in parenthe-
ses.
1-bit (BOOL) input vari-
able or output variable
6 steps
1-word (INT, UINT, or
WORD) input variable or
output variable
6 steps
2-word (DINT, UDINT,
DWORD, or REAL) input
variable or output variable
6 steps
4-word (LINT, ULINT,
LWORD, or LREAL) input
variable or output variable
12 steps
Input-output variables
18 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)
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......