Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

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.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel

Invitation Sent

Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
  • Home
  • Collaborate
  • Exchange Community
  • :
  • SCADA & Telemetry Solutions
  • :
  • Geo SCADA Expert Forum
  • :
  • Alarm Redirection Runtime Configuration
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
          • Eldistribution & Fastighetsautomation
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Wireless Information Network Solutions
          • Instrument Area Network
          • Remote Monitoring
          • Tank Level Monitoring
          • Remote Data Collection
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
        • Eldistribution & Fastighetsautomation
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Wireless Information Network Solutions
        • Instrument Area Network
        • Remote Monitoring
        • Tank Level Monitoring
        • Remote Data Collection
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation Knowledge Base
    • Industrial Automation How-to videos
    • SCADA & Telemetry Solutions Knowledge Base
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Technology Partners
  • Support
    • Ask Exchange
    • Leaderboard
    • Our Community Guidelines
    • Community User Guide
    • How-To & Best Practices
    • More
Join Now
How can we help?
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
51132members
Join Now
245263posts
Join Now

Alarm Redirection Runtime Configuration

Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Back to Geo SCADA Expert Forum
jlx
Ensign jlx
Ensign
‎2020-11-22 04:39 PM
0 Likes
4
426
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-22 04:39 PM

Alarm Redirection Runtime Configuration

Hi,

 

I have a Geo SCADA 2019 server/client solution. The solution polls a RTU for numerous DNP3 points. There are a number of points that have their alarm redirection configured for SMS notification. The alarm redirection for these points are usually setup as follows.

 

1st redirection occurs after 1min delay. (Trigger: Unack Uncleared, Abort: Always)

2nd redirection occurs after 20min delay. (Trigger: Unack Uncleared, Abort: Always)

3rd redirection occurs after 400min delay. (Trigger: Unack Uncleared, Abort: Always)

 

This allows for basic alarm escalation to on call operators. I have three pager actions (SMS Action 1st Call, 2nd Call and 3rd Call) setup and three user rosters (WTP 1st Call, 2nd Call and 3rd Call) setup. 

 

The above works great, however the client wants additional features.

 

  1. The above only allows for one user per call. How would I assign multiple users to a call, without requiring the user to modify via database tree. Can users be added to, say "1st on call" group at runtime from mimic action/button? 
  2. Currently the redirection delay time is "hardcoded" for each point. Is it possible to have this as a global variable?

Image attached has sample configuration.

 

Your help is appreciated.

 

 

Attachments
Labels
  • ViewX
Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
4 Replies 4
BevanWeiss
Sisko BevanWeiss
Sisko
‎2020-11-22 08:31 PM
0 Likes
3
419
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-22 08:31 PM

Re: Alarm Redirection Runtime Configuration

Redirections are a little tricky.

 

You could add users to the usergroup at 'runtime'... there's really no difference between 'runtime' and not 'runtime' in the ViewX world... however it would require either that the users themselves have Configure permissions on the users in question (not great from a security perspective), or that you do the change via a Logic Routine in which case they just need permissions to execute the Logic Routine (but it's obviously a little trickier to configure).

 

As to the 'how to' of adding the user to the user group, the DB schema is your friend...

If you're interacting with the Geo SCADA / ClearSCADA system via an API (.NET API, Automation Interface, ViewX Scripting, SOAP) then you will need to reference the schema to see what objects have what methods / properties available to them.

If you are local to the server, then normally you can access it via

https://localhost/schema

 

If you go here:

https://localhost/schema/CDBUserCommon

Then you can see that there is a UserGroupIds configuration field that is an Array of Reference (CDBUserGroup).  You would just need to update this to include the User Group that you want them to be in.

 

I honestly can't remember if an Alarm Redirection is set to perform an action on a User Group if all the Users get the action happen to them.  It wouldn't surprise me if this is a bit inconsistent.  For example, I know for Reports all users receive the report if they are in the group.  But I don't know if that applies to Pager Actions or Email Actions.

User Rosters can only ever have users assigned (never User groups).  But you could possibly find other ways to do similar with Logic, Schedules and Calendars..

 

 

Redirection times are similar.  They are configuration properties, so you could either grant people the Configure permissions on the items they would need to change the times on, or you could configure a Logic Routine that gives them permissions to do this.  Again, I would recommend the Logic Routine for the flexibility / security it provides (i.e. you could do Min/Max limits, and other checks).


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..
Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
jlx
Ensign jlx
Ensign
‎2020-11-23 12:36 AM
0 Likes
1
405
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-23 12:36 AM

Re: Alarm Redirection Runtime Configuration

@BevanWeiss, thanks for the great reply.

 

For the record, I am a noob to the world of ClearSCADA/Geo SCADA. Could I push my luck further and ask if you have an example of how I can read/write to the DB schema via ViewX Scripting? Alternatily a pointer to documentation that would assist, as I was unable to find anything obvious.

 

Thanks!

Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
BevanWeiss
Sisko BevanWeiss
Sisko
‎2020-11-23 05:18 PM
0 Likes
0
388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-23 05:18 PM

Re: Alarm Redirection Runtime Configuration

The schema is kind of how the data is structured.

So you use the schema to identify what properties etc objects in your database have.

 

For the scripting reference, your best first point of searching is the help within the product.

If you go to Core Reference > Coding > Scripting > Server and ServerObject Functions and Properties

 

You'll come upon some stuff.

The process pretty much starts with obtaining a reference to the object you want to modify

Dim ob

Set obj = Server.FindObject("Object Name")   OR   Server.LookupObject( Object ID)

 

and then you can start to do things like

if obj.CheckAccess("CFG") then

  obj.Interface.AlarmRedirectionList.Delay1 = 15

else

  MsgBox "Bad dog.. no permissions"

 

Obviously this starts to stack up with complexity, i.e. my example writes to a fixed Alarm Redirection delay, but there are 10 such slots, and it might not always be the first that you care about.. and it writes a fixed value, and there's a whole different kettle of fish for getting values and validating values from users.

 

The language is either VBscript or JScript (the Active Scripting libraries from Microsoft), and is configured on mimics (the help has all these details).

 

 

For help on the ST logic, that can be found under

Core Reference > Coding > Logic ...

It's pretty much IEC61131 Structured Text, but with some enhancements to allow SQL queries (not recommended unless you know what you're doing)


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..
Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
Hardin4019
Lieutenant Hardin4019
Lieutenant
‎2020-11-25 07:28 AM
0 Likes
0
375
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-25 07:28 AM

Re: Alarm Redirection Runtime Configuration

I have recently done email redirections to a "User Group" instead of a specific User and it does work. I would think the same details below would be true for an SMS, aside from having a single user with group address to send the SMS to.

 

(For Email Redirections) One other thing that might be an option for spreading the email to everyone, is using a group email address that is handled through your email system. One email address that gets redistributed to many people (usually all in the same company). Using the "User Group" as a way to send the email to multiple people is the work around that I needed when not everyone works for the same company and needed the email to go to third parties.

 

(For me and the case of using Email Redirections) In the Alarm Redirection E-Mail Action, choose a user group instead of an individual user. All of the users will need to have their email address/phone number in the same contact slot, for me that was "Email Contact 1". Make sure that all of the users that need to get the email have an account with an email address in Email Contact 1, and also belong to the User Group.

 

Users can belong to one group, or they can belong to more than one Group. For instance they can be in ViewXLogin User Group, and they can be in the AfterHoursEmail User Group (both of which are just goofy names I am giving as examples).

 

There is another more complicated User Roster system that would allow you to send the redirection out to say, only people who aren't currently working, or a specific on call person(s).For me this option was way more complicated than what I needed. 

Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
Top Experts
User Count
sbeadle
Sisko sbeadle Sisko
188
BevanWeiss
Sisko BevanWeiss
52
AdamWoodland
Lt. Commander AdamWoodland Lt. Commander
16
JChamberlain
Lieutenant JChamberlain Lieutenant
16
AndrewScott
Lieutenant AndrewScott
15
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric