We are trying to define a way to archive the total time (accumulative) that and equipment item has been running. For example, if i have a tag for a state (running/stopped) of a pump and it has the following values:
TAG VALUE | TIMESTAMP
-----------------------------------
RUNNING | 08/26/2014 12:00:00
STOPPED | 08/26/2014 12:25:00
RUNNING | 08/26/2014 12:50:00
STOPPED | 08/26/2014 13:25:00
RUNNING | 08/26/2014 13:40:00
STOPPED | 08/26/2014 14:10:00
then the totalizer should be 1.5hr
the result should keep updating as time goes on as long as the source tag exists. can we use a totalizer or should a PE provide the solution?