Read User Offset And Read User Slope Commands - Xylem YSI WaterLOG H-3301 Owner's Manual

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

Advertisement

Read User Offset and Read 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 position into other
engineering units. These commands allow the user to read the current slope and offset terms.
The slope is set to 0.005 and the offset to 0.000 at the factory. The H-3301/3311 has a mechanical
position resolution of 200 counts per revolution. When used with a pulley 1.0 feet in circumference:
0.005 feet/count x 200 counts/rev. = 1.0 feet/rev. The slope term can be changed for other pulley
diameters or for other units such as inches or meters.
Command
"aXRS!"
"aXRO!"
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XRS
are upper case characters.
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 slope or offset.
Example of an Extended "Read User Units Slope" command:
Command
"aXRS!"
Command
"aD0!"
Pulley Circumference
Response
"a0011<cr><lf>"
"a0011<cr><lf>"
Response
"a0011<cr><lf>"
Response
"a+0.005<cr><lf>"
12in
18in
375mm
750mm
SDI-12 Command & Response Protocol
Description
Read Slope
Read Offset
Time
Values
1 sec
1
Description
Slope Reading is 0.005
Units
ft
ft
m
m
Description
Read Slope
Slope
0.005
0.0075
0.001875
0.00375
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ysi waterlog h-3311Ysi waterlog h-3342

Table of Contents