![Campbell SDM-IO16 User Manual Download Page 10](http://html1.mh-extra.com/html/campbell/sdm-io16/sdm-io16_user-manual_489066010.webp)
ii
Appendices
A. Program Examples
................................................. A-1
A.1 SDMIO16 Example ............................................................................. A-1
A.2 A CR10X Program Using the Outputs for Control of a
Greenhouse Heating and Cooling System ..................................... A-1
A.3 A CR10X Program which Measures Four Frequency Inputs
(Anemometers) and Four Switch Closure Inputs (Rain Gauges) .. A-6
A.4 A CR10X Program that uses the Interrupt Subroutine in the
Datalogger to Record the Time of Change of any one of the
Ports on an SDM-IO16 ................................................................. A-8
B. General Principles of Pulse and Frequency
Measurements
................................................... B-1
B.1 Introduction .......................................................................................... B-1
B.2 Frequency and Duty Cycle Measurement Range .................................. B-1
B.3 Resolution of Frequency Measurements .............................................. B-2
B.4 Resolution of Duty Cycle Measurements ............................................. B-2
B.5 Debounce Filtering ............................................................................... B-3
C. Command Code Listing
......................................... C-1
D. Details of use with PC208W and older
dataloggers
........................................................ D-1
Figures
1. SDM-IO16 (with mounting brackets) ......................................................... 1
2. Simplified Equivalent Port Circuits ............................................................ 4
3. Connection Block Diagrams ....................................................................... 5
4. Use of Terminal Blocks .............................................................................. 6
5. Address Selection Switch............................................................................ 7
Tables
1. Datalogger to SDM-IO16 Connections ....................................................... 5
2. Bit Period Values ...................................................................................... 10
3. Summary of the Common Command Codes relative to Port Number
and Function .......................................................................................... 14