EasyManuals Logo

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION User Manual

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
183 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
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 µs8.8 µs15.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 µs0.7 µs1.0 µs
1-word I/O variable (INT,
UINT, WORD)
0.3 µs0.6 µs0.8 µs
2-word I/O variable
(DINT, UDINT, DWORD,
REAL)
0.5 µs0.8 µs1.1 µs
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
1.0 µs1.6 µs2.2 µs
C Function block defi-
nition instruction
execution time
Total instruction processing time (same as standard user program)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Specifications

General IconGeneral
BrandOmron
ModelCX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
CategorySoftware
LanguageEnglish

Related product manuals