Float IEEE 754 32 bit floating point format
String A string of ASCII characters
The data format includes signed and unsigned integers. The difference between these
types is that a signed integer passes on negative values, which reduces the range of the
integer by half. Up to five 16 bit registers can be requested in one request; if requesting
six or more registers, multiple requests should be used.
If the format of data is a signed or an unsigned 32 bit integer, the first register received
is the most significant word (MSW) and the second register is the least significant word
(LSW). This way two 16 bit registers are reserved for a 32 bit integer. If the format of
data is float, it is a 32 bit floating point operator and two 16 bit registers are reserved as
well. Most network managing programs have standard menus performing this type of
conversion. In case manual conversion is required, see the appendix on conversion of a
floating point number to a decimal number. MSW and LSW should be read together in
one request. This is necessary to make sure both registers contain the data of one
internal voltage measurement. Reading out the registers with two different instructions
may lead to the combination of LSW and MSW of two measurements at different points in
time.
An Unsigned 32 bit integer can be calculated by the formula: (MSW x 2
16
)+LSW = U32.
An example of such a calculation is available in the paragraph āNetwork communication:
example master request to SR05ā.
Your data request may need an offset of +1 for each SR05 register number,
depending on processing by the network master. Example: SR05 register
number 7 + master offset = 7 + 1 = master register number 8. Consult the
manual of the device acting as the local master.