Hi All,
I need a bit of help. I've been asked to create a way of working out how many times a temperature has cycled from 100 to 800 DegC. The cycles can be of varying durations, and must be counted only when the temperature started at 100 degC and then reached 800DegC. If the temperature starts at 100 then sits at 500, goes back to 250, then rises to 800, then this is 1 cycle. Make sense?
I've tried to look at using excel to return when the value was >= 800 and the previous value wasn't, but this doesn't take account of the value reaching 800, dropping to 700, then going back to 800. That is not 2 cycles, only 1 cycle. The temperature must drop to 100 for the cycle to be counted.
Anyone got any bright ideas how I could do this (Without trawling through PI trends!)?
Thanks
Col