Sutron Corporation X-Link Operations & Maintenance Manual, Rev 1.63 5/24/2016 pg. 174
to allow enough time to pass for taking a measurement before requesting the
data.
Since the system works with floating point numbers and Modbus only allows for
16-bit registers, a multiple register read can be used to access the entire reading.
The Modbus master device should be configured to treat these reads as a single
floating point number. For example, if accessing Last measured via an Xpert,
read 1 value of type float starting at register 1. If the quality is also desired,
change the number of values to 2 and choose ushort for the second reading
type. The complete list of registers and their locations are below.
M1, M2, .. M16 refer to X-Link measurements.
E.g. to read the last measured sensor value for measurement M10, read registers
19 and 20 and combine the result into a single 32 bit IEEE floating point value.
E.g. to read the number of samples used in the last measurement of M5, read
registers 309 and 310 and combine the result into a single 32 bit IEEE floating
point value.
18.4. Sutron Function Codes
This section describes the use of the Sutron function code to get files, send files
and, get the log over MODBUS.