background image

SDM-CD16D 16 Channel Digital Control Port Expansion Module

6

Figure 5  Address Selection Switch

6.  Datalogger Instructions 104 (CR10/10X, CR23X, 21X,

CR7) and 29 (older CR7s)

Instruction 104 is used by the CR10/10X, CR23X, CR7 and 21X to control the
SDM-CD16D, and Instruction 29 is used by older CR7s.

 

The Instruction

descriptions are shown below.

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

  and 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

Instruction 29 – SDM-CD16D used with older CR7s

   Parameter   Type  Description

    1                   2      Reps (No. of modules sequentially addressed)
    2                   2      Device (2 = SDM-CD16D)
    3                   2      Starting Address (base 4: 00..33)
    4                   2      Card (Excitation card No.)

     5                   4      Starting Input Location

                       Execution Time = 150ms to 190ms per Rep

The number of SDM-CD16Ds to be addressed is defined by the Reps (repetitions)
parameter. Each Rep sequentially addresses (00, 01, 02,...32, 33) SDM-CD16Ds,
starting with the address specified in parameter 2 (parameter 3 for Instruction 29).

For each repetition, the 16 ports of the addressed SDM-CD16D are set according
to 16 sequential input locations starting at the input location specified in
parameter 3 (parameter 5 for Instruction 29). Any non-zero value stored in an
input location activates (sets HI 5V) the associated SDM-CD16D port. A value of
zero (0) de-activates the port (sets LO 0V). For example, assuming two repetitions
and a starting input location of 33, outputs 1 to 16 of the first SDM-CD16D are set
according to input locations 33 to 48, and outputs 1 to 16 of the second
SDM-CD16D are set according to input locations 49 to 64.

Use a screwdriver to select address

Summary of Contents for SDM-CD16D

Page 1: ...SDM CD16D 16 Channel Digital Control Port Expansion Module User Guide Issued 15 6 99 Copyright 1999 Campbell Scientific Ltd...

Page 2: ......

Page 3: ...in lieu of all other guarantees expressed or implied including those of suitability and fitness for a particular purpose Campbell Scientific is not liable for consequential damage Please inform us bef...

Page 4: ......

Page 5: ...ddress Selection Switches 5 6 Datalogger Instructions 104 CR10 10X CR23X 21X newer CR7s and 29 older CR7s 6 7 Theory of Operation 7 8 Program Example 7 Figures 1 SDM CD16D 1 2 Equivalent Output Driver...

Page 6: ......

Page 7: ...nchronously addressed datalogger peripheral Datalogger control ports 1 2 and 3 are used to address the SDM CD16D then clock out the desired state of each of the 16 control ports Up to sixteen SDM CD16...

Page 8: ...d EN50082 1 1998 If more detailed output characteristics are required experienced users should consult the equivalent circuit diagrams shown in Figure 2 below Figure 2 Equivalent Output Driver Circuit...

Page 9: ...ls This limitation reduces the number of available analogue input channels and may make an external supply for the SDM CD16D essential 4 Installation For correct operation the SDM CD16D must be instal...

Page 10: ...ng SDM CD16Ds to SDM CD16Ds and the datalogger should not exceed 6m Total cable lengths in excess of 6m will adversely affect communication performance For CR7 dataloggers the total cable length can b...

Page 11: ...nding address Figures 1 and 5 shows the position of the switch Note that you will have to remove the mounting bracket to gain access to this switch Table 2 Switch Position and Addresses Switch Setting...

Page 12: ...tarting Address base 4 00 33 4 2 Card Excitation card No 5 4 Starting Input Location Execution Time 150ms to 190ms per Rep The number of SDM CD16Ds to be addressed is defined by the Reps repetitions p...

Page 13: ...controls output 1 When the 16 control bits are clocked in C2 is held high while C3 is pulsed low then high to latch the control bits The datalogger then lowers both C3 and C2 to complete the cycle 8 P...

Page 14: ...hreshold 2 4 3 23 5 F 4 30 Then Do then 3 Z F P30 put a 1 into heater control 1 1 F location 2 0 Exponent of 10 3 10 Z Loc Heat_1 4 End P95 end then do 5 If X F P89 if the heater is on heater 1 10 X L...

Page 15: ...hen Do 17 Z F P30 if cooler should be turned off 1 0 F put a 0 into cooler control 2 0 Exponent of 1 location 3 15 Z Loc Cool_1 18 End P95 end then do 19 Else P94 else if cooler is off 20 Z F P30 put...

Page 16: ...flag 2 is set 1 12 Do if Flag 2 is High 2 30 Then Do then 33 Beginning of Loop P87 start fan loop 1 0 Delay 2 5 Loop Count 34 Z F P30 put a 1 into fan control 1 1 F location 2 0 Exponent of 10 3 20 Z...

Page 17: ...3 3 11 Heat_2 11 1 0 12 Heat_3 11 1 0 13 Heat_4 11 1 0 14 Heat_5 19 1 0 15 Cool_1 7 3 3 16 Cool_2 11 1 0 17 Cool_3 11 1 0 18 Cool_4 11 1 0 19 Cool_5 19 1 0 20 Fan_1 7 1 3 21 Fan_2 11 1 0 22 Fan_3 11 1...

Reviews: