Could you let me know how to display data type double?
To check value, I used modbus poll. The kWH reading value was 55.235
Display format was Double AB CD EF GH (endian) from the modbus poll.
But when I see from WinccOA. the reading value was 2.0257438078383e+37
Please see attachments
I think to get same value from Meters, we need word swapped.
Please let me know how to do
How to display Modbus data type double - related endian
- hoonjaeyim
- Posts:4
- Joined: Mon Aug 08, 2016 1:28 am
How to display Modbus data type double - related endian
- Attachments
-
- Pictures.zip
- (189.27 KiB) Downloaded 267 times
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to display Modbus data type double - related endian
For the Modbus driver the config entry littleEndianRegister = 0/1 (default 1) is available.
I'm not sure if the entry helps to solve the problem but you can give it a try.
Best Regards
Leopold Knipp
Senior Support Specialist
I'm not sure if the entry helps to solve the problem but you can give it a try.
Best Regards
Leopold Knipp
Senior Support Specialist