Logic Machine Forum
Modbus TCP/IP: read_swap not work - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Modbus TCP/IP: read_swap not work (/showthread.php?tid=4414)



Modbus TCP/IP: read_swap not work - Domoticatorino - 30.11.2022

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


RE: Modbus TCP/IP: read_swap not work - admin - 01.12.2022

"w" is the default swap mode. Try using "n" instead.


RE: Modbus TCP/IP: read_swap not work - Domoticatorino - 03.12.2022

(01.12.2022, 07:12)admin Wrote: "w" is the default swap mode. Try using "n" instead.

Thank you Admin!!