
Section 8. Processing and Program Control Examples
8-17
Loop 3, Output every 1 minute for 70 minutes
08:
P87
Beginning of Loop
01:
6
Delay
02:
70
Loop Count
09:
P86
Do
01:
1
Call Subroutine 1
10:
P95
End
Loop 4, Output every 2 minutes for 200 minutes
11:
P87
Beginning of Loop
01:
12
Delay
02:
100
Loop Count
12:
P86
Do
01:
1
Call Subroutine 1
13:
P95
End
Loop 5, Output every 5 minutes for 700 minutes
14:
P87
Beginning of Loop
01:
30
Delay
02:
140
Loop Count
15:
P86
Do
01:
1
Call Subroutine 1
16:
P 95
End
Loop 6, Output every 10 minutes until stopped by user
17:
P87
Beginning of Loop
01:
60
Delay
02:
0
Loop Count
18:
P86
Do
01:
1
Call Subroutine 1
19:
P91
If Flag/Port
01:
21
Do if flag 1 is low
02:
31
Exit Loop if true
20:
P95
End
21:
P
End Table 1
*
3
Table 3 Subroutines
01:
P85
Beginning of Subroutine
01:
1
Subroutine Number