YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Multistate symbol color with various products Options · View
tuboxg
#1 Posted : Monday, March 29, 2010 9:50:58 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2010
Posts: 2
Location: usa
I would appreciate any advice as to how to handle the following:
In PB 3.2, is there a method by which a multistate symbol can be setup to where it will change colors based on different products and different limits (i.e. Day 1--Tank A with product X and temperature limits of 40--60 and then Day 2--Tank A with product Y and temperature limits of 10--20). I don't have any problem with setting up PI calcs or PE equations. I tried an ODBC route but didn't get the result I wanted. I looked through the threads and didn't run across ones that address this type of setup. Any advice is appreciated. Thanks.
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
RJK Solutions
#2 Posted : Tuesday, March 30, 2010 10:42:57 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 612
Location: Cheshire, United Kingdom.
Hi Tuboxg,

Welcome to the forum.

Great question this, been frowning at my screen thinking about it BigGrin
From what I know there is no direct way of doing this, instead you need an indirect step where the parsing of products/limits happens and feeds the result to a PI tag/dataset.

If you take one product in the tank, say product x with 40--60 limit, would you want to have three states for the multistate? e.g. [zero]--40 no alarm, 40--60 alarm, 60+ no alarm where alarm = flashing red? Then for each other product the limits change?

If so, then in the past I have worked on something similar and what we did could be translated in to what you want as:

Using PI Points (or AFElements/AFAttribtues in AF):
- "TankA.Product" = product name
- "TankA.LowLimit" = PE based on product e.g. if 'TankA.Product' = "ProductX" then 40 else (if 'TankA.Product' = "ProductY" then 50 else 0) Alternatively, manual entry, PI ACE calculation, custom app etc
- "TankA.HighLimit" = same method as LowLimit
- "TankA.Quality" = Result of product test
- "TankA.QualityStatus" = PE based on quality result for product against the LowLimit & HighLimit values. Digital tag, "In Alarm", "Normal" etc

Then just multistate the Tank in ProcessBook based on the QualityStatus PI Point.

It will depend on your processes in place for updating the products, defining limits, when you get quality results in etc

Hope this helps.
Principal Consultant
Real-Time Data Management @ Wipro Technologies
tuboxg
#3 Posted : Wednesday, April 07, 2010 1:54:47 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2010
Posts: 2
Location: usa
Thanks for the support. I have been on vacation and will try out the solution this week and report back on results.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.