beautypg.com

Appendix b. edlog programming examples, B.1 example cr10x program – Campbell Scientific BlackGlobe Temperature Sensor for Heat Stress User Manual

Page 21

background image

Appendix B. Edlog Programming
Examples

B.1 Example CR10X Program

Instruction 5 (AC Half Bridge) is used to measure the thermistor probe inside
the sphere. Instruction 55 (Polynomial) is used to calculate the temperature
in degrees Celsius. The polynomial coefficients are shown in TABLE B-1.
Thermistor resistance and computed temperature over a –10 to +84°C range is
shown in TABLE B-2. The example includes instructions for measuring an
HC2S3 to supply air temperature and relative humidity values. Calculations
for dewpoint, wet-bulb, and wet-bulb globe temperature are also included.

;{CR10X}
;Program: BLACKGLOBE.CSI
;Date: June 2013

*Table 1 Program
01: 5.0000 Execution

Interval

(seconds)


1: Batt Voltage (P10)
1: 1

Loc [ BattVolt ]


2: Internal Temperature (P17)
1: 2

Loc

[

CR10XTmpC

]


;Rotronic HC2S3 temperature and relative humidity.
;Sensor powered on all the time.

3: Volt (SE) (P1)
1: 1

Reps

2: 5

2500 mV Slow Range

3: 1

SE

Channel

4: 4

Loc

[

AirTempC

]

5: 0.1

Multiplier

6: -40

Offset


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

Reps

2: 5

2500 mV Slow Range

3: 2

SE

Channel

4: 5

Loc [ AirRH ]

5: 0.1

Multiplier

6: 0

Offset


5: If (X<=>F) (P89)
1: 5

X Loc [ AirRH ]

2: 3

>=

3: 100

F

4: 30

Then

Do

B-1