Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Ladder Logic for Flow Meter Totalizer
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Ladder Logic for Flow Meter Totalizer

Ladder Logic for Flow Meter Totalizer

Last updated: March 4, 2021 3:24 pm
Editorial Staff
PLC Tutorials
6 Comments
Share
3 Min Read
SHARE

This is a PLC Ladder Logic to calculate the flow rate and also count the total flow or totalizer.

Contents
Flow Meter TotalizerProblem Solution:PLC Address & Data TypesPLC Ladder Logic

Flow Meter Totalizer

Ladder Logic for Flow Meter Totalizer

By using some math, bit and comparator functions, prepare a PLC program that can calculate the flow rate of gas and also count the total flow.

Flow Totalizer Graphics

Problem Solution:

  • To calculate flow, first we have to measure differential pressure.
  • To measure differential pressure, Differential Pressure transmitter installed at pipe line.
  • Range of DP transmitter is 0-1000 Pa.
  • Output of this transmitter is in standard electrical signal which is 4-20 mA. Convert this signal into digital signal by connecting transmitter to AI module of PLC.
  • To find the Flow Rate, Apply formula ( Flow Rate = k √∆P ) given by the designer using math block in PLC.
  • Prepare a logic for Flow totalizer using math function in PLC.

NOTE :

In this example, we are assuming the transmitter output 4-20 mA is equivalent to “Differential Pressure” instead of direct flow reading. So we are applying the square root function in PLC to derive the equivalent flow rate from this measured “differential pressure”.

PLC Address & Data Types

Flow Totalizer Data Type

PLC Ladder Logic

Network 1 :

PLC Conversion Block from Analog Signal into Digital

In this Network 1, we are converting Analog Signal of the Differential Pressure Transmitter which is in 4 – 20 mA to digital value 0-1000 Pa.

Network 2 :

Flow Rate Formula in PLC

In the Network 2, We are finding Flow Rate by applying formula( Flow Rate = k √∆P ). Where k is the constant which is 10000 in my case and ∆P is the differential pressure in Pascal, which we are getting from the above network.

So we are using square root block and multiplication block to achieve this formula.

The unit of flow rate is m3/hr.

Network 3 :

Ladder Logic to Find Flow Rate

Now this is tricky network, if you count the total flow then you must do increment the flow rate at every minimum time frame whichever is possible.

So here I have used clock memory here and minimum possibility of time frame of my PLC is 0.1s (seconds). So I have to find out the flow rate at 0.1s for that.

I have used the below formula to find out the flow rate at 0.1s

Flow Totalizer Formula

Network 4 :

Ladder Logic for Total Flow

In this Network 4, we are doing addition of flow rate at 0.1s at every 0.1s and save it to Total_Flow.

This is the totalizer of the flow.

Author : Hiral Patel

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

PLC Logic Example with Timers

Conveyor Ladder Logic Program

PLC Maintenance Check List

Draw Logic to control Buld

PLC Counters Programming

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Automatic Door Operation PLC Programming and Simulation
PLC Program for Mixing Tank
T Flip Flop PLC Ladder Diagram
How to Reduce Relay Noise in PLC Systems?
How to Add Security in InTouch SCADA?
Basics of Ladder Diagram in PLC Programming
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
6 Comments
  • NAVANEETHAN VISWALINGAM says:
    May 6, 2020 at 9:33 am

    Hi,
    How to find K constant?
    Please give that formula

    Reply
  • Michael says:
    June 11, 2020 at 12:13 am

    Hi Navaneethan, did you ever find out how to find the K formula, I am looking for it as well.

    Reply
  • Durgesh Birhade says:
    October 19, 2020 at 4:03 pm

    Hi,
    How did you create pulses for every second?

    Reply
  • Gilbert De Vera says:
    January 27, 2021 at 11:56 am

    Hi sir/maam
    how to create the scaling program

    Reply
  • Patrick says:
    June 17, 2024 at 7:31 pm

    Hello,
    I would like to know how did you create the function call for the Analog to digital converter. Or it n embeded Function call from you PLC software…. Coz me I’m using Phoenix contact and trying to find the function converter.

    Reply
  • JOHNSON UZOMAH says:
    December 5, 2024 at 10:07 am

    Good one. The output can also go to a data block ( BBD) if a display on HMI is required. This will help production in determining flowrate analysis of a process over a period. In decision making, the business will look at cost reduction if need be. As an engineer, When there is a need to optimize a process, I think safety; quality and cost reduction which eventually translates to Improved revenue.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Features of SCADA
Relay Operation, Types, Symbols & Characteristics
Shutter Door Control using Motor and Limit Switches
Software Troubleshooting Errors and Faults in Siemens PLC
Components of PLC
How a 4-20mA Transmitter Works?
Basic Conveyor System for Product Handling in Omron PLC
Positive and Negative Edges using Statement List Language

Keep Learning

Advantages of Redundant System

Redundant Automation Systems – Need and Advantages

PLC Timer Application in Security Camera Recording

PLC Timer Application in Security Camera Recording

Siemens PLC-to-PLC Communication Project

GET Command – Siemens PLC-to-PLC Communication Project

LES and GRT Blocks in PLC Programming

Allen Bradley Math Functions

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

Free WinCC SCADA Training Course

Free SCADA Training Course

Allen Bradley PLC communication is established

Procedure for Connecting Allen Bradley PLC and PC – RS Logix 500

Single Push button to ON and OFF a Bulb using Ladder Logic

Single Push button to ON and OFF a Bulb using Ladder Logic

Learn More

Most Frequently Asked Instrumentation Questions

General Instrumentation Questions

compressor emergency shutdown system

Compressor Emergency Shutdown Root Cause Analysis

Industrial Automation and Control Systems (IACS)

Industrial Automation and Control Systems (IACS)

Exclusive Valve Sequencing

Exclusive Control Valve Sequence

Heating and Welding Objective Questions

Heating and Welding Objective Questions

Flame Ionization Detector (FID)

Flame Ionization Detector (FID) Principle

Solar Arrays

Solar Photovoltaic Cells – Parts of the Solar Panel

Inductors in parallel

Series and Parallel Inductors

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?