EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #594 background imageLoading...
Page #594 background image
Appendices
A-110
CJ2 CPU Unit Software User’s Manual
Example: CJ2H-CPU67-EIP
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 = 3.3 µs + (3 + 2) × 0.19 µs + 10 µs = 14.25 µs
Note The execution time is increased according to the number of multiple instances when the same function block
definition has been copied to multiple locations.
Additional Information
Number of Function Block Program Steps
Use the following equation to calculate the number of program steps when function block defini-
tions have been created and the instances copied into the user program.
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).
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
Number of steps
= Number of instances × (Call part size m + I/O parameter transfer part size n × Number of parameters) +
Number of instruction steps in the function block definition p (See note.)
Contents CJ2 CPU Units
m Call part 57 steps
n I/O parameter transfer part
The data type is shown in
parentheses.
1-bit (BOOL) input symbol or output symbol 6 steps
1-word (INT, UINT, WORD) input symbol or output
symbol
6 steps
2-word (DINT, UDINT, DWORD, REAL) input sym-
bol or output symbol
6 steps
4-word (LINT, ULINT, LWORD, LREAL) input sym-
bol or output symbol
18 steps
I/O symbols 6 steps
p Number of instruction steps
in function block definition
The total number of instruction steps (same as standard user pro-
gram) + 27 steps.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals