beautypg.com

H-5223 – Xylem H-5223 User Manual

Page 56

background image

B.2.2 Send Data Command

The Send Data command returns sensor data generated as the result of previous "aM!" or "aV!"
command. Values returned will be sent in 33 characters or less. The sensor's data buffer will not
be altered by this command.

Command

Response

-------------

--------------------------------------

"aD0!" through "aD9!"

"apd.d ... pd.d"

Where:

a

Is the sensor address ("0" to "9", "A" to "Z", or "*").

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 the number of values returned by a "aD0!" command is less than the number specified by the
result of the previous "M" or "V" command, the rest of the data must be collected using "aD1,"
"aD2!" .... "aD9!" until all values specified have been collected.

If one or more values were specified and a "aD0!" returns no data (a only), it means
that the measurement was aborted and a new "M" or “V” command must be sent.

H-5223

SDI-12 Command and Response Protocol B-3