background image

SDM-CD16AC 16 Channel AC/DC Controller 

 

FIGURE 5-1.  Addressing 

6.  Data Logger Programming 

In CRBasic, the 

SDMCD16AC() 

instruction is used to control the SDM-

CD16AC. Data loggers that are programmed with CRBasic include the CR6, 

CR800, CR850, CR1000X, CR1000, CR3000, CR5000, and CR9000(X). The 

SDMSpeed() 

instruction should also be used if the cable length is longer than 

20 ft. 

6.1  CRBasic Programming 

6.1.1  SDMCD16AC() Instruction 

Syntax 

SDMCD16AC

(Source, Reps, SDMAddress) 

Remarks 

A port on an SDM-CD16AC is enabled/disabled (turned on or off) by sending 

a 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 has the following parameters: 

Source:

 The 

Source

 parameter is an 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. 

Содержание 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...

Отзывы: