Appendix A. Program Example
FIGURE A-1. Example Program Flow Chart
PROGRAM EXAMPLE
Input Locations Used:
1:STATE #1 13:DUTY #5
2:STATE #2 14:DUTY #6
3:STATE #3 15:DUTY #7
4:STATE #4 16:DUTY #8
5:STATE #5 17:COUNT#1
6:STATE #6 18:COUNT #2
7:STATE #7 19:COUNT #3
8:STATE #8 20:COUNT #4
9:DUTY #1 21:COUNT #5
10:DUTY #2 22:COUNT #6
11:DUTY #3 23:COUNT #7
12:DUTY #4 24:COUNT #8
25:RESET CNT
Output Arrays: ID = 105, 27 ELEMENTS
ID = 112, 4 ELEMENTS
105, DAY, HRMN, STATE #1,... STATE #8, DUTY #1, ... DUTY #8, COUNT #1, ... COUNT #8
112, DAY, HRMN, RESET COUNT
A-2