A-109
Appendices
CJ2 CPU Unit Software User’s Manual
A-2 Instruction Execution Times and Number of Steps
App
A-2-35 Special Function Block Instructions
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.
The following table shows the length of time for A, B, and C.
A-2-35 Special Function Block Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
GET VARIABLE ID GETID 286 4 7.6 12.5 ---
A-2-36 SFC Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-CPU@@
STEP ACTIVATE SA 784 2 9.1 11.8 ---
STEP DEACTIVATE SE 785 2 9.1 11.9 ---
READ SET TIMER TSR 780 3 3.9 4.2 ---
SET STEP TIMER TSW 781 3 5.7 8.2 ---
SFC ON SFCON 789 2 14.0 20.4 ---
SFC OFF SFCOFF 790 2 249 402 ---
SFC PAUSE WITH
RESET
SFCPR 793 2 249 405 ---
SFC PAUSE NO WITH
RESET
SFCPRN 791 2 249 405 ---
A-2-37 Function Block Instance Execution Time
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
CJ2H-
CPU6@(-EIP)
CJ2M-
CPU@@
A Startup time Startup time not including I/O parameter
transfer
3.3 µs7.4 µs
B I/O parameter transfer pro-
cessing time
The data type is indicated in
parentheses.
1-bit (BOOL) input symbol or output
symbol
0.24 µs 0.88 µs
1-word (INT, UINT, WORD) input sym-
bol or output symbol
0.19 µs 0.88 µs
2-word (DINT, UDINT, DWORD, REAL)
input symbol or output symbol
0.19 µs1.2 µs
4-word (LINT, ULINT, LWORD, LREAL)
input symbol or output symbol
0.38 µs 2.96 µs
I/O symbols 0.114 µs0.4 µs
C Function block definition
instruction execution time
Total instruction processing time (same as standard user program)