EasyManua.ls Logo

Hukseflux SR05 series - Page 44

Hukseflux SR05 series
83 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SR05-D1A3-PV manual v1801 44/83
Table 6.2.3 Format of data
FORMAT OF DATA
DESCRIPTION
U16 Unsigned 16 bit integer
S16 Signed 16 bit integer
U32 Unsigned 32 bit integer
S32
Signed 32 bit integer
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.

Table of Contents