2 multiplexer connection, 3 crbasic multiplexer examples, 1 cr800, cr850, and cr1000 program – Campbell Scientific CS420 and CS425 PDCR 1830-8388 Pressure Transducer User Manual

Page 20

Advertising
background image

CS420-L and CS425-L Pressure Transducers

8.1.2 Multiplexer Connection

Multiplexer Datalogger

COM H1

H1

COM L1

L1

COM H2

H2

COM L2

L2

12V 12V
G G
RES C1
CLK C2
Shield G

8.1.3 CRBasic Multiplexer Examples

8.1.3.1 CR800, CR850, and CR1000 Program

Although the following program was written for the CR1000, the CR800 and
CR850 could use the same program.

'CR1000
'For use with an AM16/32 in a 6 wire configuration, with four sensors.

Public WellDepth(4)

Dim LoopCount
Dim Mult(4)
Dim Offset(4)

DataTable (WellData,1,-1)
DataInterval

(0,30,Sec,10)

Sample

(4,WellDepth(),FP2)

Maximum

(4,WellDepth(),FP2,False,True)

Minimum

(4,WellDepth(),FP2,False,True)

EndTable

BeginProg
Scan

(5,Sec,0,0)


'Load multiplier and offset for each individual sensor

Mult(1)

=

2.2975

Mult(2)

=

1.0560

Mult(3)

=

3.0001

Mult(4)

=

1.9821


Offset(1)

=

.36781

Offset(2)

=

.4011

Offset(3)

=

.2103

Offset(4)

=

1.0029

16

Advertising