beautypg.com

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

Page 24

background image

2-10 SDI-12 Command and Response Protocol

H-340SDI

Example of a H340SDI extended "Write Slope" command:

Command

Response

Tim Values

Description

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

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

"aXWS1.234!" "a0011"

1 sec 1

Set slope to 1.234

Subsequent Command

Response

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

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

"aD0"

a+123.4

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

command to collect and view the data.

2.12 Extend “Read Offset” Command

The H-340SDI maintains an offset value in RAM which is automatically added to the Total

Accumulation value. The offset value can be used to match the H340's Total Accumulation to the

current water year rainfall. This command allows the user to read the current offset value. The

offset is automatically set to zero at power-up or with the “aXRA” command.

Command

Response

Description

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

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

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

"aXR0!"

"a0011"

Read Offset

Where:

a

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

XRO

are upper case characters

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

command to collect and view the data.