Logging Duration of Value Change
Hi. Can't get my head around one thing.
I am using MFG Apps for Planned/Unplanned downtime mashup based on the equipment status id coming from PLC.
While the control advisor mashup has expressions for distinction between planned and unplanned downtime it has no means for drilling down into particular reasons within planned downtime reasons for example.
I am logging equipment status flag integer into a stream and it displays it in a grid with a timestamp.
But I want to create another column with the duration of the particular downtime cause. How would I do that? If I have only the start time. So I assume the trigger event would be the next status change and its time stamp would determine the duration? Or should I use Alert services for that?
My final goal is to have a pie chart of the unplanned downtime reason hours. Honestly Mfg Apps should have it along with multiple shift setup. Is there an indication when it will be added? Thanks

