beautypg.com

Campbell Scientific AM25T 25-Channel Solid State Multiplexer User Manual

Page 25

background image

Appendix A. Single-Ended Measurements

05: Temperature RTD (P16)

;Calculate reference temperature

1: 1

Reps

2: 1

R/R0 Loc [ RefTemp_C ]

3: 1

Loc [ RefTemp_C ]

4: 1.0

Mult

5: 0.0

Offset


06: Beginning of Loop (P87)

;Loop through thermocouple channels

1: 0

Delay

2: 25

Loop

Count


07: Step Loop Index (P90)

;Set index to advance 2 locations/loop

1: 2

Step


08: Do (P86)

;Clock the AM25T twice

1: 71

Pulse

Port

1


09: Do (P86)
1: 71

Pulse

Port

1


10: Thermocouple Temp (SE) (P13)

;Measure the connected thermocouple

1: 2

Reps

2: 21

2.5 mV 60 Hz Rejection Range

3: 1

SE

Channel

4: 1

Type

T

(Copper-Constantan)

5: 1

Ref Temp (Deg. C) Loc [ RefTemp_C ]

6: 2--

Loc [ TC_1 ]

7: 1.0

Mult

8: 0.0

Offset


11: End (P95)

;End loop


12: Do (P86)

;Turn off AM25T

1: 52

Set Port 2 Low

Example A-2. 21X Program for Measuring 50 Type T Thermocouples or Voltage Sensors
Using a Single-ended Instruction

*Table 1 Program

01: 10

Execution

Interval

(seconds)

01: Do (P86)

;Turn On AM25T

1: 42

Set Port 2 High

02: Full Bridge (P6)

;Measure the output of the reference temp. full bridge

1: 1

Reps

2: 3

50 mV Slow Range

;See Table 6-1 for older AM25T multiplexers

3: 1

DIFF

Channel

4: 1

Excite all reps w/Exchan 1

5: 2400

mV

Excitation

;See Table 6-1 for older AM25T multiplexers

6: 1

Loc [ RefTemp_C ]

7: -0.001 Mult

8: 0.09707 Offset

A-3