Campbell Scientific SDM-SIO1 Serial Input/Output Module User Manual

Page 5

Advertising
background image

Table of Contents

PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.

1.

Introduction.................................................................1

2.

Specifications .............................................................2

2.1

Supported Data Rates and Protocols ....................................................2

2.2

Electrical Parameters............................................................................3

2.2.1

SDM-SIO1 Current Consumption.................................................3

2.2.2

SDM-SIO1 Voltage Specifications ...............................................4

2.2.3

EMC Compliance..........................................................................4

2.3

Temperature and Humidity Ranges......................................................5

2.4

Physical Parameters .............................................................................5

2.5

Datalogger Compatibility.....................................................................5

3.

Installation...................................................................5

3.1

Connections..........................................................................................6

3.2

Safety Considerations...........................................................................8

3.3

Examples for Connecting the SDM-SIO1 to Other Equipment ...........9

3.3.1

RS-485 One to One Connection Example.....................................9

3.3.2

RS-485 Multi Unit / In Line Example.........................................10

3.3.3

RS-485 Half Duplex Wiring Example ........................................11

3.3.4

RS-485 Internal Circuit Diagram ................................................11

3.3.5

RS-232 Wiring Example with Handshaking...............................12

3.3.6

RS-232 Basic 3-Wire Example ...................................................12

3.3.7

Connecting a 9-Way Socket to the SDM-SIO1...........................13

3.4

Power Conservation ...........................................................................13

4.

Programming the Datalogger ..................................14

4.1

Special Information about the Serial I/O() CRBasic Instructions when

used with the SDM-SIO1 ...............................................................14

4.1.1

SerialOpen()................................................................................14

4.1.2

SerialClose() ...............................................................................17

4.1.3

SerialIn() .....................................................................................17

4.1.4

SerialOut()...................................................................................17

4.1.5

SerialInBlock()............................................................................18

4.1.6

SerialOutBlock() .........................................................................18

4.1.7

SerialInChk()...............................................................................18

4.1.8

SerialInRecord()..........................................................................18

4.1.9

SerialFlush()................................................................................18

4.1.10

Serial Input Errors.......................................................................18

4.2

Configuring Handshaking and Receive Only Modes.........................18

4.2.1

Using RTS/CTS and Automatic Handshaking............................18

4.2.2

RS-485 Half-Duplex Mode.........................................................19

4.2.3

Using the RS-232 Link in Receive Only Mode ..........................19

i

Advertising