beautypg.com

1 cr10x programming – Campbell Scientific CS505 Fuel Moisture Sensor User Manual

Page 9

background image

CS505 Fuel Moisture Sensor

5.1 CR10X Programming

A program to measure a CS505 fuel moisture sensor using the Period
Averaging instruction P27. P27 is the preferred measurement technique with a
Campbell Scientific, Inc. datalogger. P27 is not an option in the 21X or CR7
datalogger.

;{CR10X}

;CR10X Program for CS505

*Table 1 Program
01: 10.0000 Execution

Interval

(seconds)


1: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 60

Interval (same units as above)

3: 30

Then

Do


2: Do (P86)
1: 41

Set Port 1 High


3: Period Average (SE) (P27)
1: 1

Reps

2: 4

200 kHz Max Freq @ 2 V Peak to Peak, Period Output

3: 1

SE

Channel

4: 10

No.

of

Cycles

5: 5

Timeout (0.01 sec units)

6: 4

Loc [ PA_uS ]

7: 1

Multiplier

8: 0

Offset


4: Z=X*F (P37)
1: 4

X Loc [ PA_uS ]

2: 0.001

F

3: 3

Z Loc [ FuelM ]


5: Polynomial (P55)
1: 1

Reps

2: 3

X Loc [ FuelM ]

3: 3

F(X) Loc [ FuelM ]

4: -220.14 C0
5: 365.89 C1
6: -114.96 C2
7: 0

C3

8: 0

C4

9: 0

C5


6: Do (P86)
1: 51

Set Port 1 Low


7: End (P95)

5