beautypg.com

5 peripheral devices, Alpha code, Code – Campbell Scientific CR9000X Measurement and Control System User Manual

Page 240: Am25t parameters

background image

Section 7. Measurement Instructions

7-16

Each element in the array corresponds to a line number in the program. To
accommodate all of the instructions in the program, the array must be
dimensioned to a number greater than or equal to the total number of lines in
the program, including blank lines and comments. The Dest array must also be
dimensioned as a long integer (e.g., Public Array(20) AS LONG).

The execution time for an instruction may vary. For instance, it
may take longer to execute instructions when the datalogger is
communicating with another device.

7.5 Peripheral Devices

AM25T (Dest, Reps, Range, AM25TChan, ASlot, DiffChan, TCType, Tref,

ExCardSlot, ClkPort, ResPort, ExChan, RevDiff, SettlingTime, Integ,
Mult, Offset)

This Instruction controls the AM25T Multiplexer.

Parameter

Enter

AM25T PARAMETERS

Dest

Var. or Array

The Variable in which to store the results of the instruction. When Reps are used the results are stored in
an array with the variable name. An array must be dimensioned to have elements for all the Reps.

Reps

Constant

The number of repetitions for the measurement. For analog measurements, entering reps as a negative
number forces all reps to be on the same channel except for with CR9058E module.
Note: Enter 0 to only measure the output from the PRT.

Range

The voltage range for the measurement. V ranges output volts, mV ranges output millivolts.

Constant

± 5 Volt Analog Input
Module

± 50 Volt Analog Input
Module

Alpha

Code

Num

Code

R *

Option

Code

Voltage

Range

(±mV)

Alpha

Code

Num

Code

R *

Option

Code

Voltage

Range

±

mV5000

0 100

5000 V50 6

N/A

50 V

mV1000

1 101

1000 V10

7

N/A

10 V

mV200

4 104

200 V2

10 N/A

2 V

mV50

5

105

50

mV500 11 N/A

500 mV

mV200C 16

116

200

Alpha Codes ending with a C signify that the channel will be pulled into

See Section

3.2.2 for more

info on the C

& R range

code options.

mV50C

17

117

50

Operational Input Voltage Limits & checked for open input. See Section 3.1.2.

AM25TChan

Constant

The input channel on the AM25T for the first measurement

ASlot

Constant

The number of the slot that contains the CR9050 Module used to measure the AM25T reference
temperature and connected sensors.

DiffChan

Constant

The channel number on the CR9050 Module that will be used to make the actual measurements from the
AM25T.

TCType

The code for the thermocouple type.

Constant

Alpha Code

Numeric Code

Thermocouple Type

mV

-1

Output mV

TypeT

0

Copper Constantan

TypeE

1

Chromel

Constantan

TypeK

2

Chromel

Alumel

TypeJ

3

Iron

Constantan

TypeB

4

Platinum

Rhodium

TypeR

5

Platinum

Rhodium

TypeS

6

Platinum

Rhodium

NOTE