beautypg.com

Campbell Scientific CS210 (10162) Enclosure Humidity Sensor User Manual

Page 10

background image

CS210 Enclosure Humidity Sensor

Example 4. Sample 21X Program

;{21X}
;
*Table 1 Program
01: 10

Execution

Interval

(seconds)


1: Batt Voltage (P10)
1: 1

Loc [ Batt_Volt ]


2: Panel Temperature (P17)
1: 2

Loc [ PnlTempC ]


;Turn the CS210 on and leave it on.
;The CS210 needs approximately 10 seconds to stabilize. First scan will be low.

3: Do (P86)
1: 41

Set Port 1 High


4: Volt (SE) (P1)
1: 1

Reps

2: 15

5000 mV Fast Range

3: 1

SE

Channel

4: 3

Loc [ Enc_RH ]

5: 0.1

Multiplier

6: 0

Offset


5: If time is (P92)
1: 0

Minutes

into

a

2: 1440

Minute

Interval

3: 10

Set Output Flag High


6: Set Active Storage Area (P80)
1: 1

Final

Storage

2: 100

Array

ID


7: Real Time (P77)
1: 1220

Year,Day,Hour/Minute (midnight = 2400)


8: Minimum (P74)
1: 1

Reps

2: 0

Value

Only

3: 1

Loc [ Batt_Volt ]


9: Minimum (P74)
1: 1

Reps

2: 0

Value

Only

3: 2

Loc [ PnlTempC ]


10: Maximum (P73)
1: 1

Reps

2: 0

Value

Only

3: 2

Loc [ PnlTempC ]

6