Campbell Scientific 229 Water Matric Potential Sensor and CE4/CE8 User Manual
Page 21
229 Heat Dissipation Matric Water Potential Sensor
;{CR10X}
;Program to read 16 229-L sensors using 1 AM16/32 multiplexer
;and 1 CE4 or CE8 constant current interface
;Manually set Flag 1 high to force readings
*Table 1 Program
01: 30
Execution
Interval
(seconds)
1: Batt Voltage (P10)
1: 1
Loc
[
Batt_Volt
]
2: If time is (P92)
;Set Flag 1 high each hour
1: 0
Minutes (Seconds --) into a
2: 60
Interval (same units as above)
3: 11
Set
Flag
1
High
3: If Flag/Port (P91)
1: 11
Do if Flag 1 is High
2: 30
Then
Do
4: Do (P86)
;Turn on AM16/32
1: 4
Set
Port
2
High
5: Beginning of Loop (P87)
;Loop of 16 for 16 sensors on AM16/32
1: 0
Delay
2: 16
Loop
Count
6: Do (P86)
;Advance to next multiplexer channel
1: 73
Pulse
Port
3
7: Temp (107) (P11)
;Measure reference temperature
1: 1
Reps
;This is the same instruction
2: 5
SE
Channel
;for both the CR10X and 107
3: 1
Excite
all
reps
w/E1
4: 2
Loc [ Tref_C ]
5: 1.0
Mult
6: 0.0
Offset
8: Thermocouple Temp (DIFF) (P14)
;Read initial temperature
1: 1
Reps
2: 21
10 mV, 60 Hz Reject, Slow Range
3: 1
DIFF
Channel
4: 1
Type
T
(Copper-Constantan)
5: 2
Ref Temp (Deg. C) Loc [ Tref_C ]
6: 3
-- Loc [ Tinit_1 ]
7: 1.0
Mult
8: 0.0
Offset
9: Do (P86)
;turn on CE8
1: 41
Set
Port
1
High
10: Excitation with Delay (P22)
;Delay of 1 second
1: 1
Ex
Channel
2: 0000
Delay W/Ex (0.01 sec units)
3: 100
Delay After Ex (0.01 sec units)
4: 0
mV
Excitation
17