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.

KNX to Modbus TCP/IP
#2
Start by reading raw register data by using int16 datatype (2 byte signed integer). Keep in mind that you need to delete device entry and create new one after uploading updated profile.

If values are correct (temperature values will be x100) then profile can be modified to add value conversion using float data type. In any case do not change datatype fields, only bus_datatype.

Code:
{
  "manufacturer": "Trox",
  "description": "Test",
  "mapping": [
    {
      "name": "Ertemp Zone 1",
      "bus_datatype": "int16",
      "type": "register",
      "address": 1009,
      "datatype": "int16",
      "writable": false
    },
    {
      "name": "CO2",
      "bus_datatype": "int16",
      "type": "register",
      "address": 1012,
      "datatype": "int16",
      "writable": false
    },
    {
      "name": "Setpoint",
      "bus_datatype": "int16",
      "type": "register",
      "address": 1014,
      "datatype": "int16",
      "writable": true
    }
  ]
}
Reply


Messages In This Thread
KNX to Modbus TCP/IP - by Rune - 19.02.2019, 13:54
RE: KNX to Modbus TCP/IP - by admin - 20.02.2019, 07:34
RE: KNX to Modbus TCP/IP - by Rune - 20.02.2019, 14:38

Forum Jump: