AnsweredAssumed Answered

How to calculate operating hours for a pump?

Question asked by twilden on Nov 17, 2020
Latest reply on Nov 17, 2020 by ChristophRose



I would like to add up the operating hours for a pump in a plant. The status of the pump (whether it is on or off) is stored as an attribute in AF.
During my previous attempts with the function "TimeEq('on off', 'start Time','*', "on") / 3600" I got the problem that the operating time of the pump is only added up step by step. So updating the value from the AF seems to happen only once a day.
Can I proceed in such a way that I overwrite my last calculated value with the following one?
i think this would save the effort of calculating from the start date each time.


If i should be completely wrong with my current approach, do you have a suggestion how i can calculate the operating hours correctly?


Thanks for your help and tips