Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 1157

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

4. Instruction Execution Times and Number of Steps
1120
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 in-
stances). 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
1-bit I/O variable (BOOL)
transfer part
1-word I/O variable (INT,
The data type is
UINT, WORD)
shown in parenthe-
2-word I/O variable (DINT,
ses.
UDINT, DWORD, REAL)
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
p
Number of instruc-
The total number of instruction steps (same as standard
tion steps in func-
user program) + 27 steps.
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)
= 244 steps
57 steps
6 steps
6 steps
6 steps
12 steps
6 steps + 100 steps + 27 steps
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CJ2 CPU Units

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents