beautypg.com

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

Page 27

background image

H-340SDI

SDI-12 Command and Response Protocol 2-13

Example of a H340SDI extended "Get Time" command:

Command

Response

Time Values

Description

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

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

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

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

"aXGT!"

"a0013"

1 sec 3

Get current time of day

Subsequent Command

Response

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

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

"aD0"

a+HH+MM+SS

Where:

HH

= Hours (24 hour format)

MM

= Minutes

SS

= Seconds

2.15 Extended “Set Time” Command

The H-340SDI has a built-in real time clock. This command allows the user to change the current

time of day.

Command

Response

Description

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

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

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

"aXSTHHMMSS!"

"a0013"

Set time of day

Where:

a

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

XST are upper case characters.

HHMMSS

is the new time in Hours:Minutes:Seconds (24-Hour format)

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.