02.12.2020, 09:42
profile is above. https://forum.logicmachine.net/attachment.php?aid=1912
Modbus TCP HVAC Gateway
|
02.12.2020, 09:42
profile is above. https://forum.logicmachine.net/attachment.php?aid=1912
02.12.2020, 09:45
Most likely the "datatype": "float16", is not float only int16
------------------------------
Ctrl+F5
02.12.2020, 09:45
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.
02.12.2020, 10:02
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
02.12.2020, 10:10
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.
|
« Next Oldest | Next Newest »
|