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: Multi-Tank Liquid Level Control System with Fill Priority [PLC]
Share
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 > Multi-Tank Liquid Level Control System with Fill Priority [PLC]

Multi-Tank Liquid Level Control System with Fill Priority [PLC]

Design a multi-tank liquid level control system using PLC logic with fill priority. Monitor levels, control valves, and trigger alarms.

Last updated: July 7, 2025 4:58 pm
Editorial Staff
PLC Tutorials
No Comments
Share
8 Min Read
SHARE

This article will discuss a Multi-Tank Liquid Level Control System with Priority Filling using Omron PLC & CX-Programmer. The system aims to manage the liquid levels in multiple storage tanks using priority-based control logic. The system ensures that liquid is directed to specific tanks based on predefined urgency levels (priority). It monitors the liquid levels in each tank and controls the valves to fill or stop the flow of liquid. The system also provides alarm indicators during the filling process and when any tank reaches its full condition.

Contents
Program ObjectiveMulti-Tank Liquid Level Control SystemProject IO DetailsPLC Logic

Program Objective

Multi-Tank Liquid Level Control System with Fill Priority [PLC]

System Sequence

Initialization:

The system starts by measuring the initial level of liquid in each tank.

Tank priority is determined based on the sequence (Tank-1 has the highest priority, Tank-2 has the second priority, and Tank-3 has the lowest priority).

Tank Filling:

If tank-1 has a liquid level below the minimum level, the system will open the valve to tank-1 and activate the pump.

After tank-1 reaches the maximum level, the valve to tank-1 is Closed, and the system continues filling to tank-2 and Tank 3 if necessary.

The pump will turn ON 2 seconds after the valve opens.

Priority Logic:

The tank with the higher priority will be filled first.

If more than one tank is below the minimum level, filling is carried out sequentially according to priority.

Filling Termination:

If all tanks are at a safe level, the system will turn Off the pump and Close all valves.

Alarm Indicator:

Each tank has an indicator alarm during the filling process and when the tank is full.

Multi-Tank Liquid Level Control System

Multiple-tank liquid level control system
Alarm indication in PLC tank system

Project IO Details

S.No.CommentInput (I)Output(Q)Memory BitMemory WordTimers
1PB_START0.00    
2PB_STOP0.01    
3VALVE_TANK1 100.00   
4VALVE_TANK2 100.01   
5VALVE_TANK3 100.02   
6PUMP 100.03   
7TANK1_FILL 100.04   
8TANK1_FULL 100.05   
9TANK2_FILL 100.06   
10TANK2_FULL 100.07   
11TANK3_FILL 101.00   
12TANK3_FULL 101.01   
13PV_TANK1   D0 
14PV_TANK2   D1 
15PV_TANK3   D2 
16SYSTEM_ON  W0.00  
17TIMER_PUMP    T0000

PLC Logic

PLC based tank level monitoring system

RUNG 0 (SYSTEM ON)

In this Rung, the memory bit SYSTEM_ON (W0.00) will be in the HIGH state when the PB_START (0.00) button is Pressed. Because it uses the KEEP(011) instruction, the memory bit SYSTEM_ON (W0.00) will remain in the HIGH state even though the PB_START (0.00) button has been released.

If the PB_STOP (0.01) button is Pressed, the memory bit SYSTEM_ON (W0.00) will be in the LOW state.

RUNG 1 (TANK 1 (PRIORITY 1))

In this Rung, the output VALVE_TANK1 (100.00) will be OPEN when the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK1 (D0) is Less Than Or Equal To “20”.

The VALVE_TANK1 (100.00) output will be CLOSE when the NO contact of the memory bit SYSTEM_ON (W0.00)  in the HIGH state and the value of the word memory PV_TANK1 (D0) is Equal To “100”.

Priority filling logic in PLC

RUNG 2 (TANK 2 (PRIORITY 2))

In this Rung, the output VALVE_TANK2 (100.01) will be OPEN when the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK2 (D1) is Less Than Or Equal To “30”.

The VALVE_TANK2 (100.01) output will be CLOSE when the NO contact of the memory bit SYSTEM_ON (W0.00)  in the HIGH state and the value of the word memory PV_TANK2 (D1) is Equal To “100” or if the NC contact of the VALVE_TANK1 (100.00) output in the HIGH state.

CX-Programmer tank control example

RUNG 3 (TANK 3 (PRIORITY 3))

In this rung, the output VALVE_TANK3 (100.02) will be OPEN when the NO contact of the memory bit SYSTEM_ON (W0.00) in a HIGH state, and the value of the memory word PV_TANK3 (D2) is Less Than Or Equal To “25”.

The output VALVE_TANK3 (100.02) will be CLOSED when the NO contact of the memory bit SYSTEM_ON (W0.00) is in a HIGH state, and the value of the memory word PV_TANK3 (D2) is equal to “100”.

Or, if the NC contact of the VALVE_TANK1 (100.00) or VALVE_TANK2 (100.01) output is in the HIGH state, then the VALVE_TANK3 (100.02) output will be CLOSED.

Omron PLC liquid level automation

RUNG 4 (PUMP)

When the NO contact of the memory bit SYSTEM_ON (W0.00) in a HIGH state and any one of the NO contacts of the outputs VALVE_TANK1 (100.00), VALVE_TANK3 (100.02), or VALVE_TANK2 (100.01) in a HIGH state, the TIMER_PUMP (T0000) timer will Start counting up to 2 seconds.

The PUMP (100.03) output will turn ON when the NO contact of the TIMER_PUMP (T0000) is in a HIGH state.

PLC logic for multi-tank systems

RUNG 5 (TANK ALARM 1)

In this Rung, the output TANK1_FILL (100.04) will be ON when the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK1 (D0) is Less Than Or Equal To “20”.

The TANK1_FULL (100.05) output will be ON if the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK1 (D0) is Equal To “100”.

PLC project for multiple storage tanks

RUNG 6 (TANK ALARM 2)

In this Rung, the output TANK2_FILL (100.06) will be ON when the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK2 (D1) is Less Than Or Equal To “30”.

The output TANK2_FULL (100.07) will be ON if the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK2 (D1) is Equal To “100”.

Tank fill stop logic using PLC

RUNG 7 (TANK ALARM 3)

In this Rung, the output TANK3_FILL (101.00) will be ON when the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK3 (D2) is Less Than Or Equal To “25”.

The TANK3_FULL (101.01) output will be ON if the NO contact of the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value of the memory word PV_TANK3 (D2) is Equal To “100”.

Read Next:

  • Studio 5000: Programming Three Motors
  • Two Hand Press Safety Control Circuit
  • Simple Conveyor Control PLC Programming
  • PLC Interlock Logic with First Input Priority
  • PLC Programming for Weight-Based Packaging
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

Pause the Timer PLC Ladder Logic
Main differences between Sinking and Sourcing Circuits
PLC Techniques for I/O Mapping
PLC Temperature Control using Pulse Width Modulation (PWM)
How to use Sub Routines with Allen Bradley PLC
What is Hot Standby in PLC?
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

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

How to Export Data from WinCC Runtime Advanced into Excel using VB Script
PLC Program for Solenoid, Pilot Lamp, and Switch with Alarm
Sequential Operation of Output Bits using Two Push buttons
Example PLC Program
PID in Siemens TIA Portal
Various Communication Protocols in PLC
PLC Digital Signals Wiring Techniques
Overview of SIEMENS PLC – S7-1500, S7-1200, S7-400, S7-300

Keep Learning

Level Transmitter configuration in PLC

Scaling with Parameters (SCP) Instruction in PLC

Flexible Input Output Modules

Flexible Input Output Modules

Example of Controlling the PLC Output using Push Buttons

Example of Controlling the PLC Output using Push Buttons

On Delay Timer using PLC

ON Delay Timer using PLC

ESG in Industrial PLC Automation Systems

ESG in Industrial PLC Automation Systems

Convert an Electrical Diagram into PLC Program

How to Convert an Electrical Diagram into PLC Program?

PLC program pushbutton switches

PLC Permissive for Motor Control

HART Transmitters Loop Checks

Loop Check of 4-20mA or HART Transmitters

Learn More

DIN Valve Connectors

DIN Valve Connectors – Definition, Types

Network Switch

Network Switch Port Allocation Details

AC Generator Nameplate Ratings

AC Generator Nameplate Ratings

Pressure Switch Questions

Pressure Switch Questions

Diaphragm Valves

How Diaphragm Valves Work ?

Retro-Reflective Sensor

What is a Retro-Reflective Sensor? – Principle, Applications

What is Power Cable

What is Power Cable? Types of Power Cables

Liquid Level Control using Flow Loop

Liquid Level Control using Flow Loop

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?