beautypg.com

4 cr10x with a single cs650 probe, Cr10x with a single cs650 probe, 7. wiring for program example 3 – Campbell Scientific CS650 and CS655 Water Content Reflectometers User Manual

Page 29

background image

CS650 and CS655 Water Content Reflectometers

TABLE 6-7. Wiring For Program Example 3

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

Code Example 3. CRBASIC Code: CR1000 Program to Measure 12

CS650 Probes on a AM16/32 Multiplexer

Dim LCount
Public CS650(12,6)

DataTable (DatoutCS650,1,-1)
DataInterval (0,60,Min,2)
Average (72,CS650(),IEEE4,False)
EndTable

BeginProg
Scan (15,Min,0,0)
PortSet(2,1)

'Turn AM16/32 Multiplexer On

Delay(0,150,mSec)
LCount=1
SubScan(0,uSec,12)
PulsePort(3,10000)

'Switch to next AM16/32 channel

SW12 (1 )

'Apply power to CS650

Delay (0,3,Sec)

'Wait three seconds for probe to warm up

SDI12Recorder (CS650(LCount,1),1,0,"M!",1.0,0)
LCount=LCount+1
SW12 (0)

'Remove power from CS650

NextSubScan
PortSet(2,0)

'Turn AM16/32 Multiplexer Off

Delay(0,150,mSec)
CallTable DatoutCS650

'Call Data Table

NextScan
EndProg

6.6.4 CR10X With a Single CS650 Probe

This Edlog example program measures one CS650 probe on a CR10X every 15

minutes, storing hourly averages of volumetric water content, electrical

conductivity, soil temperature, permittivity, period average, and voltage ratio.

The CS650 has a SDI-12 address of 0. Wiring for the example is shown in

TABLE 6-8.

21