1 cs616 sample crbasic program 1, Cs616 sample crbasic program 1 – Campbell Scientific CS616 and CS625 Water Content Reflectometers User Manual
Page 13

CS616 and CS625 Water Content Reflectometers
Code Description
1
Control Port 1
2
Control Port 2
3
Control Port 3
4
Control Port 4
5
Control Port 5
6
Control Port 6
7
Control Port 7
8
Control Port 8
MeasPerPort
: The MeasPerPort parameter is the number of control ports to be
used to control the CS616 sensor(s). If Reps is set to 4, MeasPerPort = 4 will
result in the same port being used for all measurements. MeasPerPort = 1 will
result in four sequential ports being used for the measurements. MeasPerPort =
2 will result in one port being used for the first two measurements, and the next
port being used for the next two measurements.
Mult, Offset
: The Mult and Offset parameters are each a constant, variable,
array, or expression by which to scale the results of the measurement.
6.4.1.1 CS616 Sample CRBasic Program 1
The following CR1000 program uses the
CS616() instruction to measure eight
CS616 probes connected to the CR1000 datalogger. Although this example is
for the CR1000, other CRBasic dataloggers are programmed similarly.
Wiring for CRBasic
Program Example 1
CS616
CR1000
CS616#1_Green
5H
CS616#2_Green
5L
CS616#3_Green
6H
CS616#4_Green
6L
#1,2,3,4_Orange
C7
#1,2,3,4_Blk & Clear GND
#1,2,3,4_Red
12 V
CS616#5_Green
7H
CS616#6_Green
7L
CS616#7_Green
8H
CS616#8_Green
8L
#5,6,7,8_Orange
C8
#5,6,7,8_Blk & Clear GND
#5,6,7,8_Red
12 V
Note: All CS616 “12V_Red”
wires connected to CR1000 12 V
terminal (user supplied common
tie post may be required).
7