beautypg.com

H-340 sdi – Xylem H-340SDI User Manual

Page 28

background image

2-14 SDI-12 Command and Response Protocol

H-340SDI

Example of a H340SDI extended "Set Time" command:

Command

Response

Time Values

Description

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

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

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

"aXST234537" "a0011"

1 sec 1

Set time of day to 23:45:37

Subsequent Command

Response

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

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

"aD0"

a+23+45+37

Example of a H340SDI extended "Get Daily Reset Time" command:

Command

Response

Time Values

Description

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

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

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

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

"aXGDRT!"

"a0013"

1 sec 3

Get daily reset time

Subsequent Command

Response

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

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

"aD0"

a+HH+MM+SS

Where:

HH

= Hours (24 hour format)

MM

= Minutes

SS

= Seconds

2.16 Extended “Get Daily Reset Time” Command

The H-340SDI automatically resets the daily accumulations a certain time each day. For example,

one day may be calculated from 6:00 AM of one day to 6:00 AM of the next day. This command

reads the time of day at which the reset is scheduled.

Command

Response

Description

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

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

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

"aXGDRT!"

"a0013"

Read daily reset time

Where:

a

is the sensor address ("0-9", "A-Z", "a-z", "*", "?").

XGDRT

are upper case characters

This command takes 001 seconds to complete and places 3 values in the data buffer. Use the “aD0"

command to collect and view the data.