beautypg.com

2 cr1000 with 2 cs650 probes on same control port, 3 cr1000 with 12 cs650 probes on multiplexer, Cr1000 with 2 cs650 probes on same control port – Campbell Scientific CS650 and CS655 Water Content Reflectometers User Manual

Page 28: Cr1000 with 12 cs650 probes on multiplexer, 6. wiring for program example 2

background image

CS650 and CS655 Water Content Reflectometers

6.6.2 CR1000 With 2 CS650 Probes on Same Control Port

This CRBasic example program measures two CS650 probes on a CR1000

every 15 minutes, storing hourly averages of volumetric water content,

electrical conductivity, and soil temperature and samples of permittivity, period

average and voltage ratio. The first CS650 has a SDI-12 address of 0 and the

second an address of 1. Wiring for the example is shown in TABLE 6-6.

Assignment of aliases and units is not shown in this example but may be used

following Program Example 1 above.

TABLE 6-6. Wiring For Program Example 2

CR1000 CS650’s (wiring same for both)
12V

Red

C1

Green

G

Black, Orange, Clear

Code Example 2. CRBASIC Code: CR1000 Program to Measure 2 CS650

Probes on the Same Control Port

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

6.6.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 6-7. Assignment of aliases and units is not

shown in this example but may be used following Program Example 1 above.

20