RESI®
Title:
RESI-KNX-xxx manual
Date
Page
of
12.12.2018
47
60
.
P
ro
p
ri
e
ta
ry
d
a
ta
,
co
m
p
a
n
y
co
n
fid
e
n
tia
l.
A
ll
r
ig
h
ts
re
se
rv
e
d
.
C
o
n
fié
à
tit
re
d
e
se
c
re
t
d
'e
n
tr
e
p
ri
s
e
.
T
o
u
s
d
ro
its
r
é
se
rv
é
s
.
C
o
m
u
n
ic
a
d
o
c
o
m
o
se
g
re
d
o
e
m
p
re
sa
ri
a
l.
R
e
se
rv
a
d
o
s
to
d
o
s
o
s
d
ir
e
ito
s.
C
o
n
fid
a
d
o
co
m
o
s
e
cr
e
to
i
nd
u
st
ri
a
l.
N
o
s
re
se
rv
a
m
o
s
t
o
d
o
s
l
o
s
d
e
re
c
ho
s.
.
.
W
e
it
e
rg
a
b
e
s
o
w
ie
V
e
r
v
ie
lf
ä
lt
ig
u
n
g
d
ie
s
e
r
U
n
te
rl
a
g
e
,
V
e
r-
w
e
rt
u
n
g
u
n
d
M
it
te
ilu
n
g
ih
re
s
In
h
a
lt
s
n
ic
h
t
g
e
s
ta
tt
e
t,
s
o
w
e
it
n
ic
h
t
a
u
s
d
r
ü
c
k
lic
h
z
u
g
e
s
ta
n
d
e
n
.
Z
u
w
id
e
rh
a
n
d
lu
n
g
e
n
v
e
r-
p
fl
ic
h
te
n
z
u
S
c
h
a
d
e
n
e
rs
a
tz
.
A
ll
e
R
e
c
h
te
v
o
rb
e
h
a
lt
e
n
,
in
s
b
e
-
s
o
n
d
e
re
fü
r
d
e
n
F
a
ll
d
e
r
P
a
te
n
te
rt
e
il
u
n
g
o
d
e
r
G
M
-E
in
tr
a
g
u
n
g
.
.
The result will look like this:
More complicated is the storage of a FLOAT32 value into two consecutive holding registers. We use a
standard room temperature e.g. 23,45 °C as a value, we want to store into two registers.
First we have to translate this value into a valid IEE754 float value. Therefore we use a perfect site in the
internet (
http://www.h-schmidt.net/FloatConverter/IEEE754.html
We enter the value 23.45 and we get a 32 bit hexadecimal representation of the float value. It is the number
0x41BB999A. Now we store this value in the same way, we have stored the UINT32 value into two registers:
But we can also use the reverse notation:
MODBUS
Register
Storage of UINT32R datatype
4x00010
I:9
The low word of the 32 bit value 0x12345678 is stored in the first 16 bit wide
MODBUS register. This means the value 0x5678 is stored here.
4x00011
I:10
The high word of the 32 bit value 0x12345678 is stored in the second 16 bit wide
MODBUS register. This means the value 0x1234 is stored here.
MODBUS
Register
Storage of FLOAT32 datatype
4x00010
I:9
The high word of the 32 bit float value 0x41BB999A is stored in the first 16 bit
wide MODBUS register. This means the value 0x41BB is stored here.
4x00011
I:10
The low word of the 32 bit float value 0x41BB999A is stored in the second 16 bit
wide MODBUS register. This means the value 0x999A is stored here.
MODBUS
Register
Storage of FLOAT32R datatype
4x00010
I:9
The low word of the 32 bit float value 0x41BB999A is stored in the first 16 bit
wide MODBUS register. This means the value 0x999A is stored here.
4x00011
I:10
The high word of the 32 bit float value 0x41BB999A is stored in the second 16 bit
wide MODBUS register. This means the value 0x41BB is stored here.