Posts: 148
Threads: 38
Joined: Sep 2016
Reputation:
1
23.11.2016, 07:33
Hi,
is there a way to set an address group to 1 if there is an error with the modbus communication?
I use the RTU Modbus communication with profiles.
Thanks
Posts: 7764
Threads: 42
Joined: Jun 2015
Reputation:
447
We have plans to add a status object, but it will work the other way round: 0 = missing, 1 = present/ok. As a work-around you can try monitoring one of the mapped objects last update time to check for failed communication. But this might not work if register value is not changing very often.
Posts: 148
Threads: 38
Joined: Sep 2016
Reputation:
1
Thanks!
How can I check the last update time of an object with script or javascript?
Posts: 7764
Threads: 42
Joined: Jun 2015
Reputation:
447
Maybe for the next major version, not sure at the moment