Campbell SDM-SW8A Instruction Manual

8 channel switch closure module

Advertisement

Quick Links

SDM-SW8A 8 Channel
Switch Closure Module
Revision: 7/10
C o p y r i g h t
©
1 9 8 7 - 2 0 1 0
C a m p b e l l
S c i e n t i f i c ,
I n c .

Advertisement

Table of Contents
loading

Summary of Contents for Campbell SDM-SW8A

  • Page 1 SDM-SW8A 8 Channel Switch Closure Module Revision: 7/10 C o p y r i g h t © 1 9 8 7 - 2 0 1 0 C a m p b e l l S c i e n t i f i c , I n c .
  • Page 2 Warranty and Assistance The SDM-SW8A SWITCH CLOSURE INPUT MODULE is warranted by Campbell Scientific, Inc. to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless specified otherwise. Batteries have no warranty. Campbell Scientific, Inc.'s obligation under this warranty is limited to repairing or replacing (at Campbell Scientific, Inc.'s option) defective products.
  • Page 3: Table Of Contents

    SDM-SW8A Table of 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. Function................1 2. Specifications ..............2 3. Power Supply Considerations ........3 4. Connections ..............4 4.1 Connections to Dataloggers and Other SW8As........4 4.2 Sensor Connections ..................4 5.
  • Page 4 SDM-SW8A Table of Contents List of Tables 1. Datalogger to SDM-SW8A Connections........... 2 2. SDM-SW8A to SDM-SW8A Connections..........3 3. Address Jumpers ..................5 4. Measurement Jumpers................6 5. Bit Period Values ..................8 6. Instruction 102 - SDM-SW8A ..............9 List of Figures 1.
  • Page 5: Function

    SDM-SW8A Switch Closure Input Module 1. Function The 8 channel SDM-SW8A Switch Closure Input Module (see Figure 1) measures up to 8 channels of switch closure or voltage pulse inputs. Each channel may be configured to read single-pole double-throw (SPDT) switch closure, single-pole single-throw (SPST) switch closure, or voltage pulse.
  • Page 6: Specifications

    SDM-SW8A Switch Closure Input Module 2. Specifications Operating voltage: 12 VDC nominal (9.6 to 16) Current drain: 3 mA quiescent, 6 mA active (max) Environmental: -25 to +50 C, 0 to 90% RH, noncondensing Measurement types: Switch closure (SPDT, SPST) DC voltage pulse Input voltage threshold: From below 0.9 to above 4.0 VDC,±20...
  • Page 7: Power Supply Considerations

    SDM-SW8A Switch Closure Input Module TABLE 2. SDM-SW8A to SDM-SW8A Connections SDM-SW8A that’s connected to a CR10(X), CR800, CR850, CR1000, CR23X, CR3000, SDM-SW8A that’s SDM-SW8A CR5000, or CR7 connected to a 21X 12 V C1 IN C1 IN C1 IN C1 OUT not used (see Note 2) C1 OUT (see Note 3)
  • Page 8: Connections

    SDM-SW8A Switch Closure Input Module 4. Connections All connections to the datalogger, power supply, and other SW8As are made from terminals located under "TO DATALOGGER" on the SW8A (refer to Figure 1). Sensor connections are made at the remaining terminals. 4.1 Connections to Dataloggers and Other SW8As The CABLE5CBL or a similar cable is used to connect the SDM-SW8A to a datalogger.
  • Page 9: Address Jumpers

    SDM-SW8A Switch Closure Input Module TABLE 3. Address Jumpers Pins Address c = connected nc = not connected FIGURE 2. SDM-SW8A Address and Port Configuration Jumpers with Sensor Wiring Examples...
  • Page 10: Measurement Jumpers

    SDM-SW8A Switch Closure Input Module 5.2 Measurement Jumpers Near each input channel is a jumper triplet used to configure the channel for the measurement type. The SDM-SW8A is shipped from the factory with each channel configured for DC Voltage pulse. An example of each configuration is illustrated in Figure 2.
  • Page 11: Sdmspeed Instruction

    SDM-SW8A Switch Closure Input Module Parameter Enter & Data Type FunctOp The FunctOp is used to determine the result that will be returned by the Constant SW8A. Numeric Function Code Returns the state of the signal at the time the instruction is executed.
  • Page 12: Bit Period Values

    SDM-SW8A Switch Closure Input Module The syntax of this instruction is as follows: SDMSpeed (BitPeriod) The BitPeriod argument can be an integer or a variable. If the SDMSpeed instruction is not in the program, a default bit period is used. If 0 is used for the argument, the minimum allowable bit period is used.
  • Page 13: Edlog Programming

    SDM-SW8A Switch Closure Input Module 6.2 Edlog Programming Instruction 102, Table 6, is used to address and retrieve information from the SW8A. TABLE 6. Instruction 102 - SDM-SW8A Parameter Data Number Type Description Repetitions Module Address (00..33) Function Option (0=State, 1=Duty 2=Counts, 3=Signature) SDM-SW8A Starting Channel (1..8) Starting input location for results...
  • Page 14: Datalogger Program Details

    SDM-SW8A Switch Closure Input Module Parameter 4 specifies the first SW8A channel to be read (1..8). One or more sequential channels are read depending on the Reps. To optimize program efficiency, the sensors should be wired sequentially. Data are stored in sequential datalogger input locations, starting at the location specified in Parameter 5.
  • Page 15: Watchdog Reset

    SDM-SW8A Switch Closure Input Module 7.3 Watchdog Reset Any microprocessor may occasionally fail due to input transients or intermittent component failure (e.g., a bombed condition). The SW8A has a "watchdog" counter which resets the processor under such conditions. When functioning normally, the processor resets the watchdog counter. To transfer data between the datalogger and the SW8A, the datalogger drives the clock line, Control Port 2, high and low (refer to Theory of Operation, Section 9).
  • Page 16 SDM-SW8A Switch Closure Input Module 'Program name: C:\Documents and Settings\nigel\My Documents\Customers\INBO\SDM-SW8A BOMB.CR1 'Date written: 13/07/2010 ' Declare array of flags Public Flag(9) As Boolean '\\\\\\\\\\\\\\\\\\\\\\\\\ DECLARATIONS ///////////////////////// Public state(8) Public duty(8) Public counts(8) Public RESETCNT '\\\\\\\\\\\\\\\\\\\\\\\\ OUTPUT SECTION //////////////////////// DataTable(Table003,true,-1) OpenInterval DataInterval(0,5,Min,10) Sample(8, state, FP2)
  • Page 17: Measurement Applications

    SDM-SW8A Switch Closure Input Module 8. Measurement Applications 8.1 SPDT Switch Closure Single-pole double-throw switches may be found on some flow or volume sensors such as Watt-hour and water meters. The positive throw is connected to the 5 V terminal located next to the input channel, providing a 5 V bias for the SW8A to discriminate between throws.
  • Page 18: Dc Voltage Pulse

    SDM-SW8A Switch Closure Input Module width becomes a limitation at 70 Hz (0.35/0.005sec), or about 126 MPH. The SW8A's maximum input frequency and 5 ms minimum pulse width specifications are not a limitation given the 014A's maximum calibrated speed of 100 MPH. 8.3 DC Voltage Pulse Voltage pulse transitions from below 0.9 V to above 4.0V, not exceeding ±20V, with a minimum pulse width of 5ms, are counted accurately at any...
  • Page 19: Theory Of Operation

    SDM-SW8A Switch Closure Input Module Signal Magnitude - The signal magnitude should range from 0 - 0.9 V low, to 4 - 5 V high, or the signal should be centered around 2.5 V with a minimum 8 V peak to peak magnitude. When the magnitude is 0 V to greater than 5 V, the wave form begins to distort, resulting in less accurate duty cycle information.
  • Page 20 SDM-SW8A Switch Closure Input Module...
  • Page 21: Edlog Program Example

    Appendix A. Edlog Program Example The Edlog program is an example only and is not meant to be used verbatim. In application, the concepts illustrated here are likely to be only fragments of a larger program. The example program reads all 8 ports of an SW8A which is set to address 00. It is read three times per scan, once each for State, Duty Cycle, and Count information.
  • Page 22: A-1. Example Program Flow Chart

    Appendix A. Edlog Program Example FIGURE A-1. Example Program Flow Chart PROGRAM EXAMPLE Input Locations Used: 1:STATE #1 13:DUTY #5 2:STATE #2 14:DUTY #6 3:STATE #3 15:DUTY #7 4:STATE #4 16:DUTY #8 5:STATE #5 17:COUNT#1 6:STATE #6 18:COUNT #2 7:STATE #7 19:COUNT #3 8:STATE #8 20:COUNT #4...
  • Page 23 Appendix A. Edlog Program Example *Table 1 Programs 01: 1 Sec. execution interval 1: Do (P86) 1: 1 Call Subroutine 1 If SDM-SW8A was just programmed or its processor is bombed, set intermediate processing disable flag. 2: 1 If Flag/Port (P91) 1: 21 Do if flag 1 is low 2: 19...
  • Page 24 Appendix A. Edlog Program Example 10: Do (P86) 1: 1 Call Subroutine 1 11: Z=Z+1 (P32) 1: 25 Z Loc [:RESET CNT] 12: Do (P86) 1: 10 Set high Flag 0 (output) 13: Real Time (P77) 1: 110 Day,Hour-Minute 14: Sample (P70) 1: 1 Reps 2: 25...
  • Page 25 Appendix A. Edlog Program Example 3: SDM-SW8A (P102) 1: 8 Reps 2: 00 Address 3: 1 Duty cycle function 4: 1 Chan 5: 9 Loc [:duty #1 ] 6: 1 Mult 7: 0 Offset 4: SDM-SW8A (P102) 1: 8 Reps 2: 00 Address 3: 2...
  • Page 26 Appendix A. Edlog Program Example...
  • Page 28 Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 444 Thuringowa Central QLD 4812 AUSTRALIA...

Table of Contents