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
#3
(04.10.2024, 15:59)Daniel Wrote: see this
https://forum.logicmachine.net/showthrea...29#pid6729

Hi Admin and thanks for your answer.

My LogicMachine knowledge is not so pro to let me know how go on with this issue. Can you halp me a little bit more?

Code:
{
        "name": "Alarm Status - bit 0 - Error flow temperature",
        "bus_datatype": "bool",
        "datatype": "uint16",
        "type": "register",
        "address": 119,
        "value_bitmask" : what can I use for reading bit0?
        "value_custom": {"01": "OK", "1": "Alarm"}
      },
{
        "name": "Alarm Status - bit 1 - Error return temperature",
        "bus_datatype": "bool",
        "datatype": "uint16",
        "type": "register",
        "address": 119,
        "value_bitmask" : what can I use for reading bit1?
        "value_custom": {"01": "OK", "1": "Alarm"}
      },

Please consider to help me.
Reply


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

Forum Jump: