10/9/2009 9:14 PM | |
Joined: 9/27/2006 Last visit: 10/5/2024 Posts: 12283 Rating: (2685) |
Hello Mubasshir; In the following link you can download a pre-built Totalizer block that you may integrate in your program: Study the explanations attached, especially the datatype of variables used and the units used for the totalized values, this will simplify your understanding of the function. http://support.automation.siemens.com/WW/view/en/23061633 Hope this helps, Daniel Chartier |
12/19/2009 7:31 AM | |
Posts: 84 Rating: (20) |
Hello Daniel Chartier i used this block. but when the input value is 0.1 and interval is 1 hour the output goes maximum to 64 why its so? i also made a simple totalizer it first perform real division with 3600 from inputvalue 0.1. then adds it to the output to get the totalized value which is calling at ob35. it also saturate at the value 64 for input 0.1 AttachmentTest7.zip (650 Downloads) |
Last edited by: subin at: 12/19/2009 7:32 AM |
|
12/21/2009 1:44 PM | |
Joined: 10/7/2005 Last visit: 10/7/2024 Posts: 3024 Rating: (1054)
|
Hello subin while REAL numbers have a large range, their accuray is generally only 6 decimal points. Your addition will have to eventually come to an end as you areadding a value of 0.00000277778 (0.1/36000) to the totaliser value. The FAQ below has more on this subject and I hope it helps: How accurately can I calculate with REAL numbers that are used in extensive formulas? |
Last edited by: fritz at: 12/21/2009 1:48 PMCorrected the 0.1/36000 Cheers |
|
12/22/2009 7:27 AM | |
Posts: 84 Rating: (20) |
Sir Is there any solutoin for this problem i have to show flow per hour. |
Follow us on