SDM-SIO4 Table of Contents
ii
5.2 Commands and Options (Parameters 4, 5 and 6) .................................. 5-2
5.2.1 Understanding Parameter Options and Returned Values ............ 5-3
5.2.2 Command 1: Poll of Available Data........................................... 5-3
5.2.3 Command 2: Signatures ............................................................. 5-4
5.2.4 Command 3: Flush all Receive Buffers...................................... 5-4
5.2.5 Command 4: Send Data to Datalogger ....................................... 5-4
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-6
5.2.11 Command 66: Send Single-Byte Data to Datalogger ................ 5-6
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-9
5.2.16 Command 1025: Transmit a Byte............................................. 5-9
5.2.17 Command 1026: Serial Port Status........................................... 5-9
5.2.18 Command 1027: ‘Manual’ Handshake Mode......................... 5-11
5.2.19 Command 2049: Set Communications Parameters ................. 5-11
5.2.20 Command 2054: Set Up Receive Filter .................................. 5-13
5.2.21 Command 2304: Transmit String and/or Data to Device ....... 5-13
5.2.22 Command 2305: Transmit Byte(s) ......................................... 5-15
5.3 SDM-SIO4 Configuration Examples ................................................. 5-15
5.3.1 Sensors Where the Datalogger Can Request Data by Sending a
Prompt or Using a Handshaking Line: ................................................ 5-17
5.3.2 Sensors Which Send Data Out Without Prompting................... 5-20
5.4 Outputting Datalogger Data ................................................................ 5-27
5.5 Flushing the Input and Output Buffers................................................ 5-29
5.6 Return Error Codes ............................................................................. 5-29
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-4
6.3 Transmitted Data................................................................................... 6-7
6.3.1 Example of Using Transmitted Data Filters ................................ 6-8
6.3.2 CR10X Program Example........................................................... 6-8
6.3.3 Alternative CR10X Program ....................................................... 6-9
Appendices
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
Summary of Contents for SDM-SIO4
Page 6: ...SDM SIO4 Table of Contents iv This is a blank page ...
Page 12: ...Section 1 Introduction 1 6 This is a blank page ...
Page 16: ...Section 2 Installation and Hardware Set Up 2 4 This is a blank page ...
Page 26: ...Section 3 Understanding How the SDM SIO4 Handles Data 3 10 This is a blank page ...
Page 32: ...Section 4 Programming the SDM SIO4 4 6 This is a blank page ...
Page 62: ...Section 5 Programming the Datalogger 5 30 This is a blank page ...
Page 76: ...This is a blank page ...
Page 81: ...This is a blank page ...