Figures, Tables – Campbell Hausfeld Serial I/O Interface SDM-SIO4 User Manual

Page 6

Advertising
background image

ii

5.2.6 Command 5: Status .............................................................................5-4
5.2.7 Command 6: Flush Transmit Buffer....................................................5-5
5.2.8 Command 7: Activate Command Line................................................5-5
5.2.9 Command 8: Poll Tx Buffers for Data ................................................5-5
5.2.10 Command 9: Flush Converted Data Buffer .......................................5-5
5.2.11 Command 66: Send Single-Byte Data to Datalogger .........................5-5
5.2.12 Command 67: Get Return Code ........................................................5-6
5.2.13 Command 320: Send Data to SDM-SIO4 ..........................................5-6
5.2.14 Command 321: Execute Command Line Command .........................5-6
5.2.15 Command 1024: Send String to Device ............................................5-8
5.2.16 Command 1025: Transmit a Byte......................................................5-8
5.2.17 Command 1026: Serial Port Status....................................................5-8
5.2.18 Command 1027: ‘Manual’ Handshake Mode .................................5-10
5.2.19 Command 2049: Set Communications Parameters ..........................5-10
5.2.20 Command 2054: Set Up Receive Filter ...........................................5-12
5.2.21 Command 2304: Transmit String and/or Data to Device ................5-12
5.2.22 Command 2305: Transmit Byte(s) ..................................................5-14

5.3 SDM-SIO4 Configuration Examples ...........................................................5-14

5.3.1 Sensors Where the Datalogger Can Request Data by Sending a Prompt

or Using a Handshaking Line:............................................................5-16

5.3.2 Sensors Which Send Data Out Without Prompting............................5-18

5.4 Outputting Datalogger Data .........................................................................5-25
5.5 Flushing the Input and Output Buffers.........................................................5-26
5.6 Return Error Codes ......................................................................................5-26

Section 6. Data Error Detection ....................................... 6-1

6.1 Error detection with the SDM-SIO4 ..............................................................6-1
6.2 Received Data ................................................................................................6-1

6.2.1 Example of Using Received Data Filters..............................................6-3
6.2.2 CR10X Program Example....................................................................6-3

6.3 Transmitted Data ............................................................................................6-6

6.3.1 Example of Using Transmitted Data Filters .........................................6-7
6.3.2 CR10X Program Example....................................................................6-8
6.3.3 Alternative CR10X Program ................................................................6-8

Appendix A. ASCII Table ................................................. A-1

Appendix B. Serial Port Data Transfer Modes ............... B-1

B.1 Baud Rates.................................................................................................... B-1
B.2 Stop Bits ....................................................................................................... B-1
B.3 Data Length .................................................................................................. B-1
B.4 Parity Bits ..................................................................................................... B-2
B.5 Serial Handshake Modes .............................................................................. B-2

Figures

1. Schematic Diagram of the SDM-SIO4.............................................................1-2

Tables

1. SDM-SIO4 Serial Port Pin Configuration........................................................1-3
2. Address Settings...............................................................................................2-1
3. Status LED Error Codes...................................................................................2-3
4. Fixed Strings Currently Allocated....................................................................3-6

Advertising