Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84248members
353347posts

Script for Acknowledge All Alarms

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
CHRN
Ensign
Ensign
0 Likes
3
985

Script for Acknowledge All Alarms

Hello Experts,

Newbie to Clear SCADA.


I have made a dedicated mimic for alarms lists. 
How can I acknowledge the alarms (All Alarms) based on a button press? 
Tried searching the help in Clear SCADA but not succeeded in finding a script to Acknowledge all alarms. 

Only way is to click the alarm lists and individually Acknowledge. Pressing  key "A" acknowledges  the selected alarm aswell.

I have seen other discussions about ALARM banner multiple acknowledgment. But my requirement is using a script or some other way to acknowledge all alarms in an alarm list.

Kindly help.


Accepted Solutions
BevanWeiss
Spock
Spock

Re: Script for Acknowledge All Alarms

Script is definitely not the easiest way to do this.

 

Easiest is:

  1. Create button (or object to have pick action)
  2. Select Pick Action Wizard... from right click context menu
  3. Select Method (and Next >)
  4. Select Object = $Root (I'd recommend making it not relative)
  5. Set Method = 'Acknowledge Alarms'
  6. 'Next >', 'Next >',  then 'Finish'
  7. Done

Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

3 Replies 3
BevanWeiss
Spock
Spock

Re: Script for Acknowledge All Alarms

Script is definitely not the easiest way to do this.

 

Easiest is:

  1. Create button (or object to have pick action)
  2. Select Pick Action Wizard... from right click context menu
  3. Select Method (and Next >)
  4. Select Object = $Root (I'd recommend making it not relative)
  5. Set Method = 'Acknowledge Alarms'
  6. 'Next >', 'Next >',  then 'Finish'
  7. Done

Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
CHRN
Ensign
Ensign
0 Likes
1
946

Re: Script for Acknowledge All Alarms

Wow, Thanks for the detailed reply. 
It worked simply.
Seems I need to explore options in ClearScada in detail again.

For printing the alarm lists on a button action is there any specific referencing for the script? Right clicking the alarmlist gives an option to print. but customer is requesting a button for that.

Currently I am using below script. But it prints the entire mimic.
sub Print()
Mimic.Print
end sub

BevanWeiss
Spock
Spock
0 Likes
0
938

Re: Script for Acknowledge All Alarms

New topics / questions should have new topics 😉

 

As always, the best guidance is to have a look at the Database schema.  Reference can be found to this in the help documentation.

A shortcut for the default installation would be to just navigate to

https://locahost/schema

 

Then you can browse through all the properties / methods available on the various object types in the database.

Once you've found a property / method that represents what you're after then getting access to it is almost always possible using either the built in ViewX objects (like the pick action mentioned before) or using Logic (server side operation) / Scripting (client side operation).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..