Home » PLC Ladder Logic for Tanks Filling as per Priority
PLC Tutorials

PLC Ladder Logic for Tanks Filling as per Priority

Write the PLC program for two tanks filling as per priority. Design the PLC Ladder Logic programming for this application.

Tanks Filling as per Priority

Two Tanks Filling using PLC

In pneumatic conveying system two or more tanks are used for material supply. Sometimes it is necessary to define priority for tanks. For example, if there are two feeding tanks are used in system and both the tanks are empty so we which tank should be filled first?

So write priority logic in PLC for this problem. In this example we have taken two feeding tanks and we will fill tank as per priority. Hence we will fill tank 1 first if booth the tanks are detected empty.


List of Inputs

  • I1 :- Start PB
  • I2 :- Stop PB
  • I3 :- Tank 1 low level sensor (LL)
  • I4 :- Tank 1 high level sensor (HL)
  • I5 :- Tank 2 low level sensor (LL)
  • I6 :- Tank 2 high level sensor (HL)

List of Outputs

  • Q1 :- Cycle ON
  • Q2 :- Tank 1 feeding valve
  • Q3 :- Tank 2 feeding valve

List of Memory

  • M1 :- Tank 1 feeding priority
  • M2 :- Tank 2 feeding priority

PLC ProgrammingPLC Program for Tank Filling


Here we used normal logic for START/STOP cycle.lathing function is used here.


Priority selection logic is used in this network. If both the tanks are empty,priority for tank 1 will be activated.


If tank 2 is low , priority for tank 2 will be ON.


If tank 1 level is low and priority of tank 1 is ON, tank 1 feeding valve will be ON


If tank 2 is low and tank 1 priority is not activated, tank 2 feeding valve will be ON.

Note:-Above application may be different from actual application. We can also make this application by using other PLC also. This example is only for explanation purpose. This is the simple concept of priority for multiple tanks in conveying system; we can use this concept in other examples also.

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.

Author : Bhavesh

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.

PLC Motor Operation based on Time

Traffic Light Control using PLC

PLC Automatic Control of Outputs

PLC Level Control of Two Tanks

Making PLC Multi Way Switches

Share With Your Friends

Related Articles

How to Delete the Siemens CPU Memory?

S Bharadwaj Reddy

Free Download Programmable Logic Controller (PLC) Book

S Bharadwaj Reddy

Program Flow Control Instructions in PLC Programming

S Bharadwaj Reddy

Siemens TIA Portal Free Version Download

S Bharadwaj Reddy

Download Free HMI software – CODESYS

S Bharadwaj Reddy

What is SCADA System ?

S Bharadwaj Reddy

1 comment

Jawad August 23, 2020 at 1:07 pm

You have not mentioned the condition for high level


Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

PLC Ladder Logic for Tanks Filling as per Priority

WordPress Image Lightbox
Send this to a friend