Cs7500 (dest, reps, sdmaddress, cs7500cmd) – Campbell Scientific CR5000 Measurement and Control Module User Manual

Page 163

Advertising
background image

Section 7. Measurement Instructions

7-37

Parameter
& Data Type

Enter

Source

Array

The array which holds the values that will be sent to the SDM-CD16AC to
enable/disable its ports. An SDM-CD16AC has 16 ports; therefore, the
source array must be dimensioned to 16 times the number of Repetitions
(the number of SDM-CD16AC devices to be controlled). As an example,
with the array CDCtrl(32), the value held in CDCtrl(1) will be sent to port 1,
the value held in CDCtrl(2) will be sent to port 2, etc. The value held in
CDCtrl(32) would be sent to port 16 on the second SDM-CD16AC..

Reps
Constant

The Reps parameter is the number of SDM-CD16AC devices to be
controlled with this instruction.

SDMAddress

Constant

The address of the first CD16AC that will be controlled with this
instruction. Valid SDM addresses are 0 through 15. If the SDMTrigger
instruction is used in the program, address 15 should not be used. If the
Reps parameter is greater than 1, the datalogger will increment the SDM
address for each subsequent device that it communicates with.

CS7500 (Dest, Reps, SDMAddress, CS7500Cmd)

Communicates with the CS7500 open path CO

2

and H

2

O sensor. See CS7500

manual for more information.

Parameter
& Data Type

Enter

Dest

The Dest parameter is the input variable name in which to store the data
from each CS7500 associated with this instruction. The length of the input
variable array will depend on the number of Repetitions and on the selected
Command.

Command

Input Variable Length per CS7500

0 and 1

2

2

4

3

3

4

11

5

3

Reps

The Reps parameter determines the number of CS7500 gas analyzers with
which to communicate using this instruction. The CS7500s must have
sequential SDM addresses if the Reps parameter is greater than 1

SDMAddress

The SDMAddress parameter defines the address of the CS7500 with which
to communicate. Valid SDM addresses are 0 through 14. Address 15 is
reserved for the SDMTrigger instruction. If the Reps parameter is greater
than 1, the datalogger will increment the SDM address for each subsequent
CS7500 that it communicates with.

The SDM address is entered as a base 10 number, unlike older, jumper-
settable SDM instruments that used base 4.

Advertising