Home » PLC Program for Automatic Mixing Controlling in a Tank
PLC Tutorials

PLC Program for Automatic Mixing Controlling in a Tank

This is PLC Program for automatic mixing controlling in a tank.

Automatic Mixing Controlling in a Tank

Material A and material B are collected in a tank. These materials will be mixed for particular time and then mixed product drained out through outlet valve. Implement ladder program for this application in PLC.

Problem Diagram

PLC Program for Automatic Mixing Controlling in a Tank

Problem Solution

  • In this example, we use PLC programming of Siemens S7-300 PLC. We can use other PLC also for this application.
  • Two level sensors are used for detecting the level of material A and material B. Also one bottom level sensor used for detecting the bottom level.
  • To control level of this system, single acting valve is used which has two states, either fully opened or fully closed.
  • Particular is provided to mix the material A and material B in a tank. We can use on delay timer this function.
  • After successfully completion of mixing, outlet valve is operated to drain the mixed material.
  • When mixing process is completed, buzzer will be activated and it will remain ON and after 5sec it will be automatically OFF.

List of inputs/outputs

Digital Inputs

  • Cycle START :- I0.0
  • Cycle STOP :- I0.1
  • Low level switch :- I0.2
  • Level material A :- I1.0
  • Level material B :- I1.1

Digital outputs

  • Cycle ON :- Q0.0
  • Inlet valve 1 :- Q0.1
  • Inlet valve 2 :- Q0.2
  • Agitator motor :- Q0.3
  • Outlet valve :- Q0.4
  • Buzzer :- Q0.5

PLC Logic for Automatic mixing controlling in a tank

Automatic Mixing Controlling mixing controlling in a tank Tank Mixing PLC Tank Mixing PLC mixing mixing process using plc ladder diagram ladder diagram for batch mixing system mixer plc program plc programming example process mixer

Program Description

For this application we used S7-300 PLC and TIA portal software for programming.

Network 1 :-

In network 1 latching circuit is used for latching the cycle. When START PB (I0.0) is pressed, cycle ON (Q0.0) output will be ON and it can be STOP by pressing STOP PB (I0.1).

Network 2 :-

When bottom level switch (I0.2) is detected and level material A (I1.0) is not detected, inlet valve 1 will be ON (Q0.1).

Network 3 :-

When level material A (I1.0) is detected and level material B (I01.1) is not detected, inlet valve 1 will be ON (Q0.1).

Network 4 :-

When the tank is full of material A and material B, level material B s detected. This detection energizes the agitator motor and we need mixing for 20 s, so timer instruction will be ON with agitator motor (Q0.3).

Network 5 :- 

Timer instruction will be executed when agitator motor (Q0.3) is activated.

Network 6 :-

When mixing process is completed, Outlet valve (Q0.4) will be ON for draining the mixed material.

Network 7 :-

When mixing process completed successfully, buzzer (alarm) will be ON (Q0.5).

Network 8 :-

Buzzer will remain ON for 5 second after 5sec it will be OFF. Here timer instruction is executed.

Network 9 :-

When Buzzer ON delay completed, buzzer output will be OFF automatically.

Note:- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. All parameters are considered here for explanation.

Runtime Test Cases

plc programming example process mixer

Author : Bhavesh

Articles You May Like :

PLC Level Control of Parallel Tanks

Control Valves Application using PLC

PLC Tank Heating Control using Heater

1 to 8 Demultiplexer PLC ladder diagram

Related Articles

Electrical Switches Principle & Types

S Bharadwaj Reddy

Flexible Input Output Modules

S Bharadwaj Reddy

Download Allen Bradley RSLogix PLC Software

S Bharadwaj Reddy

Programmable Logic Controller Practice Tests

S Bharadwaj Reddy

Industrial Networking and Wireless Interview Questions

S Bharadwaj Reddy

Types of CPU Communication Ports in Siemens PLC

S Bharadwaj Reddy


Aragon Bonny June 13, 2019 at 4:44 pm

Its very educative to engineering sector,thanks very much

Afzal,M. R. Afzal November 14, 2019 at 5:52 pm

There is a problem in network 3, it should be locked with the outlet valve also. As once draining process start network 3 will energize again and start filling the tank up to level 2

Deepak January 2, 2020 at 5:01 pm

This is very informative. Can you please make similar program for analog inputs?


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 Program for Automatic Mixing Controlling in a Tank

Send this to a friend