20
4.1 Repeat Cycle
User can control Block execution by using Repeat Cycle. Priority of Block
execution is decided by means of Repeat Cycle. Range for Repeat Cycle
is 1-99.
Repeat Cycle = 1 ………… Highest priority
Repeat Cycle =99 …………Lowest priority
Normally, Blocks are executes in step by step fashion. Eg. If 5 Blocks are
defined a in project with Repeat cycle = 1, then Gateway executes blocks
in following fashion.
Block execution starts with Block#01, then Block#02, … Block#5 and
again Block#01
Execution of all the Blocks from Block#01 to Block#05 is treated as one
cycle.
In above example
1.
If Repeat Cycle =1 for every block except Block#04 which has
Repeat Cycle =03
All the Blocks will be executed once after power-up.
Block#04 will be skipped for next 2 cycles.
Repeat Cycle 1 means Block will be skipped for 0 cycle means No
skipping.
Repeat Cycle 2 means Block will be skipped for 1 cycles.
Repeat Cycle 3 means Block will be skipped for 2 cycles.
This is explained below.
1. In first cycle all blocks will be executed ….
Block#01,02,03,04,05
Block#01
Block#02
Block#03
Block#04
Block#05