Do you want the symbols in your PI Coresight display
to change color depending on your data conditions?
In this video I will show you how to do this
with multistate functionality.
We used this display to monitor
one of our chemical reactors. And something that's
really important for that reactor is to make
sure that the temperature doesn't go above
certain limits. Now it would be really
nice if I went to look at this
display and I could instantly know we were having a
problem or if we were close to having a problem if the
color would
change depending on how close we were to
having a temperature excursion. Let me show you
how we can set that up. What I want to do first is
I want to make sure that I am in design
mode by hitting modify display. And I can
tell I'm in design mode because of this orange
box that appears around my display.
So I want to configure this gauge for multistate.
So what I want to do is right click
and do add multistate.
And this is going to bring up the configuration
over here on the right. You can see
that the attribute that we are going to be triggering off
of is going to be our
reactor temperature. That makes sense because that's what the
gauge is for. Now looking down
here, this is where I can specify the different
states and what colors they should be.
You might be wondering where
some of these values come from. And the
top and bottom values are actually
can be based on the maximum
and minimum AF attribute limits. Or
if those are not specified,
the zero and span PI Point attributes.
However I can change any of these values to be
exactly what we want for this particular
gauge multistate. In my case I want to
have only 3 states. So I'll use the
X's and reduce this down here.
OK, so let's think about this.
If the temperature is
zero all the way up to 80,
that's fine. Normal operation
so I'm good with this
being green. Now what I'm thinking is it would
be nice if we are getting close to the temperature excursion
for this to change to an orange. And then
if we are having an excursion to be red.
Now I'll need to change this
to 90. So now if the
temperature is greater than
0 all the way up to 80,
it should be green. And if it's
greater than 80 all the way up to 90,
it will be orange. And if it's greater than 90
it's going to be red. So now that
I've got that setup exactly how we want,
I'm going to click back somewhere on my display.
OK, so right now I
can see that the temperature is about
20 degrees and so it's green.
Now let me scroll back in time and make sure we get the other
behaviors that we just setup too.
So let's shorten the time interval a little bit.
OK.
Now let's take a look at the last time we had a temperature excursion.
So it looks like
right here.
OK, so in this case our gauge would've made it
very clear that there was a problem by turning red. Now let's
check out right before when we were starting to get close.
Perfect. It would've shown orange
to let us know that we were getting close to having an issue.
OK. So this
looks pretty good. Now
is this the only symbol that I can add a multistate
functionality to, this gauge? No.
I can add multistate behavior to
values as well as shapes
and images and text. And let's actually
do the multistate behavior for a shape because I might
want something that looks more like an indicator light.
So let's add a
circle.
And let me add this on top of my image.
Now to add the multistate behavior,
same process, we're going to right
click and do configure multi state.
Now the steps will all be the same except for
the very beginning I'll actually need to drag and drop
a data item that's going to
be the attribute to associate with the
different states. And that makes sense because the
gauge already had an attribute for it, the
temperature. But a shape doesn't have an attribute associated with
it. So we'll go ahead and add one here.
I want this to be for
the reactor temperature. So I'm going to select
this and then drag it over.
OK, I'm going to make the same configuration as
I did for the gauge.
OK, so perfect.
Now it's very easy for me to
tell where we are with our temperature.
And scrolling back in time and forward, I'll be
able to instantly know how close we
are to having a problem.
But it looks like we are doing just fine right now.
I have this really
great display for Reactor300
here. But there is a lot of other reactors
that I monitor. So let me show you
how I can easily swap assets and
change this display to easily monitor
my other reactors. We'll do that in the next video.