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.

I can't write on Modbus
#9
You have to add these fields, "writable": true must still be in the entry.
Code:
{
  "name": "Demande User",
  "bus_datatype": "uint16",
  "type": "register",
  "address": 257,
  "writable": true,
  "datatype": "uint16",
  "write_multiple": true,
  "value_custom": {
    "0": "holiday",
    "1": "daily",
    "2": "cooking",
    "3": "guest"
  }
}
Modbus has two different functions for writing single and multiple registers. Some devices support only the multiple write function. If write_multiple is enabled then LM will use multiple write function when writing to a single register.
Reply


Messages In This Thread
I can't write on Modbus - by gdimaria - 20.10.2021, 18:10
RE: I can't write on Modbus - by admin - 21.10.2021, 07:08
RE: I can't write on Modbus - by gdimaria - 21.10.2021, 09:00
RE: I can't write on Modbus - by admin - 22.10.2021, 07:42
RE: I can't write on Modbus - by gdimaria - 22.10.2021, 08:19
RE: I can't write on Modbus - by admin - 22.10.2021, 08:23
RE: I can't write on Modbus - by admin - 22.10.2021, 09:22
RE: I can't write on Modbus - by gdimaria - 22.10.2021, 09:39
RE: I can't write on Modbus - by admin - 22.10.2021, 09:54

Forum Jump: