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.

Problem Description:-

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

  • For this we use PLC programming and for that we use 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.

Program

Here is PLC program for automatic mixing controlling in a tank.

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

Ladder diagram for the automatic mixing controlling in a tank

PLC Ladder diagram for the automatic mixing controlling in a tank - 1

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

Automatic Mixing Controlling in a Tank using PLC

Author : Bhavesh

Related Articles

Mitsubishi PLC Programming Tutorials

S Bharadwaj Reddy

PLC Program for Alarm Indication in Process

S Bharadwaj Reddy

PLC Program for Automatic Heating and Mixing of Products

S Bharadwaj Reddy

Essential Documents in a PLC System

S Bharadwaj Reddy

PLC Sinking and Sourcing Explanation

S Bharadwaj Reddy

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