Totalizer function

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20342
    whiskyjimJim Manley
    Moderator
      Karma: 262
      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
      NSEKWilsonNSEKWilson
      Participant
        Karma: 20
        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
        whiskyjimJim Manley
        Moderator
          Karma: 262
          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
          PLCGuruPLCGuru
          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!

            #20372
            whiskyjimJim Manley
            Moderator
              Karma: 262
              Rank: 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.

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