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
  • :
  • Generate alarm from quality tag
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
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • 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
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • 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 How-to videos
    • Ask Exchange
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
  • Support
    • User Guide
    • Leaderboard
    • Releases Notes
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: 
49471members
Join Now
242767posts
Join Now

Generate alarm from quality tag

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
Solved Go to Solution
Back to Geo SCADA Expert Forum
Solved
vpartinov
Crewman vpartinov
Crewman
‎2020-07-30 05:43 AM
0 Likes
13
1325
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-07-30 05:43 AM

Generate alarm from quality tag

I am using DNP3 protocol. Is there a way to generate alarm if quality tag of analog input point value is bad? 

Solved! Go to Solution.

Labels
  • DNP3
  • SCADA
  • ViewX
Tags (1)
  • Tags:
  • english
Share
Reply

Accepted Solutions
AndrewScott
Lieutenant AndrewScott
Lieutenant
‎2020-07-30 07:44 AM
0 Likes
0
1315
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-07-30 07:44 AM

Re: Generate alarm from quality tag

You could use a digital calculation point whose value is based on the quality of the DNP3 analog point, the expression would be something like:

 

IIF( "<DNPPoint>.CurrentQuality" < 192, 1, 0 )

 

where <DNP3Point> is the full name of the analog point.

 

This will set the digital point to state 0 if good quality otherwise state 1, and you can configure state 1 to be alarm.


Andrew Scott, Lead Engineer, AVEVA

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
13 Replies 13
AndrewScott
Lieutenant AndrewScott
Lieutenant
‎2020-07-30 07:44 AM
0 Likes
0
1316
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-07-30 07:44 AM

Re: Generate alarm from quality tag

You could use a digital calculation point whose value is based on the quality of the DNP3 analog point, the expression would be something like:

 

IIF( "<DNPPoint>.CurrentQuality" < 192, 1, 0 )

 

where <DNP3Point> is the full name of the analog point.

 

This will set the digital point to state 0 if good quality otherwise state 1, and you can configure state 1 to be alarm.


Andrew Scott, Lead Engineer, AVEVA

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-07-30 05:50 PM
0 Likes
11
1309
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-07-30 05:50 PM

Re: Generate alarm from quality tag

As Andrew has said... if the quality as reported from the Outstation is bad, then you may need to use another calculation point (or logic to drive an internal point).

 

If however you're talking about bad quality in the sense of Overrange / Underrange.. then it's off the shelf 🙂

2020-07-31 10_43_11-ViewX.png

 

If you configure the AlarmType / AlarmSeverity for the FullScale / ZeroScale, and the input value goes beyond these, then you will get an alarm.

It sounds like the Invalid might do something also... but I've honestly never used this, and I'm not sure what it would do... the help provides this guidance for it:

Invalid—Use to specify whether Geo SCADA Expert generates an alarm or event whenever the point’s value is reported as invalid by the outstation. Use the fields associated with this state to define the properties should the analog to digital conversion process fail in the outstation.

 

So I would think that you should be able to get the alarming that you want directly from an appropriate configuration of the DNP3 Analog Point Properties (Overrange, Underrange and Invalid).

 

This likely won't apply for your situation, but might be interesting to know anyway.  You can associated a Time Profile against the High High / High / Low / Low Low alarm limits... allowing the trigger points for these alarms to be time dynamic (both for time of day, as well as day of week).  I think this is an amazing feature of GeoSCADA, and one that not enough people know about / use...

However... you can't associate such a Time Profile with Overrange / Underrange / Invalid limits.


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 (1)
  • Tags:
  • english
Share
Reply
vpartinov
Crewman vpartinov
Crewman
‎2020-07-30 11:51 PM
0 Likes
10
1300
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-07-30 11:51 PM

Re: Generate alarm from quality tag

Thanks to all for the solutions. I have never thought that in Clearscada can't create custom alarms until now, I don't know why is that... 

 

The alarm limits is not something for my case because some of the points from the outstation are from conversation from modbus to DNP3 and when the modbus is off (sometimes happens because of external voltage is off or battery voltage is off) the RTU gets the last value with 'good' quality tag and until the modbus is on, the RTU sends that value together with the timestamp and quality tag 'ComsLost' (or 'ComsFail' or something like that). 

 

As Andrew has said the calculations points are a solution but it will increase the points a lot and the license...

 

I figured out that there is a point 'Serial Error' in the RTU and if the value is not null there will be the alarm. It will be only 1 point per RTU so this would be the solution for me.

 

Some thoughts on why can't create custom alarms.. ? 

Tags (1)
  • Tags:
  • english
Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-08-01 12:25 AM
0 Likes
9
1284
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-01 12:25 AM

Re: Generate alarm from quality tag

Depending on what RTU you have you can potentially get the DNP3 quality to indicate that it's not good... then the Invalid item on the Analog Point could be configured for the alarm.

 

Creating 'custom alarms' would make it incredibly confusing.  The existing alarms relate directly to the object that they occur on, and hence it's sensible.

 

The GeoSCADA system really has quite a strong inheritance system.  So Alarms are not things that just float around in space, they are associated with a CAlarmObject, and hence configuration for those alarms occurs ON the CAlarmObject instance.

 

 

I think in this situation the best would be if in the RTU, when the Modbus communications failed, the point itself was marked as 'Offline'.  Then you could alarm on that based on the Invalid AlarmType/AlarmSeverity 🙂


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 (1)
  • Tags:
  • english
Share
Reply
Hardin4019
Lieutenant Hardin4019
Lieutenant
‎2020-08-01 02:35 PM
0 Likes
2
1276
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-01 02:35 PM

Re: Generate alarm from quality tag

Assuming you could add a point to ClearSCADA/GeoSCADA that shows the status of the communications from the RTU to the device converting Modbus to DNP3.... Would it be possible to use the point and .PresetQuality to change the quality of all of the points also?

 

 

Tags (1)
  • Tags:
  • english
Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-08-01 05:24 PM
0 Likes
1
1270
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-01 05:24 PM

Re: Generate alarm from quality tag

@Hardin4019  I'm pretty sure PresetQuality, PresetTimestamp only apply to Internal Points.

I would very much expect that these properties would not apply for DNP3 points.


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 (1)
  • Tags:
  • english
Share
Reply
AndrewScott
Lieutenant AndrewScott
Lieutenant
‎2020-08-03 02:09 AM
0 Likes
0
1263
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-03 02:09 AM

Re: Generate alarm from quality tag

@BevanWeiss is correct, PresetQuality and PresetTimestamp are properties of internal points. For 'real' points the quality and timestamp are determined by the driver based on the data received from the outstation.


Andrew Scott, Lead Engineer, AVEVA
Tags (1)
  • Tags:
  • english
Share
Reply
vpartinov
Crewman vpartinov
Crewman
‎2020-08-03 05:29 AM
0 Likes
4
1257
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-03 05:29 AM

Re: Generate alarm from quality tag

The RTU marks the quality as 'Comm Failure' when the Modbus communications failed. Then the quality is marked as 'Comm Failure' and the status is marked as 'Offline; Comms. Lost' in ClearSCADA historic list of the point. The Invalid Severity is set on Alarm.

 

And there is the problem, there is no alarm raised and also the point state is not marked as 'Invalid'. When does ClearSCADA mark a DNP3 point state as 'Invalid'?

Tags (1)
  • Tags:
  • english
Share
Reply
AndrewScott
Lieutenant AndrewScott
Lieutenant
‎2020-08-03 06:36 AM
0 Likes
3
1248
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-03 06:36 AM

Re: Generate alarm from quality tag

The invalid state on DNP3 analog points is only used when the outstation sets the REFERENCE_ERR flag on the analog point (see IEEE 1815-2012 Table 11-5 for flag descriptions). The DNP3 object flags are shown in the various status fields in ClearSCADA, including the historic list and view status dialog. These flags are used to calculate the DNP3 point's OPC quality within ClearSCADA.

 

There is no built in feature to raise an alarm (or change point state) based on any of the other DNP3 object flags.


Andrew Scott, Lead Engineer, AVEVA
Tags (1)
  • Tags:
  • english
Share
Reply
JChamberlain
Lieutenant JChamberlain Lieutenant
Lieutenant
‎2020-08-03 07:30 PM
0 Likes
0
1241
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-03 07:30 PM

Re: Generate alarm from quality tag

You can create custom text alarms - ie they aren't associated with an object alarm state. Use the SetInterfaceAlarm method on CRootGroup.

Tags (1)
  • Tags:
  • english
Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-08-04 05:14 PM
0 Likes
2
1232
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-04 05:14 PM

Re: Generate alarm from quality tag

@AndrewScott That does seem like a very specific situation re: the REFERENCE_ERR flag being the only flag considered as 'Invalid' for the alarming.  I don't recall that being in the Help... perhaps this does need to be a bit more explicit.

 

I would have expected (and we know that I generally have Great Expectations) that an Invalid alarm would be raised if there was a ('Invalid') state reported from the DNP3 outstation for that point that wasn't captured elsewhere (e.g. Underrange and Overrange are captured, as is 'Local Overrride'..).

 

Perhaps we just need more fine grained control over alarms for different DNP3 reported point states.. which does sound a little horrible, since there are already quite a lot of alarm states around the E-series / x70 DNP3 points as is (I've never used any more than the 2 high/low alarm limits... is there anyone that does?)


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 (1)
  • Tags:
  • english
Share
Reply
AdamWoodland
Lt. Commander AdamWoodland Lt. Commander
Lt. Commander
‎2020-08-05 03:47 PM
0 Likes
1
1222
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-05 03:47 PM

Re: Generate alarm from quality tag

I know of a certain large water customer that uses all eight (all four low and four high). Why though is a question I can't answer.

Tags (1)
  • Tags:
  • english
Share
Reply
sbeadle
Sisko sbeadle Sisko
Sisko
‎2020-08-06 06:11 AM
0 Likes
0
1210
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-06 06:11 AM

Re: Generate alarm from quality tag

And don't forget the 18 limit alarm feature in GeoSCADA!! Just a click away on the Server Config.

And - the Summer/Winter limit selection per group too...

Tags (1)
  • Tags:
  • english
Share
Reply
Related Products
Schneider Electric
EcoStruxure™ Geo SCADA Expert
Top Experts
User Count
sbeadle
Sisko sbeadle Sisko
1
BevanWeiss
Admiral BevanWeiss
1
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