Hi,
I'm trying to integrate 5 Modbus VAVs into the LM5.
So, the first thing I tried to read the Modbus registers in the LM5 and I can read all of them, change the values in the VAV and go back to the LM5 and the values change, so far so good.
After that, I wrote the JSON file and imported it into the LM5 and mapped the objects, here none of the objects update their value all of them have Zeros
In the attachment you can see the manual of the VAV
I'm trying to integrate 5 Modbus VAVs into the LM5.
So, the first thing I tried to read the Modbus registers in the LM5 and I can read all of them, change the values in the VAV and go back to the LM5 and the values change, so far so good.
After that, I wrote the JSON file and imported it into the LM5 and mapped the objects, here none of the objects update their value all of them have Zeros
In the attachment you can see the manual of the VAV
Code:
{
"manufacturer":"Swegon",
"description":"VAV",
"mapping": [
{ "name": "Min relative value",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 105,
"writable": 1},
{ "name": "Max relative value",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 106,
"writable": 1},
{ "name": "Min. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 120,
"writable": 1},
{ "name": "Max. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 121,
"writable": 1},
{ "name": "Max. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 121,
"writable": 1},
{ "name": "Absolute Flow",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 7,
"writable": 0},
{ "name": "Unit",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 201,
"value_custom": { "0": "l/s", "1": "m³/h]", "2": "Pa"},
"writable": 1}
]
}
(06.09.2022, 09:52)Fahd Wrote: Hi,Error log
I'm trying to integrate 5 Modbus VAVs into the LM5.
So, the first thing I tried to read the Modbus registers in the LM5 and I can read all of them, change the values in the VAV and go back to the LM5 and the values change, so far so good.
After that, I wrote the JSON file and imported it into the LM5 and mapped the objects, here none of the objects update their value all of them have Zeros
In the attachment you can see the manual of the VAV
Code:{
"manufacturer":"Swegon",
"description":"VAV",
"mapping": [
{ "name": "Min relative value",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 105,
"writable": 1},
{ "name": "Max relative value",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 106,
"writable": 1},
{ "name": "Min. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 120,
"writable": 1},
{ "name": "Max. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 121,
"writable": 1},
{ "name": "Max. absolute value",
"bus_datatype": "scale",
"type": "inputregister",
"address": 121,
"writable": 1},
{ "name": "Absolute Flow",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 7,
"writable": 0},
{ "name": "Unit",
"bus_datatype": "uint16",
"type": "inputregister",
"address": 201,
"value_custom": { "0": "l/s", "1": "m³/h]", "2": "Pa"},
"writable": 1}
]
}