![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Nov 2007
Location: Oslo
Posts: 2
|
Flow Totalizer S7-300??
Hi there!
I have used the search button for help to find some solution`s to make a totalizer for flow. I did see many solution`s but all the answers are in STL. Because i allways have been using LAD for programming the STL is greek for me. Is it anybody that wants to make an example for totalizer in ladder?? input is 4-20mA Flow rate 25000kg/h ps. Sorry for my bad english regards Eivind |
![]() |
![]() |
#2 |
Lifetime Supporting Member
|
Here's a very simple and sometimes accurate enough way:
0 - 25000kg/h = 0 - 6.944kg/second So: scale 4-20mA input to floating point value of 0 - 6.94kg/sec Then: use 1 second timer to snapshot "sample" 0 - 6.94kg/sec floating point value and move/add it to another floating point register "Total." Every second the total will grow based on the flow rate at that 1 second snapshot. This is primative but works and CAN be optimized with the usage of scan time considerations and time slices but that's more complicated and PLC specific. |
![]() |
![]() |
#3 |
Member
|
This is my implementation.
I like using cyclic interruption blocks such as OB35 which is executed every 100 ms (default) You have input 4-20 mA = 0-25000 kg/h 25000kg/h = 6.9444 kg/s = 0.69444 kg/(100ms) So, first scale your input (in S7-300/400 it is integer range 0-27648) to 0 - 0.6944 with standard FC105 Second, just summarize current input value to current totalizer and that's it. I'd like others to express their opinions about this solution. |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Nov 2007
Location: Oslo
Posts: 2
|
thank you!
Regards: From one who has to work in christmas time ![]() |
![]() |
![]() |
#5 |
Member
|
Viggen, did you implement this solution in your program?
How does it work? |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow Meter Totalizer | gamohunter | LIVE PLC Questions And Answers | 12 | April 18th, 2008 03:39 PM |
s7 300 and 400 master slaving | moazzim | LIVE PLC Questions And Answers | 16 | April 10th, 2007 06:52 AM |
S7 300 to wonderware connection | gherz817 | LIVE PLC Questions And Answers | 1 | January 25th, 2007 10:47 AM |
Shift register S7 300 | alielectrical | LIVE PLC Questions And Answers | 16 | December 5th, 2005 09:42 AM |
Siemens S7 300 | sparky64 | LIVE PLC Questions And Answers | 3 | May 5th, 2003 04:50 AM |