Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20342
    Jim Manley
    Moderator
    Karma: 253
    Rank: 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.

    Thanks,

    Jim

    #20347
    NSEKWilson
    Participant
    Karma: 18
    Rank: 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.

    #20348
    Jim Manley
    Moderator
    Karma: 253
    Rank: Jedi

    Thanks for the reply.

    Turns out I found an Add-on function block that does what I need it to do.

    Jim

    #20349
    PLCGuru
    Keymaster

    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!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

This website uses cookies.