I would like to Calculate the total Downtime of a piece of Equipment daily and store in a PI Tag. My thoughts were to create an Event Frame to calculate when the event occurs and store the duration of that event in a PI Tag. I would like to then add up the total duration for a given day and store into a PI Tag for that Equipment. Is this possible? Is there another way to accomplish this? I would like to have the events logged, but need a daily downtime to be loaded into another system.