You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Issue
Converting IEEE float to decimal
Product Line
Modbus Tester
Environment
Modbus register conversion
Cause
When using Modbus Tester to read a 32 bit register, the two 16 bit registers need to be converted in order to see the actual value.
Below is an example of reading 32 bit Input Registers:
Resolution
A converter such as https://babbage.cs.qc.cuny.edu/IEEE-754.old/32bit.html can be used.
The two hex values in each of the 16 bit registers are placed together to obtain the decimal value:
Modscan was used to validate the results:
Converting IEEE float to decimal
Product Line
Modbus Tester
Environment
Modbus register conversion
Cause
When using Modbus Tester to read a 32 bit register, the two 16 bit registers need to be converted in order to see the actual value.
Below is an example of reading 32 bit Input Registers:
Resolution
A converter such as https://babbage.cs.qc.cuny.edu/IEEE-754.old/32bit.html can be used.
The two hex values in each of the 16 bit registers are placed together to obtain the decimal value:
Modscan was used to validate the results: