Ive created a Performance equation with the formula "TimeEq('TAGA','*-1d','*',1) to count how long Tag A is a "1". I understand the counter is in seconds, however after 20 minutes exactly it resets. How do I fix it? It stops counting with the condition is no longer a "1" which is correct. I have set under scheduling "Clock Schedule" Scan Class set to 1.

Thanks in a advanced!

When you say that it resets after 20 minutes, you mean after the PE has been running for 20 minutes, the value of your PE goes to 0 and stops updating or do you mean that when the value (result) of the PE reaches 20 minutes (1200) it resets to 0?