Download Operation Manual SFC Programming

Transcript
Appendix C
SFC Program Size and Execution Time
C-2
SFC Program Execution Time
The SFC program execution time varies depending on the following:
- CPU Unit model
- Active/inactive status of the steps
- Combination of AQ types of the actions
- Areas specified in the Function Block/SFC Memory Allocation Dialog Box.
The following table shows the standard execution time of each element:
(Unit: Micro second)
Element
Element
status
CJ2H
Task
Step
Action
Boolean
Ladder/ST
program
Transition
Boolean
Ladder/ST
program
Subchart
PLC Model
CJ2M
CJ1-R
CJ1H
CJ1G
CJ1M
0.3 to 10
0.7 to 15
0.4 to 15
0.4 to 15
0.7 to 15
0.9 to 20
Active
5 to 10
5 to 8
7 to 12
7 to 12
7 to 12
10 to 17
Inactive
0.2
0.4
0.3
0.4
0.5
Executed
0.1 to 12
0.2 to 9
0.3
0.1 to 12
0.1 to 12
0.2 to 13
0.2 to 18
0.2 to 1.3
0.1 to 0.7
0.1 to 0.7
0.2 to 1.3
0.2 to 1.6
1.6 to 10
0.7 to 13
0.7 to 13
1.6 to 14
1.7 to 20
0.5 to 1.8
0.2 to 0.8
0.3 to 1
0.4
0.3
0.2
0.6 to 2.5
0.6
0.1
0.3
0.2
0.5 to 2
0.4
0.3
0.4
Not executed
Executed
Not executed
Executed
0.1 to 0.7
0.4 to 13
0.3 to 1
0.3
Not executed
0.2
Executed
0.6
0.2
1.2
0.5
0.6
1.3
1.6
0.3
0.1
0.2
0.3
0.4
0.6
0.3
1.3
0.6
0.6
0.3
0.7
0.3
1.3
0.6
1.7
0.8
Not executed
Executed
Not executed
Example of SFC Program Execution Time
When CJ2H-CPU68-EIP is used and Step 1 is active in the SFC program shown below, the execution
time of the SFC program is about 13 µ seconds, including neither the action program size nor the
transition program size.
Trans7
Step1
Trans1
P0
bFlag1
bFlag6
Step1
130
Action2
S
Action3
N
Action4
R
Action3
bFlag5
Step7
Trans7
Step3
Trans4
N
bFlag2
L 1s
bAction2
N
Action5
bFlag4
Transition1
Step5
Trans6
bAction1
bFlag3
Step4
Trans5
Trans2
D 1s
Step2
Trans3
Action1
Step6