Campbell Hausfeld
SDM-SIO4
manual
Specs
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 4
Page 3
Page 5
Image 4
Page 3
Page 5
Contents
Issued
Page
Guarantee
Page
Contents
Data Error Detection
Appendix A. Ascii Table
What is the SDM-SIO4?
Introduction
Datalogger Command Control
Specifications
SDM-SIO4 Serial Port Pin Configuration
Serial Ports
Serial Port Buffers
Power Requirements
SDM Port
Case
Environmental Operating Range
Other Key Features
Page
Installation and Hardware Set-Up
Setting the SDM Address
Address Settings
Selector Block Settings SDM Address
Connections to the SDM-SIO4
Selecting RS232 or 5V Logic for Each Port
Transient Protection and Grounding
Status LED Error Codes
Power-on Tests the Status LED
No. of Flashes Description of error/status
Page
Introduction
Understanding How the SDM-SIO4 Handles Data
Method of Entering Special / Control Characters
Filter Types
Input Filters
Simple Filters
Filter Strings
Ibn8Ficn8F
Output Formatting
Simple Output Formatter
Predefined Filter Strings
Filter No Filter String Used
Output Format Strings
Fmtst 123 z261 f62 iBattery z257 f61z273
CR10X Program Example
Get battery voltage
Get panel temperature
Entering Commands
Command Line Operation and Structure
Programming the SDM-SIO4
Basic Commands
Advanced Commands
Errorres
Hexdump start address number of bytes
Bytewr address byte
WD n Wderr n Wdaddr n
Testio test#
Testio returns
Page
Programming the Datalogger
Instruction 113 Parameters
Commands and Options Parameters 4, 5
Parameter 7 Values per Rep
Parameter 8 Starting Input Location
Parameters 9 and 10 Multiplier and Offset
Command 1 Poll of Available Data
Understanding Parameter Options and Returned Values
Command 2 Signatures
Command 3 Flush all Receive Buffers
Command 4 Send Data to Datalogger
Command 5 Status
Command 6 Flush Transmit Buffer
Command 7 Activate Command Line
Command 8 Poll Tx Buffers for Data
Command 9 Flush Converted Data Buffer
Command 67 Get Return Code
Command 320 Send Byte Data to SDM-SIO4
Command 321 Execute Command Line Command
Program Example for P113 Command
Execute the command line string
Command 1024 Send String to Device
Command 1025 Transmit a Byte
Command 1026 Serial Port Status
First Value Returned
First Command Option Reset Error Counters
Second Value Returned
Third 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
Command 2305 Transmit Bytes
SDM-SIO4 Configuration Examples
Example CR10X Program
Set flag one high so the above will only be done once
End of serial and filter setup
Get two floating point numbers into locations 1
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
Sensors Which Send Data Out Without Prompting
Get data from SDM-SIO4 and put into locations 1
Time stamp
Instantaneous sample form the sensor
Example CR10X Program without Polling or Interrupts
Fltst 200 tdataA5xff
Example CR10X Program using the Polling Method
End of set up
Get the two floating point values from the SDM-SIO4
Instantaneous values stored to final storage
Set up string filter
Delay required by filter set-up command
Do filter set-up only if flag one is clear
Set flag one high so the filter set-up is only done once
Get voltages into locations 3 and 4 if poll was true
Example CR10X Program using Interrupts
Instantaneous value stored into final storage
Delay required by filter setup command
Do filter setup only if flag one is clear
Set control port 8 to i/p so it can be used as an interrupt
Interrupt routine for control port
Get voltages into locations 3
Instantaneous readings stored into final storage
End of interrupt routine
Outputting Datalogger Data
Return Error Codes
Flushing the Input and Output Buffers
Error Detection with the SDM-SIO4
Data Error Detection
Received Data
SDM-SIO4 User Guide
2 CR10X Program Example
Example of Using Received Data Filters
Fltst 100 TFrequency=xg2n10fCCG8
End of filter setup
Minimum delay of 4ms is required by the above P113
Tell the SDM-SIO4 to use filter string
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
Use formatter string 100 to set up the CRC16 on port
Minimum delay of 1ms is required after this command
Minimum delay of 3.8ms 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
Appendix B. Serial Port Data Transfer Modes
Baud rates
Stop Bits
Data Length
Parity Bits
Serial Handshake Modes
Related pages
Troubleshooting for Deni 9740
Specifications for Samsung BD-C5900
Fault Codes for Pride Mobility 1420
Start/Stop Timing Chart for two-wire type for Mitsubishi Electronics FR-S500
HOW to USE Your Tractor for Poulan PPH23B48
Installation du sèche-linge for Samsung DV220AE-02810B
Lift Assembly Parts List for Figure for Cub Cadet 53AI8CT8050
Universal Remote Control Code List for RCA 46LA45RQ
Checking the remote controller for Samsung AQ24TSBXCEE
How do I set up the
Cateye CC-HB100
for optimal use?
Top
Page
Image
Contents