User manual

User Manual
15
SlowSequence 'measure HC2S3 every 5 seconds
Scan (5,Sec,0,0)
'HC2S3 Temperature & Relative Humidity
`Note this forces and only works in sequential mode
`Contact Campbell Scientific if your program must work in pipeline mode
SW12(1) `switch on 12V
Delay(1,3000,mSec) `delays for 3 seconds
VoltSe(AirTC,1,mV2500,2,0,0,_50Hz,0.1,-40) `measure probe
VoltSe(RH,1,mV2500,1,0,0,_50Hz,0.1,0)
SW12(0) `switch off 12V
If RH>100 AND RH<103 Then RH=100
NextScan
EndProg
9.2 Example Programs using Differential Measurement
Instructions
Temperature and humidity are measured on differential input channels 1 and 2
respectively. The program sets relative humidity = 100 if the measured value is
> 100 but less than 103%. Values > 103% are not set = 100, and indicate a
problem with the sensor or its calibration.
Table 9-4. Wiring for
Differential Measurement Examples
Colour Description CR1000 CR10(X)
Brown Temperature 1H 1H
Jumper to
Yellow
Temperature Signal
Reference
1L 1L
White Relative Humidity 2H 2H
Yellow Signal Reference 2L 2L
Grey Power Ground G G
Clear Shield G
Green Power 12V 12V
For these examples the sensor is powered on continuously.