Omron CJ - 09-2009 Operation Manual page 545

Programmable controllers
Table of Contents

Advertisement

Instruction Execution Times and Number of Steps
Number of Function Block Program Steps (CPU Units with Unit Version 3.0 or Later)
Note
For example, if !MOV is used (MOVE instruction with immediate refreshing),
the program capacity of a CV-series PLC would be 4 words per instruction
and that of the CJ-series PLC would be 7 (4 + 3) steps.
Use the following equation to calculate the number of program steps 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.
Number of steps
= Number of instances × (Call part size m + I/O parameter transfer part size n × Num-
ber of parameters) + Number of instruction steps in the function block definition p
(See note.)
The number of instruction steps in the function block definition (p) will not be
diminished in subsequence instances when the same function block definition
is copied to multiple locations (i.e., for multiple instances). Therefore, in the
above equation, the number of instances is not multiplied by the number of
instruction steps in the function block definition (p).
Contents
m
Call part
n
I/O parameter
transfer part
The data type is
shown in parenthe-
ses.
p
Number of instruc-
tion steps in func-
tion block definition
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
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)
The total number of instruction steps (same as standard
user program) + 27 steps.
Section 10-5
CS/CJ-series CPU Units
with unit version 3.0 or later
57 steps
6 steps
6 steps
6 steps
12 steps
497

Advertisement

Table of Contents
loading

Table of Contents