Logic Machine Forum
Modbus Illegal Data Value - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Modbus Illegal Data Value (/showthread.php?tid=4250)



Modbus Illegal Data Value - Ian@GWTi - 20.09.2022

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


RE: Modbus Illegal Data Value - Daniel - 20.09.2022

Add "write_bitmask": true,