WinCC C script trigger by tag update

Quartz

Member
Join Date
Jan 2008
Location
Kaunas
Posts
23
Hi,
In WinCC (v7.0) i've created object. To one property assigned C script which is triggered by TAG when changed.
Is it possible choose different trigger TAG while in runtime using script?
 
Please Elaborate your Requirement

Its not Clear

Triggering of Sripts by TAG can be done in the Global Script

And through Graphics Designer it will be Triggered by User or by Dynamic TAG( For changing of the Object Properties)
 
Yes its in Graphics Designer. I have object (picture from symbol library). I have assigned C-Script to its attribute ForeColor (in dynamic column).

Script automatically chooses required tag to control ForeColor of my object. Script trigger is set now to every 1 second. I cannot set trigger by tag because it is unknown while designing. Only in runtime script chooses required tag.
So i want set script trigger when this tag updates, not every 1 second.


Sorry for my bad English
 
Yeah ive got your idea. It looks good. I'll try to do so.

But still i want to get answer to my question. Maybe it will be usefull next time.
 
Wincc C script trigger

Dear all,

I want to use a Menu command to start the Login dialog box.
In the Menus & toolbars configurator though, only VBS scripts are allowed.
My plan is to use a VBS script to toggle a bit internal variable, and that variable to trigger a C action so that the login box appears.

As I am not the most proficient user of Wincc, I dont know how to build a C action that is triggered by an internal variable and that is why I ask for your guidance.

BR Nik.
 

Similar Topics

Hello, I have a quick question. I have been using scripts to change the color of buttons. The reason, I am usually using multiple hmiruntime.tags...
Replies
1
Views
96
Hello all, In an WinCC Professional v15 application I need to filter the alarms by alarm class, not using the filter button on the toolbar of the...
Replies
3
Views
2,561
Hi everybody.We want to an application via C script.The scenario is ; there is a silo.Goods into the silo and empty when filled.There will be a...
Replies
1
Views
1,295
Hi! So I have a problem with the VB script part of the TIA portal. I'm no good at scripting but I have a script that is working in WinCC Flexible...
Replies
8
Views
5,960
Hi, I'm having an issue with my WinCC V7.3 project, where the script server is constantly crashing when opening a new picture window and closing...
Replies
1
Views
1,750
Back
Top Bottom