PLC

PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal

In an industry two Interconnected tank control is used. The two tanks are Storage tank and Feeder tank. The storage tank is used to maintain the fluid constant and feed tank is used to discharge the fluid frequently. In this article we will discuss about creating an appropriate PLC program for maintaining the fluid level of tanks using three valves with the help of sensors.

Two motors say Storage tank and Feed tank connected in sequence manner. The first tank is Storage tank with ā€œLow sensor top tankā€  and ā€œHigh sensor top tankā€, the second tank with ā€œLow sensor Bottom tankā€  and ā€œHigh sensor Bottom tankā€. The level of two tank is controlled with following condition

  1. When Low sensor top tank is detected the Inlet Valve is ā€œOPENā€. The Control valve is open only when High sensor detected
  2. When Low sensor bottom tank is detected, the Output valve is closed and the Inlet Valve and Control Valve ā€œOPENā€.
  3. When High sensor top tank is detected the Inlet Valve is ā€œCLOSEDā€. The control valve is ā€œOPENā€.
  4. When High sensor bottom tank is detected the Output Valve is ā€œOPENā€. The Control Valve is ā€œCLOSEDā€.

The circuit Schematic of Sequence of Two Tank Control is shown below

Schematic diagram of Two Interconnected Tank in Sequence

PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal1

Full PLC Ladder diagram of Two Interconnected TankĀ  using Siemens TIA Portal V16

PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 2

Declaration of Input and Output of Two Interconnected of Tank for each PLC block

S. NoOperationInput/Output/OthersAddress of Each Block
1Start ButtonInput%M0.0
2Stop ButtonInput%M0.1
3Dummy Coil_01(To Start the sequence)Output%Q0.0
4Dummy Latch Coil_02(For continue ā€œONā€)Latch(Associated Coil, Not Operative)%Q0.0
5Inlet ValveOutput%Q0.1
6Control ValveOutput%Q0.2
7Output ValveOutput%Q0.3
8Low Sensor Top TankInput%M0.2
9High Sensor Top TankInput%M0.3
10Low Sensor Bottom TankInput%M0.4
11High Sensor Bottom TankInput%M0.5

Various Phases of working of of Two Interconnected of Tank of Ladder Logic

The TIA Portal V16 software from Siemens is used to write the PLC program. According to the above statement, the PLC program has four Sections.

Start and Stop operation for Two tank Control

  • The start and stop buttons are located in this part of the ladder logic. When the Start button is pressed, the “Dummy_coil_00” becomes activated. The entire procedure begins with the introduction of the dummy coil.
  • The latching concept (Push button) is used to construct the start logic.
  • The procedure can be stopped entirely by pressing the stop button.
PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 3

Inlet Valve Working

The Inlet Valve will be ā€œOPENā€ by if the ā€œLow Sensor Top Tankā€ is detected (Indicate that the fluid in the Top tank is lower level) or ā€œLow Sensor Bottom Tankā€ is detected with ā€œHigh sensor Top Tankā€ is not detected (Indicate that fluid in the bottom Top tank is Full and the top tank is not full).

PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 4

Control Valve Working

The Control Valve will be ā€œCLOSEDā€ by if the ā€œLow Sensor Bottom Tankā€ is detected (Indicate that the fluid in the Bottom tank is Lower level) or ā€œLow Sensor Top Tankā€ and ā€œLow Sensor Top Tank is activatedwith ā€œHigh sensor Bottom Tankā€ is not detected (Indicate that fluid in the Bottom tank is Empty or Partially filled and Low Sensor Top tank detected with Inlet Valve is open).

PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 5

Output Valve Working

    The Output Valve will be ā€œOPENā€ by if the ā€œHigh Sensor Bottom Tankā€ is detected (Indicate that the fluid in the Bottom tank is Full) or ā€œLow Sensor Top Tankā€ and ā€œLow sensor Bottom Tankā€ is activated (Indicate that fluid in the Bottom tank is Full and Low Sensor Top tank is ā€œOFFā€. Implies Fluid in both tank is above Low Level).

    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 6

    The steps below explain how to program ladder logic using the SIEMENS TIA site (Simulation)

    (Note: Refer to the above page for a complete description of how to program ladder logic using Siemens TIA Portal.)

    Simulation screenshots of two interconnected tanks of each phase

    1. Initial stage of ladder Simulation started by pressing the ā€œStartā€ button(%M.0). Once the Sequence started using start switch. The status of the sensor decide which Valve should be ā€œOPENEDā€.
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 7
    1. When ā€œLow Sensor Top Tankā€ switched ON the Inlet Valve is ā€œCLOSEDā€
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 8
    1. When ā€œLow Sensor Top Tankā€ and ā€œLow Sensor Bottom Tankā€ is detected both Inlet Valve and Control Valve ā€œCLOSEDā€ and Output Valve ā€œOPENEDā€ (Indicate that the Bottom tank is lesser fluid, the Top tank fluid fill the Bottom tank through Control Valve)
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 9
    1. The Inlet Valve is still ā€œCLOSEDā€ even Low Sensor Switched ā€œOFFā€; this is due to Low Sensor Bottom tank is ā€œONā€(Control Valve Still Open). Indicate that the Bottom tank is empty.
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 10
    1. The Inlet Valve ā€œCLOSEDā€ when ā€œLow Sensor Bottom tankā€ and is ā€œOFFā€ or ā€œHigh Sensor Bottom tankā€ is detected (It shows that the fluid in Bottom tank reached the High level).
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 11
    1. Suppose the ā€œLow Sensor Top tankā€ and ā€œHigh Sensor Bottom Tankā€ is detected. The output valve is ā€œOPENEDā€ and inlet Valve is ā€œOPENEDā€. But the control Value still ā€œCLOSEDā€ due to the ā€œHigh Sensor Bottom Tankā€ detected.
    PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal 12

    With the exercise described above, we were able to create PLC ladder logic, and we also tested the ladder logic using simulation.

    Sundareswaran Iyalunaidu

    With over 24 years of dedicated experience, I am a seasoned professional specializing in the commissioning, maintenance, and installation of Electrical, Instrumentation and Control systems. My expertise extends across a spectrum of industries, including Power stations, Oil and Gas, Aluminium, Utilities, Steel and Continuous process industries. Tweet me @sundareshinfohe

    Related Articles

    Back to top button