EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 1122

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1089
Function Block Instance Execution Time Section 4-2
above equation, the number of instances is not multiplied by the number of
instruction steps in the function block definition (p).
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
Contents CP/CS/CJ-series CPU Units
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.

Table of Contents

Related product manuals