(segment 5 is the first segment looped back FROM)
time from segment 2 to segment 5
loop 1 from 5 to 3
time from 3 to 5
loop 2 from 5 to 3
time from 3 to 7
loop A from 7 to 2
time from 2 to 5
loop la from 5 to 3
time from 3 to 5
loop 2a from 5 to 3
time from 3 to 7
loop B from 7 to 2
time from 2 to 5
loop lb from 5 to 3
time from 3 to 5
loop 2b from 5 to 3
time from 3 to 5
= 1:20
60 seconds
40 seconds
80 seconds
60 seconds
40 seconds
80 seconds
60 seconds
40 seconds
40 seconds
total 500 seconds (7:20)
Because in the above example it is required to end the cycle at 9:40, then:
- event statement time = 9:40 - 7:20 = 2:20
Point 8 must be programmed at 540 seconds (9 minutes 40 seconds) from the start of
the cycle, and point 7 at 9 minutes 20 seconds.
The figure below shows the whole program listing as performed.