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
#1
Hi,
1. I have a suggestion, if we change 1 modbus profile, I need to remote everything related with modbus to update.. is't possible to create a automatic profile refresh or something ?
2. I have one device that send temperature with UINT16 -> 333 ... this it 33.3ºC ... How can I convert the value to have 33.3 ºC in knx?
Example:

the value in the bus is 333 (33.3ºC)

{ "name": "Temperature AQS", "bus_datatype": "int16", "datatype": "int16", "type": "inputregister", "address": 1, "writable": false, "value_multiplier": 0.1, "units": "°C" }

return 33 ºC why ? I convert the value to 33.3 but in the display is an integer value and ignore the decimal part...  I dont have any "float" with 1 byte.. to show the correct value.. 

If I try to multiply with 10, I get 3330 ... but this is not a 2Bytes value to convert to 9.0001..

any solution ?
Reply


Messages In This Thread
Modbus - by joaodaniel.pereira - 18.07.2024, 16:42
RE: Modbus - by Daniel - 18.07.2024, 16:55
RE: Modbus - by joaodaniel.pereira - 19.07.2024, 10:09
RE: Modbus - by admin - 19.07.2024, 10:14
RE: Modbus - by joaodaniel.pereira - 19.07.2024, 16:30

Forum Jump: