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.

HELP! How to read this kind of register
#4
Use this. I've also fixed incorrect value_custom (should be "0" instead of "01").
Code:
{
  "name": "Alarm Status - bit 0 - Error flow temperature",
  "bus_datatype": "bool",
  "datatype": "uint16",
  "type": "register",
  "address": 119,
  "value_bitmask": 0x01,
  "value_custom": {"0": "OK", "1": "Alarm"}
},
{
  "name": "Alarm Status - bit 1 - Error return temperature",
  "bus_datatype": "bool",
  "datatype": "uint16",
  "type": "register",
  "address": 119,
  "value_bitmask": 0x02,
  "value_custom": {"0": "OK", "1": "Alarm"}
},
Reply


Messages In This Thread
RE: HELP! How to read this kind of register - by admin - 07.10.2024, 08:20

Forum Jump: