Write User Offset And Write User Slope Commands; Test Display - Xylem YSI WaterLOG H-3301 Owner's Manual

Incremental shaft encoder with sdi-12 and quadrature outputs
Table of Contents

Advertisement

SDI-12 COMMAND &
RESPONSE PROTOCOL

Write User Offset and Write User Slope Commands

The H-3301/3311 processes the raw shaft encoder position with a mX+b equation. The slope (m)
and offset (b) terms are programmable, allowing the user to scale the encoder position into other
engineering units. This command allows the user to write (change) the slope and offset terms.
The new value is 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 the Slope or Offset any other time, use the
"Read User Slope" or "Read User Offset" commands.
Command
"aXWSddd!"
"aXWOddd!"
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XWS are upper case characters.
XWO are upper case characters.
ddd
is the new slope or offset value. The input format is very flexible. Some examples are
shown below.
Example of an Extended "Write User Units Slope" command:
Command
"aXWS1.234!"
Command
"aD0!"

Test Display

This command tests the individual segments of the display by cycling through the numbers 0-9 in
each of the different positions on the display followed by displaying the numbers 100, 1000 and
10000 to test the decimal locations.
Command
"aXTD!"
Where:
20
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XTD are upper case characters.
Response
"a0011<cr><lf>"
"a0011<cr><lf>"
20.0
0.195
-500
Response
"a0011<cr><lf>"
Response
"a+1.234<cr><lf>"
Response
"a0200<cr><lf>"
Description
Write Slope
Write Offset
Time
Values
1 sec
1
Description
Slope verified at 1.234
Description
Test Display
Description
Write Slope

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ysi waterlog h-3311Ysi waterlog h-3342

Table of Contents