11.02.2025, 11:37
Hello,
I have a problem. I updated genohm-scada-modbus package version 20230404 to 20240621 and FW version 20230607 to 20240426. Now I run a write command and I get this error: "Write failed: Illegal data value". The only change in Modbus profile is to add write_delay:1 in the file header. I also tried package 20231213 and I have the same error. The error doesn't always occur, ometimes write correctly. It is possible to know which mapping element triggers the error?
I have a problem. I updated genohm-scada-modbus package version 20230404 to 20240621 and FW version 20230607 to 20240426. Now I run a write command and I get this error: "Write failed: Illegal data value". The only change in Modbus profile is to add write_delay:1 in the file header. I also tried package 20231213 and I have the same error. The error doesn't always occur, ometimes write correctly. It is possible to know which mapping element triggers the error?
Code:
{
"manufacturer": "TEST",
"description": "Modbus",
"timeout": 5,
"read_swap": "n",
"write_delay":1,
"mapping": [
{"name": "Allow Heating_[R/W]",
"bus_datatype": "bool",
"type": "register",
"datatype": "uint16",
"address": 47371,
"writable": 1,
"write_multiple": 1,
"read_count": 1,
"value_delta": 1,
"value_multiplier": 1,
"value_custom": {
"0": "Off",
"1": "On"
}
},
{"name": "Allow Cooling_[R/W]",
"bus_datatype": "bool",
"type": "register",
"datatype": "uint16",
"address": 47372,
"writable": 1,
"write_multiple": 1,
"read_count": 1,
"value_delta": 1,
"value_multiplier": 1,
"value_custom": {
"0": "Off",
"1": "On"
}
}
]}