Home
SDM-CD16D 16 Channel Digital Control Port
Contents
1. Note that you will have to remove the mounting bracket to gain access to this switch SDM CD16D 16 Channel Digital Control Port Expansion Module Table 2 Switch Position and Addresses Switch Setting Base 4 Address Use a screwdriver to select address Figure 5 Address Selection Switch User Manual 6 Datalogger Instructions 6 1 CRBasic 6 2 Edlog The SDMCD16AC instruction in CRBasic is used by our CR800 CR850 CR1000 CR3000 and CR5000 dataloggers With this instruction a port on an SDM CD16D is enabled disabled turned on or off by sending a value to it A non zero value will enable the port a zero value disables it The values to be sent to the SDM CD16D are held in the Source array Syntax SDMCD16AC Source Reps SDMAddress Remarks The SDMCD16AC instruction has the following parameters Source Reps SDMAddress The Source parameter is an array which holds the values that will be sent to the SDM CD16D to enable disable its ports An SDM CD16D has 16 ports therefore the source array must be dimensioned to 16 times the number of Repetitions the number of SDM CD16D devices to be controlled As an example with the array CDCtrl 32 the value held in CDCtr1 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 CD16D The Reps parameter is the number of SDM CD16D devices that will be controlled w
2. 4812 AUSTRALIA www campbellsci com au info campbellsci com au Campbell Scientific do Brazil Ltda CSB Rua Luisa Crapsi Orsi 15 Butanta CEP 005543 000 Sao Paulo SP BRAZIL www campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta TSM 1W7 CANADA www campbellsci ca dataloggers O campbellsci ca Campbell Scientific Ltd CSL Campbell Park 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www campbellsci co uk sales Ocampbellsci co uk Campbell Scientific Ltd France Miniparc du Verger Bat H 1 rue de Terre Neuve Les Ulis 91967 COURTABOEUF CEDEX FRANCE www campbellsci fr info Ocampbellsci fr Campbell Scientific Spain S L Psg Font 14 local 8 08013 Barcelona SPAIN www campbellsci es info Ocampbellsci es Campbell Scientific Ltd Germany Fahrenheitstrasse13 D 28359 Bremen GERMANY www campbellsci de info campbellsci de Please visit www campbellsci com to obtain contact information for your local US or International representative
3. control location lt gt 0 then check lower threshold to see if cooler should be turned off if cooler should be turned off put a 0 into cooler control location end then do else if cooler is off put a 0 into cooler control location end then do else 11 SDM CD16D 16 Channel Digital Control Port Expansion Module 12 9 X Loc Heat_1 lt gt F Set Flag 1 High 9 X Loc Cool_1 lt gt F Set Flag 1 High 24 If Flag Port P91 1 11 Do if Flag 1 is High 2 30 Then Do 25 Z F P30 sar F 0 Exponent of 10 20 Z Loc Fan_1 26 Else P94 27 Z F P30 0 F 0 Exponent of 10 20 Z Loc Fan_1 28 End P95 29 Do P86 1 21 Set Flag 1 Low 30 End P95 End fan control logic based on heater cooler Start fan control logic based on time 31 If time is P92 1 10 Minutes Seconds into a 2 15 Interval same units as above 3 12 Set Flag 2 High 32 If Flag Port P91 1 12 Do if Flag 2 is High 2 30 Then Do 33 Beginning of Loop P87 1 0 Delay 2 5 Loop Count 34 Z F P30 sa Al F 0 Exponent of 10 20 Z Loc Fan_1 35 End P95 if heater is on set flag 1 if cooler is on set flag 1 if flag I is set then put a 1 into fan control location else if flag I is reset put a 0 into fan control location end then do else reset flag 1 end master loop if 5 minutes remain o
4. 1 data bit on the rising edge of the C2 clock The first eight bits clocked out represent the SDM CD16D address If the address matches the SDM CD16D s address the SDM CD16D is enabled If enabled the next 16 bits are shifted into the SDM CD16D each bit controlling one port the first of which controls output 1 User Manual 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 Program Examples 8 1 CRBasic Example In the following CR1000 program example a counter is used to fill an array called Src that will control two SDM CD16Ds Dimension Variables Public src 32 Dim i count mask 16 Program BeginProg for i 1 to 16 mask i 24 i 1 next i Scan 20 msec 2 0 count count 1 for i 1 to 32 src 1 count AND mask i 1 MOD 16 1 next i SDMCD16AC src 2 1 NextScan EndProg 8 2 Edlog Example The example is written for the CR10 X Measurement and Control Module The program concepts presented are the same for the CR23X 21X and CR7 dataloggers with minor changes in the program code In this example the SDM CD16D is used to control the temperature between 23 C and 28 C in each of five greenhouses In each greenhouse the SDM CD16D controls a heating unit a refrigerating unit and an air mixing fan according to the following conditions Heating unit Activate
5. 2 Equivalent Output Driver Circuit uessessessensesnensesnensennnnsonnnenennsnensennanne 3 Connection Block Diagrams 2200000snnesnesnnesnnesnensnensnennnennnnnnnnn 4 Use of Terminal Blocks a T E E E E 3 Address Selection SWIED inne rn A Tables 1 Datalogger to SDM CD16D Connections sseesesesrssrersereerseeerrsrrerrsrersee 2 Switch Position and Addresses cesccsseceeesseeseeeeeeseeeseeeeeeeeeeeeeeereneeensees SDM CD16D 16 Channel Digital Control Port Expansion Module The SDM CDI6D see Figure I is a synchronously addressed peripheral It has 16 control ports PUERRO 4 A Jo Ey A 4 1 Introduction NOTE Figure 1 SDM CD16D The SDM CD16D expands the digital output capability of Campbell Scientific dataloggers The outputs can be set to O or 5 V by the datalogger In addition to being able to drive normal logic level inputs when an output is set Hl a boost circuit allows it to source a current of up to 100 mA allowing direct control of low voltage valves relays etc The SDM CD16D is a synchronously addressed datalogger peripheral Three ports on the datalogger are used to address the SDM CD16D then clock out the desired state of each of the 16 control ports Up to sixteen SDM CD16Ds may be addressed making it possible to control a maximum of 256 ports from three datalogger SDM ports In CRBasic instruction SDMCDI6AC is used to control the SDM CD16D In Edlog Instr
6. SDM CD16D 16 Channel Digital Control Port Expansion Module User Manual Issued 13 11 07 Copyright 2000 2007 Campbell Scientific Inc Printed under licence by Campbell Scientific Ltd CSL 404 Guarantee This equipment is guaranteed against defects in materials and workmanship This guarantee applies for twelve months from date of delivery We will repair or replace products which prove to be defective during the guarantee period provided they are returned to us prepaid The guarantee will not apply to e Equipment which has been modified or altered in any way without the written permission of Campbell Scientific e Batteries e Any product which has been subjected to misuse neglect acts of God or damage in transit Campbell Scientific will return guaranteed equipment by surface carrier prepaid Campbell Scientific will not reimburse the claimant for costs incurred in removing and or reinstalling equipment This guarantee and the Company s obligation thereunder is in lieu of all other guarantees expressed or implied including those of suitability and fitness for a particular purpose Campbell Scientific 1s not liable for consequential damage Please inform us before returning equipment and obtain a Repair Reference Number whether the repair is under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations fo
7. ch 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 5 V the associated SDM CD16D port A value of zero 0 de activates the port sets LO 0 V 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 to 16 of the second SDM CD16D are set according to input locations 49 to 64 For older CR7s with Instruction 29 the Device parameter 2 specifies what type of synchronously addressed peripheral is to be addressed The Device code for an SDM CD16D is 2 For Instruction 29 only older CR7s the Card parameter parameter 4 specifies which 725 Excitation Card is being used for the control port signals The Reps parameter does not advance beyond the specified Card requiring another Instruction 29 for each 725 Excitation Card used 7 Theory of Operation On power up all SDM CD16D outputs are off LO The SDM CD16D is a synchronously addressed peripheral C2 and C3 driven high by the datalogger initiate a cycle While holding C3 high the datalogger drives C2 as a clock line and Cl as a serial data line The datalogger shifts out a data bit on C1 LSB first on the falling edge of the C2 clock The SDM CD16D shifts in the C
8. ith this instruction The SDMAddress parameter is used to define the address of the SDM CD16D that will be controlled with this instruction Valid SDM addresses are O 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 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 SDM CD16D 16 Channel Digital Control Port Expansion Module Instruction 104 SDM CD16D used with CR10 10X CR23X CR7and 21X dataloggers Parameter Type Description Reps No of modules sequentially addressed 2 Starting Address base 4 00 33 4 Starting Input Location Execution Time 2 ms per Rep for the CR10 10X and CR23X 3 5 ms per Rep for the 21X and CR7 Instruction 29 SDM CD16D used with older CR7s Parameter Type Description 1 Reps No of modules sequentially addressed 2 Device 2 SDM CD16D 3 Starting Address base 4 00 33 4 Card Excitation card No 5 4 Starting Input Location Execution Time 150 ms to 190 ms 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 ea
9. le analogue input channels and may make an external supply for the SDM CD16D essential SDM CD16D 16 Channel Digital Control Port Expansion Module 4 Installation CAUTION For correct operation the SDM CD16D must be installed where there is no risk of water ingress or condensation The order in which connections are made is critical Always connect 12 V first followed by ground then the control ports For datalogger connections see Table 1 below Please refer to Figure 4 for details of how to use the spring loaded terminals Table 1 Datalogger to SDM CD16D Connections CR800 CR850 CR1000 CR7 CR3000 Connection Order SDM CD16D CR10 X CR23X 21X CR5000 Function First 12 V 12 V on datalogger or 12 V on datalogger or Power external supply external supply Second orG G Common Ground Cl SDM C1 Data C2 SDM C2 Clock C3 SDM C3 Enable NOTE NOTE On a CR7 SDMs connect to the ports at the upper right corner of the 700X control module Multiple SDM CD16Ds may be wired in parallel by connecting the datalogger side of one SDM CD 16D to the next The transient protection of the SDM CD16D relies on a low resistance path to earth Ensure that the ground return wire has as low a resistance as possible Where long cable runs are likely or where lightning damage is a possibility the SDM CD16D can be fitted with gas discharge tubes Please contact Campbell Scientific for details For CR7 datal
10. n in Figure 2 below 0 6V Drop Output set ON HI Output 580R Output set OFF LO Figure 2 Equivalent Output Driver Circuit User Manual 3 Power Considerations NOTE The SDM CD16D power requirements are large compared to most Campbell Scientific products when driving significant loads For many applications an external power supply as shown in Figure 3 is recommended to power the SDM CD16D For some applications it may be convenient to use the datalogger supply to power the SDM CD16D as shown in Figure 3 For long term applications the lead acid power supply available with Campbell Scientific dataloggers should be used allowing the batteries to be float charged Alkaline batteries are not recommended for long term applications EXTERNAL 9 TO 18V DC SDM CD16D 412V_SDM C1 or C11 DATALOGGER lt q SDM C2 or C22 SDM C3 or C33 Connection with External Supply GND 12V SDM C1 or C1 DATALOGGER SDM C2 or C2 SDM C3 or C3 SDM CD16D Connection with Datalogger Supply Figure 3 Connection Block Diagrams If the 21X power supply is used to power the SDM CD 16D all low level analogue measurements thermocouples pyranometers thermopiles etc must be made differentially This is a result of slight ground potentials created along the 21X analogue terminal strip when the 12 V supply is used to power peripherals This limitation reduces the number of availab
11. oggers the total cable length can be up to 180 m For our other dataloggers the total cable length connecting SDM CD16Ds to SDM CD16Ds and the datalogger should not exceed 6 m Total cable lengths in excess of 6m will adversely affect communication performance 4 1 Controlled Device Connections The SDM CD16D uses spring loaded terminal blocks which provide quick vibration resistant connections The output terminals are labelled 1 to 16 A common ground connector is provided between each pair of terminals Use a screwdriver in either the top or front slot as appropriate to open the terminal spring Strip any insulation from the wire to give 7 to 9 mm bare wire Push the wire into the opening and while holding it in position withdraw the screwdriver to release the spring The wire will now be firmly held in place See Figure 4 below User Manual NOTE You cannot reliably insert more than one solid core wire into one terminal connector unless the wires are soldered or clamped together When inserting more than one stranded wire twist the bare ends together before insertion Use a screwdriver in appropriate slot to release spring tension Strip insulation and insert wire Figure 4 Use of Terminal Blocks 5 Address Selection Switches Each SDM CD16D can have 1 of 16 addresses The factory set address is 00 Table 2 shows switch position and the corresponding address Figures 1 and 5 show the position of the switch
12. r repairs can be given on request When returning equipment the Repair Reference Number must be clearly marked on the outside of the package Note that goods sent air freight are subject to Customs clearance fees which Campbell Scientific will charge to customers In many cases these charges are greater than the cost of the repair CAMPBELL SCIENTIFIC EUROPE WHEN MEASUREMENTS MATTER Campbell Scientific Ltd Campbell Park 80 Hathern Road Shepshed Loughborough LE12 9GX UK Tel 44 0 1509 601141 Fax 44 0 1509 601091 Email support campbellsci co uk www campbellsci co uk Contents PDF viewers note These page numbers refer to the printed version of this document Use the Adobe Acrobat bookmarks tab for links to specific sections 1 Introduction ns urbes iia 1 2 Control Specifications 444444444 nee 2 Dll o 2 2 Output Specifications onea n an 3 Power Considerations 3 Ap Installati n a N 4 4 1 Controlled Device Connections eesseesensseessersnensennennnennnennen nennen 5 Address Selection Switches ee 5 6 Datalogger Instructions 7 OA MECRB ASIC Ha dia 6 2 ECOG tad 7 Theory of Operation ooooooocccccccccccccnnnnnonnccnnnnnnnnos 8 8 Program Examples 4444444444 Henn nnnnnnnnnnnn 9 8 1 CRBasic Example vecina ida ic 8 2 Edlog Exampleri seen Figures 1 SDM ED16D 244er seen tina
13. t F P89 if the heater is on heater 1 10 X Loc Heat_1 control location lt gt 0 272 lt gt 3 0 F 4 30 Then Do then 6 If X lt gt F P89 check upper threshold 1 1 X Loc Temp_1 to see if heater should 2 3 gt be turned off 3 25 5 F 4 30 Then Do 7 Z F P30 if heater should be turned 1 0 F off enter a 0 into 2 0 Exponent of 10 heater control location 3 10 Z Loc Heat_1 8 End P95 end then do 10 9 Else P94 10 Z F P30 0 F 0 Exponent of 10 10 Z Loc Heat_1 11 End P95 End heater control logic Start cooler control logic 12 If X lt gt F P89 1 1 X Loc Temp_1 223 gt 3 27 5 F 4 30 Then Do 13 Z F P30 se F 0 Exponent of 10 15 Z Loc Cool_1 14 End P95 15 If X lt gt F P89 15 X Loc Cool_1 lt gt F Then Do 16 If X lt gt E P89 1 1 X Loc Temp_1 2 4 lt 3 24 5 F 4 30 Then Do 17 Z F P30 0 F 0 Exponent of 1 15 Z Loc Cool_1 18 End P95 19 Else P94 20 Z F P30 0 F 0 Exponent of 10 15 Z Loc Cool_1 21 End P95 End cooler control logic Start fan control logic based on heater cooler User Manual else if the heater is off enter a O into heater control location end then do else if cooler on threshold is exceeded then put a 1 into cooler control location end then do if cooler is on cooler
14. uction 104 is typically used older CR7 dataloggers use Instruction 29 Older CR7 dataloggers with pre OS7 1 software may not have the necessary instruction Ensure that your datalogger contains the appropriate instruction before using SDM CD16D 16 Channel Digital Control Port Expansion Module 2 Control Specifications 2 1 General Compatible dataloggers Operating voltage Current drain at 12V DC Total cable length 2 2 Output Specifications Output Voltage no load Output Sink Current Output Source Current CR800 CR850 CR1000 CR3000 CR5000 CR10 X CR23X CR7 and 21X 12 VDC nominal 9 to 18 V 100 yA typical All ports HI no load 6 m CR10 10X CR23X 21X 180 m CR7 Output ON HI Nominal 5 V Minimum 4 5 V Output OFF LO Nominal 0 V Maximum 0 1 V Output will sink 8 6 mA from a 5 V source Output will source 36 mA 3 V 115 mA short circuited to ground Max Output Current 400 mA at 50 C and 12 V supply see NOTE below total all outputs NOTE The maximum current should be derated under the following conditions 50 mA for every 10 C above 50 C and or 50 mA for every volt above 12 V Operating temp Size Weight EMC Status 25 C to 70 C standard 230 mm wide x 100 mm high x 24 mm deep 350 g Complies with EN55022 1 1998 and EN50082 1 1998 If more detailed output characteristics are required experienced users should consult the equivalent circuit diagrams show
15. ut of 15 minute interval set flag 2 if flag 2 is set then start fan loop put a 1 into fan control location end fan loop User Manual 36 End P95 end then do 37 If time is P92 reset flag 2 at the 1 0 Minutes Seconds into a end of the 15 minutes 2 15 Interval same units as above 3 22 Set Flag 2 Low End fan control logic based on time Input locations 10 to 24 are now loaded with a 1 or 0 to set ports on the SDM CDI6D 38 SDM CD16 SDM CD16D P104 send instructions to the 1 1 Reps SDM CDI6D with address 00 2 00 Address 3 10 Loc Heat_1 Table 2 Program 02 0 0000 Execution Interval seconds Table 3 Subroutines End Program Input Locations 1 Temp_1740 2 Temp_2 1000 3 Temp_3 1000 4 Temp_4 1000 5 Temp_5 1800 000 000 000 000 10 Heat_1 733 11 Heat_2 1110 12 Heat_3 1110 13 Heat_4 1110 14 Heat_5 1910 15 Cool_1 7 3 3 16 Cool_2 1110 17 Cool_3 1110 18 Cool_4 1110 19 Cool_5 1910 20 Fan_17 13 21 Fan 21110 22 Fan 31110 23 Fan 41110 24 Fan 51910 110 000 000 000 000 13 CAMPBELL SCIENTIFIC COMPANIES Campbell Scientific Inc CSD 815 West 1800 North Logan Utah 84321 UNITED STATES www campbellsci com info Ocampbellsci com Campbell Scientific Africa Pty Ltd CSAf PO Box 2450 Somerset West 7129 SOUTH AFRICA www csafrica co za sales csafrica co za Campbell Scientific Australia Pty Ltd CSA PO Box 444 Thuringowa Central QLD
16. when temperature lt 23 5 C Deactivate when temperature gt 25 5 C Cooling unit Activate when temperature gt 27 5 C Deactivate when temperature lt 24 5 C Mixing fan Activate whenever the heating or cooling units are activated Activate for 5 minutes out of every 15 minutes SDM CD16D 16 Channel Digital Control Port Expansion Module The program assumes that the temperature measurements have been made and that the average temperature for each greenhouse is computed and stored in input locations 1 to 5 For further information on loops and input location indexing please refer to your datalogger manual Input location assignments are as follows Input Input Location Location Label Description 1 5 Temp 1 5 Avg temp greenhouse 1 5 10 14 Heat 1 5 Heater control greenhouse 1 5 SDM CD16D Port 1 5 15 19 Cool 1 5 Cooler control greenhouse 1 5 SDM CD16D Port 6 10 20 24 Fan 1 5 Fan control greenhouse 1 5 SDM CD16D Port 11 15 CR10X Table 1 Program 01 5 Execution Interval seconds 1 Beginning of Loop P87 Master loop end 1 0 Delay loop at step 30 2 9 Loop Count Start heater control logic 2 If X lt gt F P89 if temperature is below 1 1 X Loc Temp_1 heater threshold 2 4 lt 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 lt g
Download Pdf Manuals
Related Search
Related Contents
EC402SService Manual UK & EC Issue 2.pub User Manual - SouthwestMedical.com NPCDIGIT System and a method for obtaining a mask programmable device Answer 2004 South Service Manual Move S – Product Description Brand: NudeAudio Product name Válvulas de mariposa Tipo 57L T'nB Rubby Notice d`utilisation Copyright © All rights reserved.
Failed to retrieve file