76
Number of Function Block Program Steps and Instance Execution Time
Section 2-9
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-9
Number of Function Block Program Steps and Instance
Execution Time
2-9-1
Number of Function Block Program Steps
This section applies only to CP-series CPU Units with unit version Ver. 1.0 or
later and CS/CJ-series CPU Units with unit version Ver. 3.0 or later, NSJ Con-
trollers, and FQM1 Flexible Motion Controllers.
Use the following equation to calculate the approximate number of program
steps when function block definitions have been created and the instances
copied into the user program of the CPU Unit.
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).
The following table applies only to CP-series CPU Units with unit version Ver.
1.0 or later and CS/CJ-series CPU Units with unit version Ver. 3.0 or later,
NSJ Controllers, and FQM1 Flexible Motion Controllers.
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.)
Summary of Contents for CX-PROGRAMMER V8.1
Page 3: ...iv...
Page 5: ...vi...
Page 7: ......
Page 15: ...xvi...
Page 19: ...xx...
Page 25: ...xxvi Application Precautions 4...
Page 26: ...Part 1 Function Blocks...
Page 27: ......
Page 153: ...128 Procedures Section 3 2...
Page 154: ...Part 2 Structured Text ST...
Page 155: ......
Page 159: ...134 CX Programmer Specifications Section 4 2...
Page 205: ...180 Procedures Section 6 1...
Page 207: ...182 System defined external variables supported in function blocks Appendix A...
Page 229: ...204 Revision History...
Page 230: ......