Omron cx-programmer 5.0-function block operation 사용자 설명서

다운로드
페이지 183
108
Number of Function Block Program Steps and Instance Execution Time
Section 2-8
Timer Operation for Timer Numbers T0000 to T2047
Timer Operation for Timer Numbers T2048 to T4095
Select the Apply the same spec as TO-2047 to T2048-4095 Option to ensure
consistent operation when using the timer numbers allocated by default to
function block variables (T3072 to T4095).
2-8
Number of Function Block Program Steps and Instance 
Execution Time
2-8-1
Number of Function Block Program Steps (CPU Units with Unit 
Version 3.0 or Later)
Use the following equation to calculate the number of program steps when
function block definitions have been created and the instances copied into the
user program using CS/CJ-series CPU Units with unit version 3.0 or later.
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).
Refresh
Description
When instruction is 
executed
The PV is refreshed each time the instruction is executed.
If the PV is 0, the Completion Flag is turned ON. If it is not 0, 
the Completion Flag is turned OFF.
When execution of all 
tasks is completed
All PV are refreshed once each cycle.
Every 80 ms
If the cycle time exceeds 80 ms, all PV are refreshed once 
every 80 ms. 
Refresh
Description
When instruction is 
executed
The PV is refreshed each time the instruction is executed.
If the PV is 0, the Completion Flag is turned ON. If it is not 0, 
the Completion Flag is turned OFF
When execution of all 
tasks is completed
PV are not updated.
Every 80 ms
PV are not updated even if the cycle time exceeds 80 ms. 
Number of steps
= Number of instances 
× (Call part size m + I/O parameter transfer part size n × Num-
ber of parameters) + Number of instruction steps in the function block definition p 
(See note.)