background image

SDM-CD16AC 16 Channel AC/DC Controller 

10 

shifts out a data bit on 

C1

 (LSB first) on the falling edge of the 

C2

 clock. The 

SDM-CD16AC shifts in the 

C1

 data bit on the rising edge of the 

C2

 clock. 

The first 8 bits clocked out represent the SDM-CD16AC address. If the address 

matches the SDM-CD16AC's address, the SDM-CD16AC is enabled. If 

enabled, the next 16 bits are shifted into the SDM-CD16AC, each bit 

controlling one port, the first of which controls port 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 data logger then lowers both 

C3

 and 

C2

 

to complete the cycle. 

8.  Program Examples 

8.1  CRBasic Example 

8.1.1  Controlling Two SDM-CD16ACs 

In the following CR1000X program example, a counter is used to fill an array 

called 

src

() that will control two SDM-CD16ACs.  

CRBasic Example 8-1.  Controlling Two SDM-CD16ACs 

'Dimension Variables 

Public

 src(32) 

Dim

 i, count, mask(16) 

 

'Program 

BeginProg

 

for

 i=1 

to

 16 

  mask(i) = 2^(i-1) 
  

next

 i 

  

Scan

(20,msec,2,0) 

    count = count + 1 
    

for

 i=1 

to

 32 

      src(i) = count 

AND

 mask(((i-1) 

MOD

 16) +1) 

    

next

 i 

    

SDMCD16AC

(src(),2,1) 

  

NextScan

 

EndProg

  

 

8.1.2  Control Temperature and Fans 

In this example, the SDM-CD16AC is used to control the temperature between 

23 and 28 °C in each of 5 greenhouses. In each greenhouse, the SDM-CD16AC 

controls a heating unit, a refrigerating unit, and an air-mixing fan according to 

the following conditions. 

Heating unit: Activate when temperature < 23.5 °C. Deactivate when 

temperature > 25.5 °C 

Cooling unit: Activate when temperature > 27.5 °C. Deactivate when 

temperature < 24.5 °C 

Mixing fan: Activate whenever the heating or cooling units are activated. 

Activate for 5 minutes out of every 15 minutes. 

Содержание SDM-CD16AC

Страница 1: ...SDM CD16AC 16 Channel AC DC Relay Controller Revision 9 19 Copyright 1987 2019 Campbell Scientific Inc...

Страница 2: ...ucts to CSI CSI will return such Products by surface carrier prepaid within the continental United States of America To all other locations CSI will return such Products best way CIP port of entry per...

Страница 3: ...ing address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Product Cleanliness and Decontamination form and co...

Страница 4: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Страница 5: ...5 4 1 3 Motor Control 6 5 Address Selection Switches 7 6 Data Logger Programming 8 6 1 CRBasic Programming 8 6 1 1 SDMCD16AC Instruction 8 6 1 2 SDMSpeed Instruction 9 7 Theory of Operation 9 8 Progr...

Страница 6: ...Table of Contents ii CRBasic Examples 8 1 Controlling Two SDM CD16ACs 10 8 2 Using an Array to Set SDM CD16AC Control Outputs 11 8 3 Using an Integer to Set SDM CD16AC Control Outputs 12...

Страница 7: ...mon COM and normally open NO contacts are closed see FIGURE 4 1 In the AUTO position the state of the relays are controlled by the data logger control ports The SDM CD16AC is a synchronously addressed...

Страница 8: ...277 VAC Coil voltage 11 to 18 VDC Coil resistance 360 Ohms 10 Expected life contact closures Mechanical 107 Actuation release time Approx 4 ms Standards Underwriters Laboratories UL listed product E1...

Страница 9: ...to a class 2 supply only All Campbell Scientific power supplies meet the class 2 supply requirements Cables connecting the terminals of the data logger and SDM device should be kept as short as possi...

Страница 10: ...nd Control Connections Refer to FIGURE 3 1 and TABLE 4 1 for SDM CD16AC operating power and control connections to the data logger TABLE 4 1 Data Logger to SDM CD16AC Connections see caution Connectio...

Страница 11: ...COME IN CONTACT WITH HOT LEADS FIGURE 4 1 shows how the switches in each channel operate NO means normally open NC means normally closed COM means common to NO and NC Position of Contacts When Positi...

Страница 12: ...phase motor starter in a Motor Control Center MCC Typically the data logger will automatically command the appropriate relay to energize the motor starter The relay in the SDM CD16AC will remain latc...

Страница 13: ...CD16AC can have 1 of 16 addresses Shipped from the factory the address is set at 00 The following table shows switch position and the corresponding address see FIGURE 5 1 Switch A 0 1 2 3 Switch B 0...

Страница 14: ...value to it using the SDMCD16AC instruction A non zero value will enable the port a zero value disables it The values to be sent to the CD16AC are held in the Source array The SDMCD16AC instruction ha...

Страница 15: ...of SDMSpeed If intermittent communications with several devices connected at once is experienced or when using long cables use SDMSpeed to increase the bit period above the default Try doubling the b...

Страница 16: ...gram example a counter is used to fill an array called src that will control two SDM CD16ACs CRBasic Example 8 1 Controlling Two SDM CD16ACs Dimension Variables Public src 32 Dim i count mask 16 Progr...

Страница 17: ...are for Fans CD16_Output as Long EXAMPLE 2 the actual value used to control SDMCD the CD16_Output bits set the SDM CD16AC ports bits 0 to 4 are for Heat 5 to 9 are for Cooling 10 to 14 are for Fans C...

Страница 18: ...bits 0 to 4 are for Heat 5 to 9 are for Cooling 10 to 14 are for Fans PROGRAM BeginProg Scan 5 Sec 3 0 For I 1 to 5 If Temp I 23 5 Then Set appropriate Heater Bit High CD16_Output CD16_Output OR 2 I...

Страница 19: ...cc Website www campbellsci cc France Location Vincennes France Phone 0033 0 1 56 45 15 20 Email info campbellsci fr Website www campbellsci fr Germany Location Bremen Germany Phone 49 0 421 460974 0...

Отзывы: