Campbell Scientific CR10X Measurement and Control System User Manual
Page 112

SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES
8-4
FIGURE 8.3-1. AM416 Wiring Diagram For Thermocouple and Soil Moisture Block Measurements
PROGRAM
*
Table 1 Program
01:
600.0
Execution Interval (seconds)
01:
Temp (107) (P11)
1:
1
Reps
2:
4
SE Channel
3:
1
Excite all reps w/Exchan 1
4:
1
Loc [ Ref_Temp ]
5:
1
Mult
6:
0
Offset
02:
Do (P86)
1:
41
Set Port 1 High
03:
Beginning of Loop (P87)
1:
0
Delay
2:
16
Loop Count
04:
Do (P86)
1:
72
Pulse Port 2
05:
Excitation with Delay (P22)
1:
1
Ex Channel
2:
0
Delay W/Ex (units = 0.01
sec)
3:
1
Delay After Ex (units =
0.01 sec)
4:
0
mV Excitation
06:
Thermocouple Temp (DIFF) (P14)
1:
1
Reps
2:
21
±2.5 mV 60 Hz Rejection
Range
3:
1
DIFF Channel
4:
1
Type T (Copper-Constantan)
5:
1
Ref Temp Loc
[ Ref_Temp ]
6:
2--
Loc [ TC_#1 ]
7:
1
Mult
8:
0
Offset
07:
AC Half Bridge (P5)
1:
1
Reps
2:
14
±250 mV Fast Range
3:
3
SE Channel
4:
1
Ex Channel Option
5:
250
mV Excitation
6:
18--
Loc [ Soil_#1 ]
7:
1
Mult
8:
0
Offset
08:
End (P95)
09:
Do (P86)
1:
51
Set Port 1 Low
10:
BR Transform Rf[X/(1-X)] (P59)
1:
16
Reps
2:
18
Loc [ Soil_#1 ]
3:
.1
Multiplier (Rf)
11:
If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
60
Interval (same units as above)
3:
10
Set Output Flag High
12:
Real Time (P77)
1: 0110
Day,Hour/Minute
13:
Average (P71)
1:
33
Reps
2:
1
Loc [ Ref_Temp ]