This video is one of
several videos on the new event frame generator.
It will lead you through the necessary steps
for the setting up of the PI data
for the tutorial. First open the
interface utility. Navigate
to the PI Bin
directory and open the PISched.bat
file. This will load the interface that
we need. We will now add
some additional scanning frequencies needed
for the tutorial.
In my case, I only have one scan
frequency, I'm willing to add two others.
So I will add a
two minute. I will
add a 30 second and also a 1 second scan
frequency. Make sure that yours
looks the same as mine after this.
Go ahead and save and you will
notice that every time you save, you have to restart
the interface. So we will go ahead and
do that.
So now it is
restarting. Once it is restarted we can shut down the
interface utility and the interface will still be
running. The next thing to do is setup digital
states needed for some of the PI
tags. So open your system
management tools, go to the PI
points and digital states. And we
will add a digital state
set called EFGenSimPhases.
And make sure
you spell
this correctly
and also all the states correctly.
So we'll have inactive.
Material,
add 1 and so on.
When you finish, your states
should be setup the same way and the same
spelling as you see here. This is
necessary and important because
the tutorial will
need this additional state
and this information.
So one more.
OK, now that we
are done, go ahead and save.
Now you can exit
system management tools. Next thing to
do is load the PI tags
needed. So we will navigate to the
directory where the PI tag XLS
file is and that is under the
interfaces. And then EFGen and you will
notice that there is an XLS file called PIEFGenSimTagConfig
Click that and open that in Excel.
It opens and you can see a bunch of
tags for you. All we need
to do now is export them to the PI
system. So go to the add-ins, PI
SMT, export PI tags. Make
sure the mode is in create and press
OK. If everything worked
well, you will see that 90 tags are created. You can
now shut down Excel. Next
thing to do is to validate that the tags
are getting values. So go to the system management
tools, and go ahead and
see if you
are getting current values.
So go to data, current
values. Search for
all tags starting with RE.
You can see there are a bunch of tags that
were created. Select them
all. You'll notice that PI
point has been created. Now we'll need to wait a little
while depending on your system,
it could take 10 - 50
seconds before this updates. So we will wait
here until this updates by pressing the
recalibrate or
refresh.
So after a little while when you
press refresh, you will notice that all the values
are now coming in.
And so let's give it a
minute. OK, here we go. Now all of the
values are coming in. So everything is working
well. So the last step now is to create the
AF structure to import the templates and the elements
needed for the tutorial. So go to the
system and then find PI System
Explorer. Open it up and we will now go
ahead and create a new AF database.
So the system explorer
opens up, click on database.
And then new database.
And we will create a new database
called PIEFGenSim.
Now click that and press OK
to open it up. Now we will import
an XML file that is already pretty fine for
you. So import.
Navigate to the interfaces
EGen directory.
And then select the file
is PIEFGenSimPIAFImport.
Leave the defaults
and press OK. You may
get an error like this because your units of measure
may already have some existing ones. If that is the
case, you can ignore that and keep going. You
may not get that error if your units of measure do not include
some of the ones that are saved with the
XML file. Press OK.
So now we will just verify that everything has
worked correctly. So we'll go to the
library. Open up the event frame
templates. Make sure that you create
now the view. Arrange by the
reference.
And you will see that some of the templates
are referenced to each other. So you can
see the tree of the event frame templates.
The last thing to do is check the elements and
see if they are getting data. So we will open the tree up
and go down to the reactives. And then click on the
reactives, click the attributes. And then
see if you are getting data.
And just check the other reactors.
This concludes this setup for the
PI data. The next video will go
ahead and show how to go ahead
and configure the system.