02.07.2020, 08:10
Hi,
I am writing Modbus Mapping for Komfovent C6 Modbus generation communication.
How correctly write .json Modbus register description of not of all parameters writable:
5 Current mode R/W unsigned char 0-10
READ ONLY:
Stanby = 0,
Away = 1,
Normal = 2,
Intensive = 3,
Boost = 4,
Kitchen = 5,
Fireplace = 6,
Override = 7,
Holiday = 8,
Air quality = 9,
Off = 10
WRITE ONLY:
Away = 1,
Normal = 2,
Intensive = 3,
Boost = 4
I did that way, but in that case all off parameters are writable... :
{
"name": "Current Mode",
"bus_datatype": "uint8",
"datatype": "uint16",
"type": "register",
"address": 5,
"writable": 1,
"value_custom": {
"0": "StandBy",
"1": "Away",
"2": "Normal",
"3": "Intensive",
"4": "Boost",
"5": "Kitchen",
"6": "Fireplace",
"7": "Override",
"8": "Holiday",
"9": "Air Quality",
"10": "Off"
}
},
I am writing Modbus Mapping for Komfovent C6 Modbus generation communication.
How correctly write .json Modbus register description of not of all parameters writable:
5 Current mode R/W unsigned char 0-10
READ ONLY:
Stanby = 0,
Away = 1,
Normal = 2,
Intensive = 3,
Boost = 4,
Kitchen = 5,
Fireplace = 6,
Override = 7,
Holiday = 8,
Air quality = 9,
Off = 10
WRITE ONLY:
Away = 1,
Normal = 2,
Intensive = 3,
Boost = 4
I did that way, but in that case all off parameters are writable... :
{
"name": "Current Mode",
"bus_datatype": "uint8",
"datatype": "uint16",
"type": "register",
"address": 5,
"writable": 1,
"value_custom": {
"0": "StandBy",
"1": "Away",
"2": "Normal",
"3": "Intensive",
"4": "Boost",
"5": "Kitchen",
"6": "Fireplace",
"7": "Override",
"8": "Holiday",
"9": "Air Quality",
"10": "Off"
}
},