Hello,
I'm using the CR1000X as a Modbus TCP server using the ModbusServer instruction.
When I read the modbus variables, I find that they do not have exactly the same values as on the CR1000X.
# Example 1 (air temperature in °C):
-on the datalogger: 26.4
-on modbus client: 26.3999996185303
# Example 2 (wind speed in m/s):
-on the datalogger:1.9
-on the client modbus: 1.89999997615814
Please help me to correct this problem.
Regards
The client software is converting the numbers to double precision floating point. Look for an option in the Modbus client to round up the display to one decimal place. Then, it would display the way you want.
This post is under review.