5/17/2014 12:02 PM | |
Joined: 1/28/2009 Last visit: 4/26/2024 Posts: 6838 Rating: (1359)
|
Hello, This is a new question and it is not related to the current discussion. About the Totalizer,We should see your codes to discuss.First I suggest reading the following topic as an official document/sample program on totalization in STEP 7: How can you accumulate physical flow measurements (e.g. mass flow rate, flow velocity) to an overall value?during time in forum, I have encountered similar topics and I share them for references: Totalizer in ladTotalizer flow via PLCApplication of the Totalization function in S7-300I hope these comments help you! Hamid Hosseini |
This contribution was helpful to2 thankful Users |
5/17/2014 3:33 PM | |
Joined: 10/7/2005 Last visit: 4/30/2024 Posts: 3004 Rating: (1046)
|
Hello nguye you are probbaly reaching the limit of a REAL's value accuracy of 6 decimal places with your calcualtions. Have a look at How accurately can I calculate with REAL numbers that are used in extensive formulas? for more on this. Truth be told, as far as I'm concenred, you can never expect accurate totalisation from an Analogue value which one way or another will end up being a best guessvalue. If you need a precise totalisation, let the flowmeter do the work and let it isssue a digital pulse for every counted liter,m3 etc (pretty much every respectiable flowmeter will have a digital output for this that you wire to a DI and then simply add the pulses up). I hope this helps |
Cheers |
|
This contribution was helpful to2 thankful Users |
5/17/2014 5:59 PM | |
Posts: 5 Rating: (0) |
thank you for help! i will change my calculation |
5/17/2014 6:11 PM | |
Posts: 5 Rating: (0) |
Thank you very much |
Follow us on