22.10.2021, 09:54
You have to add these fields, "writable": true must still be in the entry.
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.
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"
}
}