![]() |
|
Swegon Modbus VAV - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Swegon Modbus VAV (/showthread.php?tid=4219) |
Swegon Modbus VAV - Fahd - 06.09.2022 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 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 RE: Swegon Modbus VAV - admin - 06.09.2022 Change all types to "register" and create the device again after uploading new profile. RE: Swegon Modbus VAV - Fahd - 06.09.2022 (06.09.2022, 09:56)admin Wrote: Change all types to "register" and create the device again after uploading new profile. The best support in the world , thanks a lot |