
adccommunitymod (AutomationDirect) asked a question.
Totalizing in Productivity 2K using a Prosense Flow Transmitter
Created Date: July 02,2016
Created By: bflippo323
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I am doing some preliminary work on a project where I will utilize a Prosense Flow Transmitter ( FSA1-42-27H ) with a P2K PLC. This will be a bit new to me and I have begun to consider how to best write the code to totalize water flow in total gallons. Any suggestions and/or example code would be appreciated. Thank you all!
Created Date: July 02,2016
Created by: bflippo323
I am doing some preliminary work on a project where I will utilize a Prosense Flow Transmitter ( FSA1-42-27H ) with a P2K PLC. This will be a bit new to me and I have begun to consider how to best write the code to totalize water flow in total gallons. Any suggestions and/or example code would be appreciated. Thank you all!
Created Date: July 06,2016
Created by: EthanG
Hope this helps.
Created Date: July 24,2016
Created by: bflippo323
Hey EthanG! Thank you! I will give this a look in the morning! Thank you very much!
Created Date: July 26,2016
Created by: EthanG
Everything work out fine?
Created Date: September 17,2016
Created by: Ian Charles
I'm trying to do something similar. I'm using IFM 4-20mA flowmeters and I 've figured out the totalizing part. I have a task that executes every second and I can sum over the course of a longer time period to get a total
However, what I'd really like to do is to produce a daily total and reset. How do I use the 'system time ' in my ladder program? Ideally I want to start totalizing at 0:00:00 every day and reset at 23:59:59
Created Date: September 18,2016
Created by: kewakl
Clock Hours 23 Clock Minutes 59 Clock Seconds 59 Store Totals and Reset
---------------]= = = = = =
Something like this?
The 'store Totals and Reset ' tag would trigger whatever logging/saving you do and then trigger a reset of your totalizing for the day.
The 'do New Day's Totalizing would begin the totalizing all over. You will lose about 1 second of totalizing this way.
Created Date: September 18,2016
Created by: Ian Charles
That would work! Thanks so much!