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
  • :
  • SCADA side flow totalization, it should be done in PLC but...
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: 
49366members
Join Now
242637posts
Join Now

SCADA side flow totalization, it should be done in PLC but...

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
Tanquen
Lt. Commander Tanquen
Lt. Commander
‎2020-08-26 10:51 AM
0 Likes
2
457
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-26 10:51 AM

SCADA side flow totalization, it should be done in PLC but...

The customer has a handful of flows that they would like totalized and averaged.

 

I’m using this Expression to get the average and it seems to work but the update seems finicky. It seems no value is displayed until the historical value it is looking at is updated. 

 

FORMATVAL('#.00', "..Tags DNP.Odor Control.Level;Average;H;1H") + ' ppm'

 

They're asking for a total flow and the flow is gallons per day. And then they also want a total gallons used from some chem tanks?

 

I’m not sure how to best make a flow totalizer. There are some clues here but I’m unsure if they are saying it worked and not sure how it would be implemented.

 

https://community.exchange.se.com/t5/Geo-SCADA-Expert-Forum/Imported-Accumulator-to-get-Flow-Total/m...

 

>>Message imported from previous forum - Category:ClearSCADA Software<<

User: MikeForshock, originally posted: 2019-10-10 21:36:49 Id:540

We have a Flow (GPH) coming in via an Analog Point.

We would like to create a totalizer (total volume) that continues until manually reset by the operator.

Have tried nearly every variation of processing options (Current, Value Change, Timed Report, etc.) combined with the Timed Report and End of Period Reset interval.

Should only need the EOP interval to 1H, but the value is almost always x60. Additionally displaying a historical tag for Total over an hour shows an erroneous value.

We have created a random number generator that varies from 60-60.000001 to cause value change, so would expect ~60 over a hour but that is not the case.

Previously we had to create an additional Calculation point and divide the GPH by 3600 to get the calculated value. This wastes a point...

Continuous

Timed Report Int: 10S

Timed Report Offset: M

EOP Int: 0 (No reset period)

EOP Offset: Day

Historic Filter Checked for all

Solved! Go to Solution.

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

Accepted Solutions
Hardin4019
Lieutenant Hardin4019
Lieutenant
‎2020-08-27 09:12 AM
0 Likes
1
434
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-27 09:12 AM

Re: SCADA side flow totalization, it should be done in PLC but...

I feel your pain. I had a flow computer that for some reason wouldn't give us a Today's or Yesterday's volumes.

 

I was able to make ClearSCADA calculated Today's Volume using the ClearSCADA "Accumulator > Integrator". You point it to the instantaneous flow rate,  under Source Object, check the box for Value Change. Make sure "Continuous" at the top is unchecked. My timed report is setup for 20S with offset of 1Hr. My "End of Period Reset" is setup for Every 1D, Offset 10H, with local time and DST checked for 10:00 AM Eastern Time reset.

 

My value updates every 20 seconds. The Accumulator Integrator assumes that the value it is accumulating is in Units per SECOND. So if you are reading flow in Gallons Per Minute, you will need to do another calculation point as an in between step to get Gallons per SECOND first. Mine for instance was in Barrels Per Hour, so I made a calculation point with the source of the BPH reading then / 3600. Now this calculation point is in BBL / Second. This is now the source object I used in the Accumulator Integrator.

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
2 Replies 2
Hardin4019
Lieutenant Hardin4019
Lieutenant
‎2020-08-27 09:12 AM
0 Likes
1
435
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-27 09:12 AM

Re: SCADA side flow totalization, it should be done in PLC but...

I feel your pain. I had a flow computer that for some reason wouldn't give us a Today's or Yesterday's volumes.

 

I was able to make ClearSCADA calculated Today's Volume using the ClearSCADA "Accumulator > Integrator". You point it to the instantaneous flow rate,  under Source Object, check the box for Value Change. Make sure "Continuous" at the top is unchecked. My timed report is setup for 20S with offset of 1Hr. My "End of Period Reset" is setup for Every 1D, Offset 10H, with local time and DST checked for 10:00 AM Eastern Time reset.

 

My value updates every 20 seconds. The Accumulator Integrator assumes that the value it is accumulating is in Units per SECOND. So if you are reading flow in Gallons Per Minute, you will need to do another calculation point as an in between step to get Gallons per SECOND first. Mine for instance was in Barrels Per Hour, so I made a calculation point with the source of the BPH reading then / 3600. Now this calculation point is in BBL / Second. This is now the source object I used in the Accumulator Integrator.

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
Tanquen
Lt. Commander Tanquen
Lt. Commander
‎2020-08-27 03:40 PM
0 Likes
0
422
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-08-27 03:40 PM

Re: SCADA side flow totalization, it should be done in PLC but...

Gallons Used

 

I used a Logic Structured Text Program to get the gallons used and it seems to work. I messed with an Accumulator Delta but could not get it to do what I wanted.

 

PROGRAM NewStructuredTextProgram

 

VAR

Current_Tank6701Gal AT %I(..Calcium Nitrate Tank 6701.Gal) : REAL;

Current_Tank6702Gal AT %I(..Calcium Nitrate Tank 6702.Gal) : REAL;

 

Internal_Last_Gal_Tank_6701 AT %M(.Last Gal Tank 6701) : REAL;

Internal_Last_Gal_Tank_6702 AT %M(.Last Gal Tank 6702) : REAL;

Internal_Total_Gal AT %M(.Total Gal) : REAL;

END_VAR

 

IF Current_Tank6701Gal < Internal_Last_Gal_Tank_6701 THEN

     Internal_Total_Gal := Internal_Total_Gal + (Internal_Last_Gal_Tank_6701 - Current_Tank6701Gal);

END_IF;

 

IF Current_Tank6702Gal < Internal_Last_Gal_Tank_6702 THEN

     Internal_Total_Gal := Internal_Total_Gal + (Internal_Last_Gal_Tank_6702 - Current_Tank6702Gal);

END_IF;

 

Internal_Last_Gal_Tank_6701 := Current_Tank6701Gal;

Internal_Last_Gal_Tank_6702 := Current_Tank6702Gal;

 

END_PROGRAM

 

Flow Total

 

If Continuous is not selected it seems the Accumulator Integrator value only updates when the flow changes. If the flow doesn’t change for a time the total will be off. Also, it seems you can’t have a manual reset without setting the Continuous option. With it one you can select Initialize or rest from the left click menu. I was also able to add a Rest button with a Pick Action that has a Reset method.

 

As you suggested I added a Calculation Analog Point that divides the Gallons per Day by 86400 to get the Gallons per Second. I used the new Calculation Analog Point in the Accumulator Integrator Object Source and it seems to be working.

 

I’m not sure about all the Source Object options. They are all checked by default but would you really need anything other than Value Change. I did use the Override one for testing.

Tags (1)
  • Tags:
  • english
Share
Reply
Top Experts
User Count
sbeadle
Sisko sbeadle Sisko
1
geoffpatton
Lieutenant geoffpatton
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