Send Data Command - Xylem YSI WaterLOG H-3301 Owner's Manual

Incremental shaft encoder with sdi-12 and quadrature outputs
Table of Contents

Advertisement

SDI-12 COMMAND &
RESPONSE PROTOCOL
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
C
is an upper-case ASCII character
ttt
is a three digit integer (000-999) specifying the maximum time, in seconds, the sensor
will take to complete the command and have measurement data available in its buffer.
nn
is a two digit integer (00-99) specifying the number of values that will be placed in the
data buffer. If "n" is zero (0), no data will be available using subsequent "D" commands.
The data recorder may wake the sensor with a break and collect the data anytime after the
specified processing time has elapsed.

Send Data Command

The "Send Data" command returns sensor data generated as the result of previous "aM!", "aC!" or
"aV!" commands. Values returned will be sent in 33 characters or less. The sensor's data buffer will
not be altered by this command.
Command
"aD0!" through "aD9!"
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
D0..D9
are upper-case ASCII characters.
p
Is a polarity sign (+ or -)
d.d
represents numeric digits before and/or after the decimal. A decimal may be
used in any position in the value after the polarity sign. If a decimal is not used,
it will be assumed to be after the last digit.
For example: +3.29 +23.5 -25.45 +300
If one or more values were specified and a "aD0!" returns no data (a<CR><LF> only), it means that
the measurement was aborted and a new "M" command must be sent. The following is an example
of the "aD0!" command.
Example of an "aD0!" command:
Previous command
"aM!"
Subsequent Command
"aD0"
Where:
X.XX
14
NNNN
Response
"apd.d ... pd.d<cr><lf>"
Response
"a0012<cr><lf>"
Response
+X.XX+NNNN<cr><lf>
= Current position (stage), in user programmable units
= Current position (raw counts), in raw position counts

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ysi waterlog h-3311Ysi waterlog h-3342

Table of Contents