- This topic has 4 replies, 3 voices, and was last updated 1 year, 1 month ago by Jim Manley.
- November 15, 2021 at 6:23 pm #20342Jim ManleyModeratorKarma: 262Rank: Jedi
So, the distillers have told me they want to be able to measure the flow of product through a flow meter and get the total amount of product that has gone through the meter. This is request is different than the usual “we want to add X amount of product to Tank 1” in that there is no target value set for the totalizer function block. (No target value means the totalizer starts then immediately stops because Total equals Target before you even start.)
I thought of setting the Target value to some absurdly high number that I know they won’t ever hit but I was wondering if there was some other esoteric Logix 5000 function block instruction out there that may do what I need a bit more elegantly.
If anyone knows or has another option, please post back here.
JimNovember 16, 2021 at 11:30 am #20347NSEKWilsonParticipantKarma: 20Rank: Padawan
Create your own integrating totalizer in a periodic task. Example; you can create a periodic task and set your periodic task to execute every 100 ms. In a routine under your periodic task, use a (ladder) divide instruction to take your instantaneous analog flow signal (assuming GPM) and divide it by 600 to give you the flow total for that 100 ms. period, and add that time slice amount (each execution of routine) to a flow total tag. You can use the flow total tag where needed for process operations, and reset the flow total tag as/when needed.November 16, 2021 at 12:46 pm #20348Jim ManleyModeratorKarma: 262Rank: Jedi
Thanks for the reply.
Turns out I found an Add-on function block that does what I need it to do.
JimNovember 16, 2021 at 1:26 pm #20349PLCGuruKeymaster
Hey Jim, glad to hear you sorted it out. Curious, is it a Rockwell Addon you found or something on the web? Either way let us know where you found it in case someone else could benefit. Thanks Jim!December 17, 2021 at 11:25 am #20372Jim ManleyModeratorKarma: 262Rank: Jedi
So about being so late to follow up on this. The Add-on is a Rockwell Add-on called TOTL. It appears to be a scaled down version of the TOT function block.
- You must be logged in to reply to this topic.