25.08.2021, 04:32
(24.08.2021, 05:34)admin Wrote: Create new object with the same datatype and map the Modbus register to this object. Then add an event script to this object that will check if the value is big enough and will update the original object if it is. Change 1/1/1 to the group address that is mapped to the trend log.
Code:value = event.getvalue()
if value >= 5 then
grp.checkupdate('1/1/1', value)
end
Trend logs cannot be edited.
Thanks for the reply!