Welcome to another Learning Lab.
Today we are going to learn how to create
a ProcessBook Display. We are
going to see the differences between the Run mode
and the Build mode. We are going to build Trends.
We are going to go over the
Options of Trends. We are going to add
static elements to our display, and
learn how to enhance the display with live
Elements such as the value of a PI Tag,
a progress bar and a multi-state object.
And we are also going to learn
how to manipulate a Trend Display.
So, let's go to
ProcessBook. I have ProcessBook 3.2
open. If we go to
File and New, we can select a New
ProcessBook Display that I am going
to name
ProcessBook Batch
Reactor. Click OK,
and we can
maximize our work area.
If we go
to a Range, we can click on
a Snap To Grid and it will give us a
friendly work environment.
Also, notice the difference between the Run Mode
and the Build Mode. Right now, we
are in Build Mode so we can create our ProcessBook
Display. To collect and display
data, we want to switch to the Run Mode.
If we go to
Tools, Preferences -- if the
Prefer Run Mode box is
checked, that will
cause Processbook to
switch back to Run Mode every time we
complete an action. So, if you are having that
problem, make sure that you have -- you come to
this screen and uncheck the Prefer Run Mode
which will allow you to stay in Build Mode
until you finish your work.
Now we are ready to add some Elements
to our display. I am going to click on the
Symbol Library and
drag a rectangle that
will bring up the pop-up window where I can
select my Elements. And here
I am going to go to the
Tanks Section
and I am going to select
Reactor #4.
And here you can click
Options to change the color
of the Fill Mode if you want
a solid tank, hollow, and so forth.
I am going to
keep the, the
default settings, but
I am going to resize my tank,
make it look a little bit nicer.
Okay. And I am going, also, to add
some pipes by clicking again on the
Symbol Library. I want to
create
an Outlet Pipe.
Let me see.
Short horizontal pipe will,
will work. Click OK.
And I am going to create an Inlet
Pipe.
Let's click on the Symbol Library again,
and place it here.
And going down to the Pipe Section,
I am going to
select a short vertical pipe.
Click OK. And,
I am also going to add
an Isolation Valve.
So, going down to the Valve Section --
right, like this one,
the Hand Valve #2. Click OK.
Reposition that valve.
Resize it so that it looks nice.
And,
that's okay.
Now I am going to
make sure that each one of these Elements is in the right
position by clicking on Arrange and
bring it to front. That will place my tank
in front of all of the drawings.
So now that the tank is in front of the
other objects,
I am going to add now
some
text. And I can click on
the Text Icon and enter
a Stirred Tank.
And, why,
while the text is highlighted,
I can change the font, the size of the
font, and I am going to make it bold
and I am going to change
the color of the font to black.
So that looks nice.
I want now to
align the tank and the text,
and by selecting both of them --
oops -- by selecting
both the tank and the text, I can go
to Arrange, Align and
Center both
objects together. I am now ready
to add some Dynamic Elements,
and what I am going to do is add a value
of a tag right here
to the left of my tank by
doing a Tag Search. I am going
to select the Level1 and
I am going to include the Timestamp
at the bottom of the value.
I click OK. I
can reposition
my value,
change the text, and I can
also
highlight all of this and
move it together a bit to the right.
Now let me include
also some text
here. I am going to
say that this is the Level
Percent
for
my tank. So I have
a Dynamic Value now that represents the
Level in this tank, and I am going to
add some additional Dynamic Elements. I am going
to add a
bar here in the tank that will
indicate, or will provide a
visual indication of Level inside the tank,
and I am also going to add a
circle at the top and at the bottom
indicating that my tank
is either at the maximum or lowest
Level. So, let's go ahead and
add a circle
at the
top. And we can right click
and copy that and
place another one on the bottom, and these are
going to be small indications of
my upper and
lower Maximum Level.
Now, by clicking first on the top circle,
I can go ahead to my
Multi-State Symbol.
I am going to select the same
tag I selected before, Level1,
and what I want to do with this Multi-State
is for it to provide an indication
that, if the tank is below
90 percent
of the Level, then
the condition is
green. Otherwise, the condition will
be red, indicating a high Level in the tank.
I click OK, and I can do the same
for the bottom indication, selecting
Level1 as the tag. But, in this case,
if the Level
is below 10 percent,
then the condition will be red. If the level
is above
the 10 percent, then it will be green.
I click OK, and I can see an
indication that right now the Level is
in-between 10 and 90 percent.
I want to have a better indication of Level, so
I can go ahead and add
a bar which is another
Dynamic Element that will monitor,
also, the values
found in Level1.
And I can click OK.
And I can see now an indication of Level
inside the tank.
I am now ready to add a
graph to my ProcessBook Display
that will plot the Level for me
by searching for the Level1
Tag and naming
this plot
Batch Reactor
Level
and selecting the Autorange
Scale. I am going to start collecting data
eight hours ago until the current time
with a Full Timestamp. I click OK and I
have my graph on the ProcessBook Display.
I can now click on
the Run Mode and
the graph now is live and so is the
bar, and the indications for Upper and
Lower Maximum Levels.
I am, I am monitoring Level in this
tank with real-time data.
I can,
at this point, Save my ProcessBook
Display as a .pdi file,
and by clicking Save I can always go
back and open that file, and it will open
the same display
with the Elements monitoring my data,
real-time being displayed from the PI
Server. Some of the features that I
have here
in my graph -- by clicking on it or
actually double-clicking on the graph, it will expand
to cover the entire display.
I can select any area of the graph by
dragging a rectangle, and that will magnify
that portion that I want to
examine. I can
always revert back to
the original graph.
I can double-click on the graph again, and
it will return me back to my
Display.
On the Trend, I can maximize
it again. I can click on the Trend Cursor
and drag this cursor.
And on the upper right corner I can see the Values and
the Times for each one of these Points,
or this
line that I am trending.
I can click
on the Trend Axis and change the scale
to some absolute
number, let's say zero
and 200,
and I do not have to be in Build Mode
to
edit this Y Axis.
I hope you enjoy this Lab and
happy learning.