Download Print this page

Seneca KEY-C Series User Manual page 41

Multiprotocol modbus to cloud (mqtt/http) gateways

Advertisement

TYPE OF 32-BIT FLOATING POINT DATA (IEEE 754)
The IEEE 754 standard
point numbers.
As already mentioned, since it is a 32-bit data type, its representation occupies two 16-bit holding registers.
To obtain a binary/hexadecimal conversion of a floating point value it is possible to refer to an online converter
at this address:
http://www.h-schmidt.net/FloatConverter/IEEE754.html
Using the last representation the value 2.54 is represented at 32 bits as:
0x4022 8F5C
Since we have 16-bit registers available, the value must be divided into MSW and LSW:
0x4022 (16418 decimal) are the 16 most significant bits (MSW) while 0x8F5C (36700 decimal) are the 16 least
significant bits (LSW).
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
User Manual
(https://en.wikipedia.org/wiki/IEEE_754)
www.seneca.it
MODBUS TO CLOUD
"KEY-C" GATEWAYS
defines the format for representing
MI00725-1-EN
floating
Page 41

Advertisement

loading
Need help?

Need help?

Do you have a question about the KEY-C Series and is the answer not in the manual?

Subscribe to Our Youtube Channel