Section 5. Programming the Datalogger
5-9
5.2.15 Command 1024: Send String to Device
This command requests the SDM-SIO4 to transmit a user-defined text string
(entered in the command line mode) number 0..255 or a fixed string 256..511.
The string number is defined in parameter 5. The string is transmitted from the
specified port to the RS232 device. If the specified string has not been allocated
then ‘
string not allocated
’ is transmitted.
Values per repetition = 0
Minimum delay = characters*0.26*ports in milliseconds
5.2.16 Command 1025: Transmit a Byte
This command transmits a byte (defined in parameter 5) from the SDM-SIO4 to
the RS232 device. The byte must be in the range of 0..255 for binary code.
Values per repetition = 0
5.2.17 Command 1026: Serial Port Status
This command requests the SDM-SIO4 to send the current output level of
status lines, number of framing errors, number of parity errors and number of
overruns. This is sent to the datalogger as four Campbell Scientific floating
point numbers to consecutive input locations.
Values per repetition = 4
First Value Returned
Parity errors (count from 0..99)
| | DTR status (0=DTR low, 1=DTR high)
| | | RTS status (0=RTS low, 1=RTS high)
| | | |
x x x x
Second Value Returned
CTS status (0=CTS low, 1=CTS high)
| DSR status (0=DSR low, 1=DSR high)
| | RI status (see below)
| | | DCD status (0=DCD low, 1=DCD high)
| | | |
x x x x
For the RI (Ring Indicator):
0 = no trailing edge seen since last read
1 = trailing edge seen since last read
NOTE
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 ...