SDM-SW8A 8-Channel Switch Closure Input Module
Page 1
SW8A 8 CHANNEL SWITCH CLOSURE INPUT MODULE TO DATALOGGER 12V C3 C2 C1 IN C1 OUT 5V IN 1 5V IN 2 5V IN 3 5V IN 4 5V IN 5 5V IN 6 5V IN 7 5V IN 8 Copyright © 1987-2010 Campbell Scientific, Inc. SDM-SW8A 8 Channel Switch Closure Module Revision: 7/10 MADE IN USA SDM -
SW8A 8 CHANNEL SWITCH CLOSURE INPUT MODULE TO DATALOGGER 12V C3 C2 C1 IN C1 OUT 5V IN 1 5V IN 2 5V IN 3 5V IN 4 5V IN 5 5V IN 6 5V IN 7 5V IN 8 Copyright © 1987-2010 Campbell Scientific, Inc. SDM-SW8A 8 Channel Switch Closure Module Revision: 7/10 MADE IN USA SDM -
SDM-SW8A 8-Channel Switch Closure Input Module
Page 2
...815 West 1800 North Logan, Utah 84321-1784 For all costs of the problem, an RMA number will not process any Campbell Scientific, Inc. Campbell Scientific reserves the right to refuse service on the outside of merchantability or fitness for special, indirect, incidental, or consequential damages... customers residing in it. is limited to repairing or replacing (at Campbell Scientific, Inc.'s option) defective products. If the form is not received within their territories. Warranty and Assistance The SDM-SW8A SWITCH CLOSURE INPUT MODULE is incomplete, the product will be returned to...
...815 West 1800 North Logan, Utah 84321-1784 For all costs of the problem, an RMA number will not process any Campbell Scientific, Inc. Campbell Scientific reserves the right to refuse service on the outside of merchantability or fitness for special, indirect, incidental, or consequential damages... customers residing in it. is limited to repairing or replacing (at Campbell Scientific, Inc.'s option) defective products. If the form is not received within their territories. Warranty and Assistance The SDM-SW8A SWITCH CLOSURE INPUT MODULE is incomplete, the product will be returned to...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 3
... 14 8.4 Duty Cycle 14 9. Use the Adobe Acrobat® bookmarks tab for links to Dataloggers and Other SW8As 4 4.2 Sensor Connections 4 5. Datalogger Programming 6 6.1 CRBasic Programming 6 6.1.1 SDMSW8A Instruction 6 6.1.2 SDMSpeed Instruction 7 6.2 Edlog Programming 9 7. Theory of this document. SDM-SW8A Table of Contents PDF viewers note: These page numbers refer to the printed version of Operation 15...
... 14 8.4 Duty Cycle 14 9. Use the Adobe Acrobat® bookmarks tab for links to Dataloggers and Other SW8As 4 4.2 Sensor Connections 4 5. Datalogger Programming 6 6.1 CRBasic Programming 6 6.1.1 SDMSW8A Instruction 6 6.1.2 SDMSpeed Instruction 7 6.2 Edlog Programming 9 7. Theory of this document. SDM-SW8A Table of Contents PDF viewers note: These page numbers refer to the printed version of Operation 15...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 4
SDM-SW8A to SDM-SW8A Connections 2 2. SDM-SW8A Address and Port Configuration Jumpers with Sensor Wiring Examples 5 3. SPDT Signal Conditioning by SDM-SW8A 13 A-1. Address Jumpers 5 4. Measurement Jumpers 6 5. SDM-SW8A 9 List of Tables 1. Datalogger to SDM-SW8A Connections 3 3. SDM-SW8A Front Panel 1 2. Bit Period Values 8 6. SDM-SW8A Table of Contents List of Figures 1. Instruction 102 - Example Program Flow Chart A-2 ii
SDM-SW8A to SDM-SW8A Connections 2 2. SDM-SW8A Address and Port Configuration Jumpers with Sensor Wiring Examples 5 3. SPDT Signal Conditioning by SDM-SW8A 13 A-1. Address Jumpers 5 4. Measurement Jumpers 6 5. SDM-SW8A 9 List of Tables 1. Datalogger to SDM-SW8A Connections 3 3. SDM-SW8A Front Panel 1 2. Bit Period Values 8 6. SDM-SW8A Table of Contents List of Figures 1. Instruction 102 - Example Program Flow Chart A-2 ii
SDM-SW8A 8-Channel Switch Closure Input Module
Page 5
... Theory of switch closure or voltage pulse inputs. Previous to October, 1988, the SDM-SW8 (no more SW8As are required, please consult Campbell Scientific's Marketing Department. Output options include counts, duty cycle, and state. SDM-SW8A Switch Closure Input Module 1. Function The 8 channel SDM-SW8A Switch Closure Input Module (see Figure 1) measures up to read single-pole double...
... Theory of switch closure or voltage pulse inputs. Previous to October, 1988, the SDM-SW8 (no more SW8As are required, please consult Campbell Scientific's Marketing Department. Output options include counts, duty cycle, and state. SDM-SW8A Switch Closure Input Module 1. Function The 8 channel SDM-SW8A Switch Closure Input Module (see Figure 1) measures up to read single-pole double...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 6
... (9.6 to 16) 3 mA quiescent, 6 mA active (max) -25 to +50oC, 0 to 90% RH, noncondensing Switch closure (SPDT, SPST) DC voltage pulse From below 0.9 to SDM-SW8A Connections SDM-SW8A CR7 +12 +12 (see Note 1) C3 C2 C1 IN C1 OUT C3 C2 C1 not used (see Note 2) Datalogger CR1000, CR800, CR850, CR23X, CR10(X) CR3000..., CR5000 12 V 12 V G C3 C2 C1 not used (see Note 2) G SDM-C3 SDM-C2 SDM-C1 not used (see Note 2) 21X +12 C3 C2 C1 1H (see Note...
... (9.6 to 16) 3 mA quiescent, 6 mA active (max) -25 to +50oC, 0 to 90% RH, noncondensing Switch closure (SPDT, SPST) DC voltage pulse From below 0.9 to SDM-SW8A Connections SDM-SW8A CR7 +12 +12 (see Note 1) C3 C2 C1 IN C1 OUT C3 C2 C1 not used (see Note 2) Datalogger CR1000, CR800, CR850, CR23X, CR10(X) CR3000..., CR5000 12 V 12 V G C3 C2 C1 not used (see Note 2) G SDM-C3 SDM-C2 SDM-C1 not used (see Note 2) 21X +12 C3 C2 C1 1H (see Note...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 7
... mandate an external supply for the SW8A. 3 For long term applications where AC power is used . This results from slight ground potentials created along with Campbell Scientific, Inc. dataloggers could be used for powering the SW8A in remote, long term applications. ... solar panel can be convenient to use the datalogger supply to power the SW8A. SDM-SW8A to SDM-SW8A Connections SDM-SW8A +12 SDM-SW8A that's connected to a CR10(X), CR800, CR850, CR1000, CR23X, CR3000, CR5000, or CR7 SDM-SW8A that connects to the datalogger's G or terminal. (2) When using an ...
... mandate an external supply for the SW8A. 3 For long term applications where AC power is used . This results from slight ground potentials created along with Campbell Scientific, Inc. dataloggers could be used for powering the SW8A in remote, long term applications. ... solar panel can be convenient to use the datalogger supply to power the SW8A. SDM-SW8A to SDM-SW8A Connections SDM-SW8A +12 SDM-SW8A that's connected to a CR10(X), CR800, CR850, CR1000, CR23X, CR3000, CR5000, or CR7 SDM-SW8A that connects to the datalogger's G or terminal. (2) When using an ...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 8
... for CRBasic dataloggers if the SDMSpeed instruction is factory set to Dataloggers and Other SW8As The CABLE5CBL or a similar cable is critical. The address is used to connect the SDM-SW8A to 00. Long lead lengths may be as short as possible and preferably does...made is used (see Section 6.1.2). Figure 2 shows jumper location. 5.1 Address Jumpers Each module can have 1 of the address jumper block. SDM-SW8A Switch Closure Input Module 4. CAUTION 1. Sensor connections are made at the remaining terminals. 4.1 Connections to configure the Module address and the channel...
... for CRBasic dataloggers if the SDMSpeed instruction is factory set to Dataloggers and Other SW8As The CABLE5CBL or a similar cable is critical. The address is used to connect the SDM-SW8A to 00. Long lead lengths may be as short as possible and preferably does...made is used (see Section 6.1.2). Figure 2 shows jumper location. 5.1 Address Jumpers Each module can have 1 of the address jumper block. SDM-SW8A Switch Closure Input Module 4. CAUTION 1. Sensor connections are made at the remaining terminals. 4.1 Connections to configure the Module address and the channel...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 9
SDM-SW8A Switch Closure Input Module TABLE 3. SDM-SW8A Address and Port Configuration Jumpers with Sensor Wiring Examples 5 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 = connected nc = not connected FIGURE 2.
SDM-SW8A Switch Closure Input Module TABLE 3. SDM-SW8A Address and Port Configuration Jumpers with Sensor Wiring Examples 5 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 = connected nc = not connected FIGURE 2.
SDM-SW8A 8-Channel Switch Closure Input Module
Page 10
.... TABLE 4. If (StartChan +Reps -1) is greater than are 0 through 15. In this parameter must be dimensioned to the number of its measurements to communicate. The SDM-SW8A is shipped from the factory with . 6 Parameter & Data Type Dest Variable or Array Reps Constant SDMAddress Constant Enter The variable in PC400 and LoggerNet datalogger...
.... TABLE 4. If (StartChan +Reps -1) is greater than are 0 through 15. In this parameter must be dimensioned to the number of its measurements to communicate. The SDM-SW8A is shipped from the factory with . 6 Parameter & Data Type Dest Variable or Array Reps Constant SDMAddress Constant Enter The variable in PC400 and LoggerNet datalogger...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 11
... multiplier and offset by which to determine the result that will be necessary when long cable lengths are used to degrees F. SDM-SW8A Switch Closure Input Module Parameter & Data Type FunctOp Constant StartChan Constant Mult, Offset Constant, Variable, Array, or Expression Enter The... is bad Zero: ROM is greater than 1, measurements will convert the temperature to connect the datalogger and SDM devices. 7 SDMSW8A Example The following program measures all eight channels of an SW8A and outputs a sample of the module: positive integer: ROM and RAM are necessary to clock the...
... multiplier and offset by which to determine the result that will be necessary when long cable lengths are used to degrees F. SDM-SW8A Switch Closure Input Module Parameter & Data Type FunctOp Constant StartChan Constant Mult, Offset Constant, Variable, Array, or Expression Enter The... is bad Zero: ROM is greater than 1, measurements will convert the temperature to connect the datalogger and SDM devices. 7 SDMSW8A Example The following program measures all eight channels of an SW8A and outputs a sample of the module: positive integer: ROM and RAM are necessary to clock the...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 12
... maximum bit period for the argument, the minimum allowable bit period is as follows: SDMSpeed (BitPeriod) The BitPeriod argument can be an integer or a variable. SDM-SW8A Switch Closure Input Module The syntax of our CRBasic dataloggers. If the SDMSpeed instruction is not in BitPeriod Resolution=50 nsec. 8
... maximum bit period for the argument, the minimum allowable bit period is as follows: SDMSpeed (BitPeriod) The BitPeriod argument can be an integer or a variable. SDM-SW8A Switch Closure Input Module The syntax of our CRBasic dataloggers. If the SDMSpeed instruction is not in BitPeriod Resolution=50 nsec. 8
SDM-SW8A 8-Channel Switch Closure Input Module
Page 13
...connected, and 12 Reps are requested than exist in one Function Option (Parameter 3) may be read . Function Option 1 provides signal duty cycle. SDM-SW8A Parameter Number 01: 02: 03: 04: 05: 06: 07: Data Type 2 2 2 2 4 FP FP 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 the SW8As must be sequential. Repetitions (Reps, Parameter 1) specifies the number of time the signal is not contained in the datalogger ...
...connected, and 12 Reps are requested than exist in one Function Option (Parameter 3) may be read . Function Option 1 provides signal duty cycle. SDM-SW8A Parameter Number 01: 02: 03: 04: 05: 06: 07: Data Type 2 2 2 2 4 FP FP 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 the SW8As must be sequential. Repetitions (Reps, Parameter 1) specifies the number of time the signal is not contained in the datalogger ...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 14
... problem may be wired sequentially. The example program (see Appendix) includes a routine which Count accumulators are correct and secure. If the SW8A does not respond, -99999 is given in Parameter 5. Verify that channel resets and starts over again. 7.2 First Scan From the time...Details 7.1 Datalogger Scan Rate The Module samples channel state every 2 ms and accumulates the information for counts. SDM-SW8A Switch Closure Input Module Parameter 4 specifies the first SW8A channel to be less than 131 seconds. Modules which do not respond when addressed by ignoring the data from...
... problem may be wired sequentially. The example program (see Appendix) includes a routine which Count accumulators are correct and secure. If the SW8A does not respond, -99999 is given in Parameter 5. Verify that channel resets and starts over again. 7.2 First Scan From the time...Details 7.1 Datalogger Scan Rate The Module samples channel state every 2 ms and accumulates the information for counts. SDM-SW8A Switch Closure Input Module Parameter 4 specifies the first SW8A channel to be less than 131 seconds. Modules which do not respond when addressed by ignoring the data from...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 15
... bombed before resetting, a trapping routine 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. SDM-SW8A Switch Closure Input Module 7.3 Watchdog Reset Any microprocessor may be programmed into the datalogger to detect a bombed condition and immediately force...
... bombed before resetting, a trapping routine 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. SDM-SW8A Switch Closure Input Module 7.3 Watchdog Reset Any microprocessor may be programmed into the datalogger to detect a bombed condition and immediately force...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 16
... 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...Average(8, duty, FP2,Flag(9)) EndTable SUBROUTINES Sub Subroutine1 SDMSW8A(state,8,0,0,1,1,0) SDMSW8A(duty,8,0,1,1,1,0) SDMSW8A(counts,8,0,2,1,1,0) EndSub PROGRAM BeginProg Scan(1,Sec, 3, 0) Call Subroutine1 ' If SDM-SW8A was just programmed or its processor is bombed, set intermediate processing disable Flag If Flag(1) = False Then Flag(9) = True 'Set Flag 9 If (state...
... 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...Average(8, duty, FP2,Flag(9)) EndTable SUBROUTINES Sub Subroutine1 SDMSW8A(state,8,0,0,1,1,0) SDMSW8A(duty,8,0,1,1,1,0) SDMSW8A(counts,8,0,2,1,1,0) EndSub PROGRAM BeginProg Scan(1,Sec, 3, 0) Call Subroutine1 ' If SDM-SW8A was just programmed or its processor is bombed, set intermediate processing disable Flag If Flag(1) = False Then Flag(9) = True 'Set Flag 9 If (state...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 17
... number of the 8 input channels is maintained (0 V). The pole must be found on some flow or volume sensors such as measured by SDM-SW8A NOTE The 5V output located next to each of times at a throw, but until contact is made to Figure 2, SPDT wiring example). Similarly..., the negative throw is 35%. Figure 3 illustrates a raw SPDT signal in the SPDT measurement. SPDT Signal Conditioning by the SW8A is connected to a ground terminal (refer to the positive throw, SW8A circuitry holds a high state (5 V). A 5 ms pulse 13 SDM-SW8A Switch Closure Input Module 8.
... number of the 8 input channels is maintained (0 V). The pole must be found on some flow or volume sensors such as measured by SDM-SW8A NOTE The 5V output located next to each of times at a throw, but until contact is made to Figure 2, SPDT wiring example). Similarly..., the negative throw is 35%. Figure 3 illustrates a raw SPDT signal in the SPDT measurement. SPDT Signal Conditioning by the SW8A is connected to a ground terminal (refer to the positive throw, SW8A circuitry holds a high state (5 V). A 5 ms pulse 13 SDM-SW8A Switch Closure Input Module 8.
SDM-SW8A 8-Channel Switch Closure Input Module
Page 18
... 8.3 DC Voltage Pulse Voltage pulse transitions from 0.2% to 0.8%. 14 Minimum/Maximum - The measurable minimum/maximum duty cycle is defined by allowing the SW8A to above 4.0V, not exceeding ±20V, with decreasing frequency. 50% Duty Cycle - Input Filtering and Sample Frequency Error - As shown ... affects duty cycle measurements. The error limits are measured per datalogger scan interval, and the scan interval is at any measurable cycle. SDM-SW8A Switch Closure Input Module width becomes a limitation at a given input frequency is ±ERROR = Hz * 0.4 where ERROR = Actual Duty ...
... 8.3 DC Voltage Pulse Voltage pulse transitions from 0.2% to 0.8%. 14 Minimum/Maximum - The measurable minimum/maximum duty cycle is defined by allowing the SW8A to above 4.0V, not exceeding ±20V, with decreasing frequency. 50% Duty Cycle - Input Filtering and Sample Frequency Error - As shown ... affects duty cycle measurements. The error limits are measured per datalogger scan interval, and the scan interval is at any measurable cycle. SDM-SW8A Switch Closure Input Module width becomes a limitation at a given input frequency is ±ERROR = Hz * 0.4 where ERROR = Actual Duty ...
SDM-SW8A 8-Channel Switch Closure Input Module
Page 19
... counter counts the C2 clock transitions. The processor is its serial communication interface. C3, driven high by its watchdog counter. The SW8A prepares to start operating correctly again. 15 If the address part of address in the most significant nibble and command in a low.... the Switch Closure Module shifts in less accurate duty cycle information. 9. Under normal operating conditions, the processor resets the counter. SDM-SW8A Switch Closure Input Module Signal Magnitude - The 21X works similarly, except the data from the datalogger. The signal magnitude should range from...
... counter counts the C2 clock transitions. The processor is its serial communication interface. C3, driven high by its watchdog counter. The SW8A prepares to start operating correctly again. 15 If the address part of address in the most significant nibble and command in a low.... the Switch Closure Module shifts in less accurate duty cycle information. 9. Under normal operating conditions, the processor resets the counter. SDM-SW8A Switch Closure Input Module Signal Magnitude - The 21X works similarly, except the data from the datalogger. The signal magnitude should range from...