Campbell Scientific SDM-IO16 16-Channel Input/Output Expansion Module User Manual
Page 5

SDM-IO16 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. Introduction..................................................................1
2. Specifications ..............................................................2
2.1 General .....................................................................................................2
2.2 Port Specifications (Output Mode)...........................................................3
2.3 Port Specifications (Input Mode)..............................................................3
2.4 Pulse Counting Specifications ..................................................................3
3. Power Considerations.................................................5
4. Installation....................................................................6
4.1 Terminal Connections...............................................................................7
5. Address Selection Switches.......................................8
6. Programming the Datalogger .....................................9
6.1 General Principles.....................................................................................9
6.2 CRBasic Programming ...........................................................................10
6.2.1 SDMIO16 Instruction ...................................................................10
6.2.2 SDMCD16AC Instruction ............................................................11
6.2.3 SDMSpeed Instruction..................................................................11
6.3 Edlog Programming................................................................................12
6.3.1 Instruction 188 (CR10X and CR23X) ..........................................12
6.3.2 Instructions 104 and 29 (CR10, CR7, 21X)..................................14
6.4 Command Codes for SDMIO16 Instruction and Instruction 188...........15
7. Program Examples ....................................................18
7.1 SDMIO16 Example ................................................................................18
7.2 A CR10X Program Using the Outputs for Control of a Greenhouse
Heating and Cooling System. .........................................................18
7.3 A CR10X Program which Measures Four Frequency Inputs
(Anemometers) and Four Switch Closure Inputs (Rain Gauges) ...24
7.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...................................................................26
i