This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus TCP/IP: read_swap not work
#1
Hi,
here enclosed register map of a device. What is wrong with json profile below?

{"name":"Heating Energy kWh","bus_datatype":"int32","datatype":"int32","type":"register","address":71,"read_swap":"w"}

I mean the I read the same value declaring "read_swap":"w" or not declaring it. 

Where is my fault please?

Thanks.

BR

Attached Files Thumbnail(s)
   
Reply
#2
"w" is the default swap mode. Try using "n" instead.
Reply
#3
(01.12.2022, 07:12)admin Wrote: "w" is the default swap mode. Try using "n" instead.

Thank you Admin!!
Reply


Forum Jump: