OT: Archestra IDE 2.1 Script Execution

RheinhardtP

Lifetime Supporting Member + Moderator
Join Date
Oct 2004
Location
Perth
Posts
562
Hi All,

Our Platform is Archestra IDE 2.1 SP1

I want to do a calculation on script execution times.We have alot of script running continuesly, indsead of on Datachage which i believe is the correct way to go and want to present a calculation where i determine the total execution time.We have about 49 000 Tags that are being scanned and about 30 000 objects executing +-60 lines of scripting each.

Does anybody know what the clock times are on script line execution.I have looked in the Object Viewer but there are no times being displayed it is set to 0.But i know these scripts are being executed on every scan and i believe this is putting unnecesary delays to my overall scan performance.

This is our current configuration.

Exspression : me.Scanstate

Trigger : Always On

TriggerPeriod : 1s

Here is my proposed triggerconfiguration


Exspression : me.StatusWord

Trigger : DataChange


Any advice will be appreciated.

Rheinhardt
 
Last edited:
What about doing the 1s scan of the object and then within the script check to see if the data has changed from the last time the object was scanned. If so, continue, otherwise don't execute the 60+ lines of code.
 

Similar Topics

So I'm trying to enable history for a tag that is being used to display PPH on InTouch. I was able to locate the tagPath by finding the display...
Replies
2
Views
687
Hey! In my previous queries on how to handle an OPC server like RSLinx in the ArchestrA IDE galaxy, I have succeeded and the answer was to just...
Replies
0
Views
1,808
Hey there! I have a query regarding the configuration of the OPC data server in the ArchestrA Galaxy, I understand that when the data server does...
Replies
1
Views
1,800
Hey everyone! I'm having problems at deploying a data server on the application server created in ArchestrA. Well, I'm using an emulated PLC with...
Replies
2
Views
2,133
The application is not getting deployed after a power failure. After the power got restored, I tried to deploy an updated instance but the...
Replies
1
Views
4,031
Back
Top Bottom