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 HVAC Gateway
#21
profile is above. https://forum.logicmachine.net/attachment.php?aid=1912
Reply
#22
Most likely the "datatype": "float16", is not float only int16
------------------------------
Ctrl+F5
Reply
#23
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.
Reply
#24
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
Reply
#25
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.
Reply
#26
Thanks for the support. Solved it. Attached the revised json for the IDU

Attached Files
.json   ACSMart5_IDU.json (Size: 2.74 KB / Downloads: 23)
Reply


Forum Jump: