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.

read failed: Illegal data address
#5
Thanks!

I have problems reading and writing to bool-registers that in the documentation have stated "Length # register" = 2.
Does this have anything to do with why I'm not able to read out from theese?

Read:
{ "name": "Online state", "bus_datatype": "bool","type": "register", "address": 0, "bus_address": "6/0/0", "value_bitmask": "0x0002" },
{ "name": "On battery state", "bus_datatype": "bool","type": "register", "address": 0, "bus_address": "6/0/1", "value_bitmask": "0x0004" },
{ "name": "Bypass state", "bus_datatype": "bool","type": "register", "address": 0, "bus_address": "6/0/2", "value_bitmask": "0x0008" },

Write:
{ "name": "Output into bypass", "bus_datatype": "bool","type": "register", "address": 1536, "bus_address": "6/1/0", "value_bitmask": "0x0010" },
{ "name": "Output out of bypass", "bus_datatype": "bool","type": "register", "address": 1536, "bus_address": "6/1/1", "value_bitmask": "0x0020" },
Reply


Messages In This Thread
read failed: Illegal data address - by sx3 - 08.05.2018, 19:41
RE: read failed: Illegal data address - by sx3 - 09.05.2018, 22:34

Forum Jump: