How can one create a PI tag to fetch maximum of a tag?
You may use PE or AF analysis to get tag maximum. TagMax function gives correct result if point configuration step value is set to "1" else it will give interpolated value.
I intend to fetch the maximum of the tag in the last 24 hrs..what will be the function for the PE..TagMax()
TagMax PE : TagMax('TagName', '*-1d','*')
TagMax(tagname, starttime, endtime [, pctgood])
Reference : PI Server
One small very subtle distinction needs to be made. There is a difference between "*-1d" and "*-24h". A 24-hour offset is precisely that. But a 1-day offset is subject to DST transitions, so it is possible that one day in Spring is a 23-hour day, and one day in Fall is a 25-hour day.
Hello Rick & Babu,
How can I create a Totalizer that fetch the Max of a PI tag between 6 AM yesterday and 6 AM Today?.
Retrieving data ...