AnsweredAssumed Answered

What calculation do I use? This is to use in PI Calculation Data for a tag value at a certain time.

Question asked by Swannie on Aug 12, 2019

What calculation do I use for a tag value in PI processbook at a certain time?

I asked this question yesterday and figured it out. For those who can use it, this is how:

This is to use in PI Calculation Data.

For a tag value at 07h00 today:   tagval('046_LY1821_CPV','t+7h')

                        The “t” is for 00:00:00 today

For a tag value at 07h00 yesterday:   tagval('046_LY1821_CPV','y+7h')

                        The “y” is for 00:00:00 yesterday

For a value between yesterday 07h00 and today 07h00:  tagval('046_LY1821_CPV','t+7h')-tagval('046_LY1821_CPV','y+7h')

 

Outcomes