Modbus Interface
WirelessHART Fieldgate SWG70
118
E Hauser
16.1.3 Data types
Fieldgate SWG70 supports three different data types, which are interpreted and stored as
described below:
• Floating point, Unsigned Integer16, Unsigned Integer8
Floating point
Unsigned16
Unsigned8
Value range
(±
) 1.175 * 10
-38
to 3.403 * 10
38
Byte Structure
Byte Structure
Float
Swapped Float
Modbus Register 1
Modbus Register 2
Sign
Exponent (8 bit)
Fraction (23 bit)
31
0
23
0
15
31
16
31
16
0
15
Value range
0 to 65.535
Byte Structure
Byte Structure
Unsigned Integer16
Swapped Unsigned Integer16
Modbus Register 1
Value (16 bit)
15
0
0
15
0
15
Value range
0 to 255
Byte Structure
Byte Structure
Unsigned Integer8
(Integer 8 without sign)
Swapped Unsigned Integer8
Modbus Register 1
Value (8 bit)
15
7
0
0 0 0 0 0 0 0 0
0
15
7
0 0 0 0 0 0 0 0
0
15
7
0 0 0 0 0 0 0
0