Campbell Scientific SDM-CD16S 16-Channel Solid State DC Relay Controller Module User Manual

Page 12

Advertising
background image

SDM-CD16S 16 Channel Solid State DC Control Module

CDCtrl(32) would be sent to port 16 on the second SDM-
CD16AC.

If the Source parameter is defined as a Long variable, but it
is dimensioned less than 16 * Reps, Source will act as a
binary control for the instruction whose bits 0..15 will
specify control ports 1..16, respectively. In this instance,
Source(1) will be used for the first rep, Source(2) will be
used for the second, and so on.

Reps

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

SDMAddress

The SDMAddress parameter is used to define the address of
the SDM-CD16AC that will be controlled with this
instruction. 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 device that
it communicates with.

CRBasic dataloggers use base 10 when addressing SDM devices.
Edlog programmed dataloggers (e.g., CR10X, CR23X) used
base 4 for addressing (Table 2).

NOTE

CRBasic dataloggers also have the TimedControl instruction which allows a
timed sequence of settings to be managed by the measurement task avoiding
possible processing delays to cause delayed switching (pipeline mode only).
See an example in Section 8.4.

6.2 Datalogger Instructions 104 (CR10/10X, CR23X, 21X, CR7)

and 29 (older CR7s)

The CR10/10X, CR23X, CR7 and 21X use instruction 104 to control the
SDM-CD16S. Instruction 29 is used by older CR7s. The Instruction
descriptions are shown below.

Instruction 104 – SDM-CD16S used with CR10/10X, CR23X,

CR7and 21X dataloggers

Parameter Type Description
1

2

Reps (No. of modules sequentially addressed)

2

2

Starting Address (base 4: 00..33)

3

4

Starting Input Location

Execution Time = 2ms per Rep for the CR10/10X and CR23X

3.5ms per Rep for the 21X and CR7

8

Advertising