Download SYSMAC CJ Series CJ2 CPU Unit Software USER`S MANUAL

Transcript
Appendices
A-2-35
Special Function Block Instructions
ON execution time (µs)
Instruction
Mnemonic
GET VARIABLE ID
A-2-36
GETID
FUN No.
286
Length (steps)
CJ2H
CPU6@(-EIP)
4
7.6
Conditions
CJ2MCPU@@
12.5
---
SFC Instructions
ON execution time (µs)
Instruction
Mnemonic
FUN No.
Length (steps)
CJ2H
CPU6@(-EIP)
CJ2M-CPU@@
Conditions
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
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.
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)
The following table shows the length of time for A, B, and C.
CPU Unit model
Operation
CJ2MCPU@@
A
Startup time
Startup time not including I/O parameter
transfer
3.3 µs
7.4 µs
B
I/O parameter transfer processing time
1-bit (BOOL) input symbol or output
symbol
0.24 µs
0.88 µs
The data type is indicated in
parentheses.
1-word (INT, UINT, WORD) input symbol or output symbol
0.19 µs
0.88 µs
2-word (DINT, UDINT, DWORD, REAL)
input symbol or output symbol
0.19 µs
1.2 µs
4-word (LINT, ULINT, LWORD, LREAL)
input symbol or output symbol
0.38 µs
2.96 µs
I/O symbols
0.114 µs
0.4 µs
C
A-110
CJ2HCPU6@(-EIP)
Function block definition
instruction execution time
Total instruction processing time (same as standard user program)
CJ2 CPU Unit Software User’s Manual