beautypg.com

Campbell Scientific 108-L Temperature Probe User Manual

Page 24

background image

Appendix B. Example Programs

;{CR10X}

;Program measures one 108 temperature probe once a second
;and stores the average temperature every 60 minutes.

;Wiring Diagram
;==============
;108 Probe
;
; Wire
; Color

Function

CR10X

; -----

--------

-----

; Black

Voltage-excitation input E1

; Red

Analog-voltage output

SE1

; Purple Bridge resistor lead

AG

; Clear

EMF Shield

G



*Table 1 Program
01: 1.0000 Execution Interval (seconds)

1: AC Half Bridge (P5)
1: 1

Reps

2: 23

25 mV 60 Hz Rejection Range

3: 1

SE Channel

4: 1

Excite all reps w/Exchan 1

5: 1000

mV Excitation

6: 1

Loc [ T108_C ]

7: 200

Multiplier

8: 0

Offset


2: Polynomial (P55)
1: 1

Reps

2: 1

X Loc [ T108_C ]

3: 1

F(X) Loc [ T108_C ]

4: -26.97 C0
5: 69.635 C1
6: -40.66 C2
7: 16.573 C3
8: -3.455 C4
9: 0.301

C5


3: 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)


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

Final Storage Area 1

2: 101

Array ID


5: Real Time (P77)
1: 1220

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


6: Average (P71)
1: 1

Reps

2: 1

Loc [ T108_C ]

B-2