How to display Modbus data type double - related endian

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
hoonjaeyim
Posts:4
Joined: Mon Aug 08, 2016 1:28 am

How to display Modbus data type double - related endian

Post by hoonjaeyim »

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
Attachments
Pictures.zip
(189.27 KiB) Downloaded 267 times
oa value.PNG
modbus.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to display Modbus data type double - related endian

Post by leoknipp »

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

2 posts • Page 1 of 1