Hello!
I'm new to PI and have been experimenting with PEs to determine local min/max's.
I have tag which operates mostly consistently but occationally drops down (sometimes sharply, sometimes not) before going back to normal.
In 'calculated data' there is a range function. Effectively I want to know the anytime the range is greater than some number x. And then I want to know the min and the max for the time frame determined by that range.
So the issue I'm having is that I need PI to tell me when (start and end time) one of these cycles is happening.
I have tried using limits (abs((PrevVal('TAG','*')-NextVal('TAG','*')) > 200) but this doesn't necessarily define a range in fact, I get multiple instances where this is true for one cycle. So it cuts the digging down but it is still not exactly the output that I want.
Many thanks for your responses!
K.