beautypg.com

Campbell Scientific CS105/CS105MD Barometric Pressure Sensor User Manual

Page 14

background image

CS105/CS105MD Barometric Pressure Sensor

Example 5. CR10(X) Program for Measuring the CS105 Once Every Hour with Instruction 2
(Differential Measurement)

;{CR10X}
;
*Table 1 Program
01: 10

Execution

Interval

(seconds)


01: If time is (P92)
1: 59

Minutes (Seconds --) into a

2: 60

Interval (same units as above)

3: 41*

Set Port 1* High


02: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 60

Interval (same units as above)

3: 30

Then

Do


03: Volt (Diff) (P2)
1: 1

Reps

2: 25*

± 2500 mV 60 Hz Rejection Range

3: 4*

DIFF

Channel

4: 1*

Loc [ P_mb ]

5: .184

Mult

6: 600

Offset


04: Do (P86)
1: 51*

Set Port 1* Low


05: End (P95)

06: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 60

Interval (same units as above)

3: 10

Set Output Flag High (Flag 0)


07: Real Time (P77)
1: 0110

Day,Hour/Minute


08: Sample (P70)
1: 1

Reps

2: 1*

Loc [ P_mb ]


-Input Locations-
1 P_mb

*

Proper entries will vary with program and datalogger channel, and input location assignments.

** On the 21X use the 5000 mV slow range.

10