Logic Machine Forum
Modbus TCP HVAC Gateway - 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 HVAC Gateway (/showthread.php?tid=2949)

Pages: 1 2


RE: Modbus TCP HVAC Gateway - KoBra - 02.12.2020

profile is above. https://forum.logicmachine.net/attachment.php?aid=1912


RE: Modbus TCP HVAC Gateway - Daniel - 02.12.2020

Most likely the "datatype": "float16", is not float only int16


RE: Modbus TCP HVAC Gateway - admin - 02.12.2020

You need to set "datatype": "uint8" where 1-byte for control is needed. Also don't use "datatype": "float16", use "datatype": "int16" with a multiplier set.


RE: Modbus TCP HVAC Gateway - KoBra - 02.12.2020

OK Thanks, the temperature values with float are coming in perfectly but i will change them with Int16 and test again. i will do the others with uint8 and test. Thanks


RE: Modbus TCP HVAC Gateway - admin - 02.12.2020

From 0 to 20.47 float16 is the same value as int16 / 100. Outside this range you will get invalid values. You can safely use float16 as bus_datatype though.


RE: Modbus TCP HVAC Gateway - KoBra - 02.12.2020

Thanks for the support. Solved it. Attached the revised json for the IDU