Campbell SDM-SW8A Instruction Manual

Summary of SDM-SW8A

  • Page 1

    Sdm-sw8a 8 channel switch closure module revision: 7/10 12v c3 c2 c1 in 5v in 1 5v in 2 5v in 3 5v in 4 5v in 5 5v in 6 5v in 7 5v in 8 c1 out to datalogger 8 channel switch closure input module sdm - sw8a made in usa 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

    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 s...

  • Page 3: Sdm-Sw8A 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 ...................

  • Page 4

    Sdm-sw8a table of contents ii list of tables 1. Datalogger to sdm-sw8a connections................................................... 2 2. Sdm-sw8a to sdm-sw8a connections................................................ 3 3. Address jumpers ..............................................................

  • Page 5: Module

    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 (sps...

  • Page 6: 2.  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 o c, 0 to 90% rh, noncondensing measurement types: switch closure (spdt, spst) dc voltage pulse input voltage threshold: fro...

  • Page 7

    Sdm-sw8a switch closure input module table 2. Sdm-sw8a to sdm-sw8a connections sdm-sw8a sdm-sw8a that’s connected to a cr10(x), cr800, cr850, cr1000, cr23x, cr3000, cr5000, or cr7 sdm-sw8a that’s connected to a 21x +12 12 v +12 c3 c3 c3 c2 c2 c2 c1 in c1 in c1 in c1 out not used (see note 2) c1 out ...

  • Page 8: 4.  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...

  • Page 9

    Sdm-sw8a switch closure input module table 3. Address jumpers pins address 1-8 2-7 3-6 4-5 00 c c c c 01 c c c nc 02 c c nc c 03 c c nc nc 10 c nc c c 11 c nc c nc 12 c nc nc c 13 c nc nc nc 20 nc c c c 21 nc c c nc 22 nc c nc c 23 nc c nc nc 30 nc nc c c 31 nc nc c nc 32 nc nc nc c 33 nc nc nc nc c...

  • Page 10: 6.  Datalogger Programming

    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...

  • Page 11

    Sdm-sw8a switch closure input module parameter & data type enter functop constant the functop is used to determine the result that will be returned by the sw8a. Numeric code function 0 returns the state of the signal at the time the instruction is executed. A 0 is stored for low and a 1 is stored fo...

  • Page 12

    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 ...

  • Page 13

    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 number data type description 01: 2 repetitions 02: 2 module address (00..33) 03: 2 function option (0=state, 1...

  • Page 14

    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, sta...

  • Page 15

    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 pr...

  • Page 16

    Sdm-sw8a switch closure input module 'program name: c:\documents and settingsigel\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 du...

  • Page 17

    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 ...

  • Page 18

    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 tra...

  • Page 19: 9.  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, resu...

  • Page 20

    Sdm-sw8a switch closure input module 16.

  • Page 21

    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 thre...

  • Page 22

    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 9:duty #1 ...

  • 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 set intermed. Proc. Disab...

  • 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 loc reset cnt 15: do (p86) 1: 21 set low flag 1 ********** first scan...

  • 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 counts function 4: 1 chan 5: 17 loc [:counts #1] 6: 1 mult 7: 0 offset 5: end (p95) 6: end table ...

  • Page 26

    Appendix a. Edlog program example a-6.

  • 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 sc...