how to configure interface scan class to be every hour on minute 59 ?
That would be:
The former is the frequency of your scan and the latter is offset!
i have tried to schedule performance equation but still getting PT created as attached although if i tried to make the frequency 1 sec i get values , and actually
this im looking for , to schedule the performance equation to be executed on the last minute of every hour so with frequency 5 second or even 1 second so at the end i can get multiple value on last minute so can can fetch the highest one
i hope it clear and hope to get a support
The test tags, which has pointsource of C, are probably not related to the shown interface. The scan class will also differ according to interface type.
The pointsource of C is usually reserved for PE scheduler. Do you have PI PE scheduler listed in PI-ICU dropdown?
Also Do you have other tags with PS=C updates its values? If all PS=C tags are stopped, then I would actually check windows service in PI Server node (PI Performance Equation Scheduler).
no i don't have PI PE scheduler ... working on the default "i didn't create " not much aware of this
yes i have multiple PE tags with PS=C with clock scheduling scan class 1 and all are working fine.
as i expect scan class coming from the ICU scan class where 1 i set 60
It is probably just not loaded to PI-ICU yet. You can load it to PI-ICU by adding interface by .BAT file.
The bat file for PI PE Scheduler is located under PI\Bin\pipeschd.bat file.
Here you can add the scan class if the scan class 8 is missing.
If what you want is a performance equation to get the highest value of the run hours tag during the last minute of the hour, then you could use the TagMax function in your performance equation.
TagMax(tagname, starttime, endtime [,pctgood])
TagMax('TAM0H_HMIcRSLinxEnterprise.DCP1.CHILLER11.COMP1_RUNNING_HRS', '-1M', '*')
Schedule the PE to run on the hour and it will return the max value of the runhours tag during the previous minute.
The runhours tag needs to have a 5 or 1 second scanrate as you prefer.
hi thx kevin
i have no issue to get the maximum of the tags , what im looking for to make PE tags scan rate(schedule) every hour
As Jinmo Yi says, open the PI ICU and add new interface from BAT file
Browse to the PI\bin folder and find the pipeschd.bat file
Add the new scan class
Then edit the Location4 attribute of your performance equations to have the number of the new scan class.
Then restart the pipesched interface.
it worked ...thank you guys
now if i want to get multiple snapshot in 59 min let say every 5 second , i can set the scan 00:00:05,00:59:00 this will work?
No, that will give you a scan every 5 seconds starting at 1 minute to the hour, but it will continue scanning every 5 seconds after that.
I don't think that it is possible for a tag to be on scan every 5 seconds just for 1 specified minute in an hour.
Can i make scan to be in the beginning of every hour hh:00:00 and at the end of it hh:59:59..?
Retrieving data ...