12.09.2022, 12:08
You can use grp.find() to get updatetime field value of an object and compare it with current time (os.time()). For this to work correctly you need to have separate control/status objects. The write to Modbus script can also update status object right after writing.