H-3531 – Xylem H-3531 FlashLite User Manual
Page 50

5-12 SDI-12 Command and Response Protocol
H-3531
5.11 Extended Read/Write Offset and Read/Write Slope
The H-3531 FlashLite™ processes the pressure sensor input and computes Pressure in PSI units.
Stage is computed with a Stage = m * Pressure + b equation. The Slope (m) and Offset (b) terms
are programmable, allowing the user to scale the reading into other engineering units. These
commands allow the user to read or write (change) the Slope and Offset terms. The slope is set to
2.3067 and the offset to 0.00 at the factory. With the factory default (2.3067) the Stage will be in
units of water depth (in feet). The new values are stored in non-volatile EEPROM within the
sensor. Once the new Slope or Offset value is written to the EEPROM, a copy is sent to the sensor
data buffer for verification. This data can be viewed by using a subsequent "D" command. To
verify these settings any other time, use the "XRS" or “XRO” commands. This command takes
001 seconds to complete and places 1 value in the data buffer. Use the “aD0" command to collect
and view the new slope or offset.
Command
Response
Description
"aXRS!"
“a0011
Read Slope
"aXRO!"
“a0011
Read Offset
"aXWSddd!"
“a0061
Write Slope
"aXWOddd!"
“a0061
Write Offset
Where: a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XRS
are upper case characters.
XRO
are upper case characters.
XWS
are upper case characters.
XWO
are upper case characters.
ddd
is the new slope or offset value (For example: 20.0, 195)
Example of a H-3531 Extended "Read Slope" command:
Command
Response
Time Values
Description
"aXRS!"
"a0011
1 sec
1
Read Slope
Command
Response
Description
"aD0!"
"a+1.00
Slope is 1.00
Example of a H-3531 Extended "Write Slope" command:
Command
Response
Time Values
Description
"aXWS1.234!"
"a0061
6 sec
1
Write Slope
Command
Response
Description
"aD0!"
"a+1.234
Slope is 1.234