This video is one of several videos on the new event
frame generator. It will lead you through the
necessary steps for configuring events
for the event frame generator tutorial.
First we'll open up the
PI event frame interface
manager.
First thing to do is
add an interface.
The service ID is important and also
to find the interface. So click on the search
and navigate to the PIPC
Interfaces EFGen
and then select PIEFGen.exe
The next step is to do
the file selection. There are two files,
the .INI file and .XML file which I use for the configuration information.
Navigate
to the PI interfaces EFGen
directory. And take the PIEFGenSim.ini
file. This
has pre-determined settings
for the tutorial. When you open
it, because there are some things which are
hard coded like the PI server and the
AF server, the system is trying to
connect to those. So be patient, this
takes maybe 10 - 20
seconds or so. And it will come back and it will
tell us that it cannot connect and find the
AF database.
So it has come back and told us
that the AF server has not been specified or is
valid. So now we will correct that by going to the
server information tag and we'll select
the PI server and the AF database. So go ahead
and select your PI server. And then
go and do a search for the AF server settings.
In my case I will
connect to my AF database and then
find the database called
PIEFGenSim.
Go to the operational
settings and interface ID, change it to
1. We will see the importance of
this in the next video.
Now go to the event frame
structure -- also make sure that you
have realtime
set in your operational settings.
Over here you can see pre-configured events that are being
set up. You have a name for the
actual event, then you
have a template -- this is from the event frame template
that you've created. So in this
case, this has been pre-decided for you in the tutorial.
The next part is the
active points, so this is the PI tag that will look
at digital or a string change.
And look at using a behavior, either pause or step.
You can find more information about this in the
manual. Then you have the event frame
name. You can use the active point value, the static
name, or in this case we will use the value of the PI
point itself. In addition
to the template, you can go ahead and
add additional attributes for this
event which are outside of the event frame template.
The last part
is to go to the settings and you can
add things like recovery time and evaluation
delay of the settings. This part here is the
element reference. In this case,
you can see for tutorial it is
hard coded to the pre-set
values. You will need to go ahead and change
this for your systems. So we'll do an AF search
and search for RE100
and select it.
Go ahead now and
delete the original one. And we
will have to make these corrections to the rest of the
events. So a good trick is to
click there and then do a control A
and control C
and start copying and pasting.
Now we get into the reactor200, so make sure
when you paste it you change the element
from 100 to 200.
Next to the reactor300.
And also for
factory too. So make sure that you change
those when you paste. So make it 300 and
factory2 is the [inaudible]
OK, almost done.
Now we'll do the reactor400 now.
And the
[inaudible]. Now we'll go ahead and
do the batch procedures.
And the second one is for
reactor300 for factory2.
So make sure that you change the factory1 to factory2.
And 300.
This last one is for reactor400.
OK, just a few more to do now for the
factory. Now we are going to set that. This is a
different element. Go into search and look for
factory.
And select factory1.
And so the same procedures as
before -- delete this one, highlight this,
control A, Control copy. And then
change the settings for the time hour and the
time peak time.
Remember this is now factory2
so make sure you change when you paste, change
it back to factory2. And the last two
sub elements or sub events, go ahead and
change right there.
OK, so now we have successfully modified
all of the events that were created. Go ahead and make sure
you save. This will change the
settings that you've just put and saved them into the .INI
and .XML files.
Now in the service configuration, we'll need to go ahead and
create a service. And then to start the interface.
So the first thing to do is start the service.
And we create the service and
this will go ahead and register it and
then start the service. Now the interface
is running. And remember that we
had
the recovery set
for a day back. So when we go to the PI system explorer
and search for the events, we should now start seeing
events being generated as the recovery process is going
on. So the PI system explorer,
make sure that you are in the PIEFGenSim
database. Go to the event frames, click on one of the
searches, and as you'll
see, we are now getting data for the
system. So these are the covered event frames that
we just generated for the tutorial.