beautypg.com

H-4280 – Xylem H-4280 User Manual

Page 17

background image

H-4280

SDI-12 Command and Response Protocol 3-5

3.4 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

Response

"aD0!" through "aD9!"

"apd.d ... pd.d"

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 ( only), it means that

the measurement was aborted and a new "M" command must be sent.

Example of a H-4280 "aM!" command:

Command

Response

Time Values

Description

"aM!"

"a0038"

3 sec 8

Make measurement

Subsequent Command

Response

"aD0"

a+A.AAA+B.BBB+C.CCC+D.DDD

"aD1"

a+E.EEE+F.FFF+G.GGG+H.HHH

Where:

A.AAA

= Channel 0 Voltage

B.BBB

= Channel 1 Voltage

C.CCC

= Channel 2 Voltage

D.DDD

= Channel 3 Voltage

E.EEE

= Channel 4 Voltage

F.FFF

= Channel 5Voltage

G.GGG

= Channel 6 Voltage

H.HHH

= Channel 7 Voltage