
TDR100
;Turn off the switched 12V to power off the TDR100:
9: Do (P86)
1: 55
Set Port 5 Low
;Now, after making the measurements, set the output flag.
;Remember this is only done once an hour
10: Do (P86)
1: 10
Set Output Flag High (Flag 0)
;Instruction 80 is used to set the output Array ID to 60:
11: Set Active Storage Area (P80)
1: 1
Final Storage Area 1
2: 60
Array
ID
12: End (P95) ; End of Instructions to execute once an hour
;The following instructions only send data to Final Storage once
;an hour when the Output flag is set.
;Output a time stamp; year, day, and hour/minute:
13: Real Time (P77)
1: 1220
Year,Day,Hour/Minute (midnight = 2400)
;Output the averages of the 5 minute measurements of Battery Voltage
; and Datalogger temperature:
14: Average (P71)
1: 2
Reps
2: 1
Loc [ Bat_Volt ]
;Output the 29 TDR water content measurements:
15: Sample (P70)
1: 29
Reps
2: 11
Loc [ WC_3001 ]
*Table 2 Program
02: 0.0000 Execution
Interval
(seconds)
*Table 3 Subroutines
End Program
49