Instruction manual
Appendix B. Example Programs
Public CS650(6)
Public CS650_2(6)
DataTable (DatoutCS650,1,-1)
DataInterval (0,60,Min,2)
Average (3,CS650(1),FP2,False)
Sample(3,CS650(4),IEEE4)
Average (3,CS650_2(1),FP2,False)
Sample(3,CS650_2(4),IEEE4)
EndTable
BeginProg
Scan (15,Min,0,0)
SDI12Recorder (CS650(1),1,0,"M3!",1.0,0)
SDI12Recorder (CS650_2(1),1,1,"M3!",1.0,0)
CallTable DatoutCS650 'Call Data Table
NextScan
EndProg
B.1.3 CR1000 with 12 CS650 Probes on Multiplexer
This CRBasic example program measures 12 CS650 probes on a AM16/32B
multiplexer every 15 minutes, storing hourly averages of volumetric water
content, electrical conductivity, soil temperature, permittivity, period average,
and voltage ratio. All probes are addressed with SDI-12 address of 0. In this
example, the probes are powered through the switched 12V channel and
require 3 seconds warm-up time per probe. Total time to measure all 12 probes
is more than 36 seconds. Alternately, all of the red wires for the probes could
be connected to a bus separate from the multiplexer with the bus connected to
12V for continuous power. This would decrease measurement time. Wiring
for the example is shown in TABLE B-3. Assignment of aliases and units is
not shown in this example.
TABLE B-3. CR1000 Wiring For Multiplexer Example Program
CR1000 AM16/32B (2x32 mode) CS650
12V 12V
G GND
C2 RES
C3 CLK
SW12 COM ODD H
C1 COM ODD L
G COM Ground
High Channels 1H – 12H Red
Low Channels 1L – 12L Green
Ground Channels to Left of
Low Channels
Black, Orange, Clear
B-2