WinCC C Script

Eng.Abdo

Member
Join Date
Feb 2010
Location
Saudia
Posts
64
dear all, i am trying to make a scrip in WinCC v 7 as fallow,

1- if the alarm signal is set = the indication square will start flashing red.

// for this i used ""SETTAGBIT("SETALARM",1)"" WORK FINE

2- if i click on the square, the square will stop flashing and stay red.

3- until the alarm reason is clear "reset", it will be possible to acknowledge the alarm

can you suggest how to do so

thanks
 
Dear all
i have done most of the question, but i am having difficulty with the last poin


1- if the alarm signal is set = the indication square will start flashing red.

// for this i used ""SETTAGBIT("SETALARM",1)"" WORK FINE
emotion-2.gif


2- if i click on the square, the square will stop flashing and stay red.

// for this i used ""SETTAGBIT("SETALARM",0)"" WORK FINE
emotion-2.gif

""SETTAGBIT("SETRED",1)"" WORK FINE
emotion-2.gif

3- until the alarm reason is clear "reset", it will be possible to acknowledge the alarm

emotion-6.gif
emotion-6.gif
for this one i need to create a script in C in which, if SETALARM = 0, then alarm will be acknowledge


can you suggest how to do so please
 

Similar Topics

Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
101
Hello Experts I am working on a project with WinCC Unified v16 PC system and want to create an option on the screen to export logs to the...
Replies
0
Views
89
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
136
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,620
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,322
Back
Top Bottom