
CS616 and CS625 Water Content Reflectometers
7: Step Loop Index (P90) ;Increment input locations by 3/loop pass
1: 3 Step
8: Do (P86)
1: 72 Pulse Port 2 ;Pulse control port 2 (i.e. Multiplier Clock)
9: CS616 Water Content Reflectometer (P138) ;Measure Period on 3ea CS616
1: 3 Reps
2: 1 SE Channel
3: 13 All reps use C3
4: 3 -- Loc [ Period_1 ]
5: 1.0 Mult
6: 0.0 Offset
;Note: Input "Loc" must be indexed "--" in a loop! How? Use the "F4" Key.
10: End (P95) ;end of loop
11: Do (P86) ;Set user flag 1 low
1: 21 Set Flag 1 Low
12: End (P95) ;Do Loop End instruction
13: Do (P86) ;Set control port 1 "low" (i.e. Multiplexer Reset)
1: 51 Set Port 1 Low
14: Polynomial (P55) ;Convert 48ea Period measurements into water content
1: 48 Reps
2: 3 X Loc [ Period_1 ]
3: 52 F(X) Loc [ VWC_1 ]
4: -0.0663 C0
5: -0.0063 C1
6: 0.0007 C2
7: 0.0 C3
8: 0.0 C4
9: 0.0 C5
15: If time is (P92) ;Store hourly averages every 4 hours
1: 0 Minutes (Seconds --) into a
2: 240 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
16: Real Time (P77) ;Data Storage time stamp
1: 1220 Year,Day,Hour/Minute (midnight = 2400)
17: Average (P71) ;Data Storage Average, Location 1 & 2
1: 2 Reps
2: 1 Loc [ Bat_Volt ]
18: Average (P71) ;Data Storage Average, Location 52,53,..99
1: 48 Reps
2: 52 Loc [ VWC_1 ]
*Table 2 Program
02: 0.0000 Execution Interval (seconds)
*Table 3 Subroutines
End Program
-Input Locations-
1 Bat_Volt 1 1 1
2 DL_Temp 1 1 1
3 Period_1 7 1 1
4 Period_2 11 1 1
.
.
50 Period_48 19 1 0
51 _________ 0 0 0
52 VWC_1 5 1 1
23
Commentaires sur ces manuels