This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Reject false values from trends log
#2
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.
Reply


Messages In This Thread
RE: Reject false values from trends log - by admin - 24.08.2021, 05:34

Forum Jump: