Campbell Hausfeld
SDM-SIO4
manual
Specifications
Error codes
Data Error Detection
Warranty
Issued
End of serial and filter setup
Datalogger Command Control
Get battery voltage
Setting the SDM Address
What is
Page 2
Page 1
Page 3
Image 2
Page 1
Page 3
Contents
Issued
Page
Guarantee
Page
Contents
Data Error Detection
Appendix A. Ascii Table
What is the SDM-SIO4?
Introduction
Datalogger Command Control
Serial Ports
Specifications
SDM-SIO4 Serial Port Pin Configuration
Serial Port Buffers
Case
Power Requirements
SDM Port
Environmental Operating Range
Other Key Features
Page
Address Settings
Installation and Hardware Set-Up
Setting the SDM Address
Selector Block Settings SDM Address
Transient Protection and Grounding
Selecting RS232 or 5V Logic for Each Port
Connections to the SDM-SIO4
No. of Flashes Description of error/status
Power-on Tests the Status LED
Status LED Error Codes
Page
Method of Entering Special / Control Characters
Understanding How the SDM-SIO4 Handles Data
Introduction
Simple Filters
Input Filters
Filter Types
Filter Strings
Ibn8Ficn8F
Predefined Filter Strings
Output Formatting
Simple Output Formatter
Filter No Filter String Used
Output Format Strings
Fmtst 123 z261 f62 iBattery z257 f61z273
CR10X Program Example
Get battery voltage
Get panel temperature
Programming the SDM-SIO4
Command Line Operation and Structure
Entering Commands
Basic Commands
Advanced Commands
Bytewr address byte
Errorres
Hexdump start address number of bytes
WD n Wderr n Wdaddr n
Testio test#
Testio returns
Page
Programming the Datalogger
Instruction 113 Parameters
Parameter 8 Starting Input Location
Commands and Options Parameters 4, 5
Parameter 7 Values per Rep
Parameters 9 and 10 Multiplier and Offset
Command 1 Poll of Available Data
Understanding Parameter Options and Returned Values
Command 4 Send Data to Datalogger
Command 2 Signatures
Command 3 Flush all Receive Buffers
Command 5 Status
Command 8 Poll Tx Buffers for Data
Command 6 Flush Transmit Buffer
Command 7 Activate Command Line
Command 9 Flush Converted Data Buffer
Command 321 Execute Command Line Command
Command 67 Get Return Code
Command 320 Send Byte Data to SDM-SIO4
Program Example for P113 Command
Execute the command line string
Command 1026 Serial Port Status
Command 1024 Send String to Device
Command 1025 Transmit a Byte
First Value Returned
Third Value Returned
First Command Option Reset Error Counters
Second Value Returned
Fourth Value Returned
Command 1027 ‘Manual’ Handshake Mode
Command 2049 Set Communications Parameters
First Command Option Parameter
Second Command Option Parameter
Command 2054 Set Up Receive Filter
String Number or Character Code
Example CR10X Program
SDM-SIO4 Configuration Examples
Command 2305 Transmit Bytes
Get two floating point numbers into locations 1
End of serial and filter setup
Set flag one high so the above will only be done once
Example CR10X Program Using Instruction P113 Command
Strst 101 Send DataJM
Set up the filter and then send string
Wait long enough for sensor to send data
Time stamp
Sensors Which Send Data Out Without Prompting
Get data from SDM-SIO4 and put into locations 1
Instantaneous sample form the sensor
Example CR10X Program without Polling or Interrupts
Fltst 200 tdataA5xff
Get the two floating point values from the SDM-SIO4
Example CR10X Program using the Polling Method
End of set up
Instantaneous values stored to final storage
Do filter set-up only if flag one is clear
Set up string filter
Delay required by filter set-up command
Set flag one high so the filter set-up is only done once
Instantaneous value stored into final storage
Example CR10X Program using Interrupts
Get voltages into locations 3 and 4 if poll was true
Set control port 8 to i/p so it can be used as an interrupt
Do filter setup only if flag one is clear
Delay required by filter setup command
Instantaneous readings stored into final storage
Interrupt routine for control port
Get voltages into locations 3
End of interrupt routine
Outputting Datalogger Data
Return Error Codes
Flushing the Input and Output Buffers
Received Data
Data Error Detection
Error Detection with the SDM-SIO4
SDM-SIO4 User Guide
Fltst 100 TFrequency=xg2n10fCCG8
Example of Using Received Data Filters
2 CR10X Program Example
Tell the SDM-SIO4 to use filter string
Minimum delay of 4ms is required by the above P113
End of filter setup
End of get data
Transmitted Data
CRC32
Example of Using Transmitted Data Filters
Fmtst 100 g1i123456789G8
Alternative CR10X Program
Fmtst 100 g1 Fmtst 101 isome data Fmtst 102 f62 G8
Minimum delay of 3.8ms is required after this command
Use formatter string 100 to set up the CRC16 on port
Minimum delay of 1ms is required after this command
Send the Ascii characters ‘Y’ and ‘Z’ to port
CRC16-CCITT-IBM
Data Error Detection
Page
Appendix A. Ascii Table
Dec Char
Page
Stop Bits
Appendix B. Serial Port Data Transfer Modes
Baud rates
Data Length
Parity Bits
Serial Handshake Modes
Related pages
Troubleshooting 203 for Sun Microsystems 3
Access Point Specifications for Cisco Systems OL-9977-05
Numeric error codes for Lenovo SL400c
Geodetic Chart List for Furuno 1734C
How to Navigate Menus for Samsung UE40C6000RWXXC
Installation of Expansion Cards for Gigabyte GA-M57SLI-S4
Option Parts List for Madge Networks 1300
Country Code List for Tascam BD-R2000
Using the DA300 With Your Computer for Pitney Bowes DA300
What are the wall mounting specifications for
Samsung LE32C630
?
Top
Page
Image
Contents