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 Illegal Data Value
#1
Hi,

I have an error in modbus. (write failed: Illegal Data Value) when writing to the register.  Reading works fine.

  {
      "name": "Machine On/Off",
      "address": 1280,
      "bus_datatype": "bool",
      "datatype": "uint16",
      "type": "register",
      "writable": true,
      "value_bitmask": "0x8"
    },

Any ideas would be apricated.

Thanks

Attached Files Thumbnail(s)
           
Reply
#2
Add "write_bitmask": true,
------------------------------
Ctrl+F5
Reply


Forum Jump: