Instruction manual

Appendix B. Example Programs
;activate SW12V for turbidity probe, delay 3 seconds, then measure
1: Do (P86)
1: 48 Set Port 8 High
2: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 300 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
3: Beginning of Loop (P87)
1: 0 Delay
2: 10 Loop Count
4: Volt (SE) (P1)
1: 1 Reps
2: 25 2500 mV 60 Hz Rejection Range
3: 1 SE Channel
4: 3 -- Loc [ NTU_V_1 ]
5: 0.001 Mult
6: 0.0 Offset
5: End (P95)
6: Spatial Average (P51)
1: 10 Swath
2: 3 First Loc [ NTU_V_1 ]
3: 2 Avg Loc [ NTU_Volts ]
NTU = -0.29928 + (105.69 * NTU_Volts) - (0.24763 * NTU_Volts^2)
; evaluate to see if value >250, where High range measurement should be taken via Sub1
7: If (X<=>F) (P89)
1: 1 X Loc [ NTU ]
2: 3 >=
3: 250 F
4: 1 Call Subroutine 1
8: Do (P86) ;switch off the 12V for turbidity probe
1: 58 Set Port 8 Low
*Table 2 Program
01: 0 Execution Interval (seconds)
*Table 3 Subroutines
1: Beginning of Subroutine (P85)
1: 1 Subroutine 1
2: Beginning of Loop (P87)
1: 0 Delay
2: 10 Loop Count
3: Volt (SE) (P1)
1: 1 Reps
2: 25 2500 mV 60 Hz Rejection Range
3: 2 SE Channel
4: 3 -- Loc [ NTU_V_1 ]
5: 0.001 Mult
6: 0.0 Offset
4: End (P95)
5: Spatial Average (P51)
1: 10 Swath
2: 3 First Loc [ NTU_V_1 ]
3: 2 Avg Loc [ NTU_Volts ]
B-4