Liquiline CM44x Modbus Guideline V1.0
Hauser
22
© Copyright Dez. 2011
7.
Tables
7.1.
Data types
The Modbus specification does not specify data types. The following data types are commonly used and also
supported by other Hauser devices.
7.1.1.
Float (IEE-754)
Byte 3
Byte 2
Byte 1
Byte 0
SEEEEEEE
EMMMMMMM
MMMMMMMM
MMMMMMMM
S = sign
E = exponent
M = mantissa
7.1.2.
Integer
Byte 1
Byte 0
Most significant byte
(MSB)
Least significant
(LSB)
7.1.3.
String
Byte N
Byte N-1
…
Byte 1
Byte 0
Most significant byte
(MSB)
…
Least significant
(LSB)
Example:
Register
Hex
char
40001
0x4C69
L
i
40002
0x7175
q
u
40003
0x696C
i
l
40004
0x696E
i
n
40005
0x6500
e
0
7.1.4.
Date
Dates are encoded similar to EN61804-2.
Byte
0...1 Millisecond (0..59999)
2
Minute (0..59)
3
Hour (0..59)
4
Day of month (1..31)
5
Month (1..12)
6
Year (0..255) / 0 = 1900