PLC Ladder Logic for Control of Two Interconnected tanks using Siemens TIA portal
- Schematic diagram of Two Interconnected Tank in Sequence
- Full PLC Ladder diagram of Two Interconnected TankĀ using Siemens TIA Portal V16
- Declaration of Input and Output of Two Interconnected of Tank for each PLC block
- Various Phases of working of of Two Interconnected of Tank of Ladder Logic
- The steps below explain how to program ladder logic using the SIEMENS TIA site (Simulation)
- Simulation screenshots of two interconnected tanks of each phase
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
- When Low sensor top tank is detected the Inlet Valve is āOPENā. The Control valve is open only when High sensor detected
- When Low sensor bottom tank is detected, the Output valve is closed and the Inlet Valve and Control Valve āOPENā.
- When High sensor top tank is detected the Inlet Valve is āCLOSEDā. The control valve is āOPENā.
- 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
Full PLC Ladder diagram of Two Interconnected TankĀ using Siemens TIA Portal V16
Declaration of Input and Output of Two Interconnected of Tank for each PLC block
S. No | Operation | Input/Output/Others | Address of Each Block |
1 | Start Button | Input | %M0.0 |
2 | Stop Button | Input | %M0.1 |
3 | Dummy Coil_01(To Start the sequence) | Output | %Q0.0 |
4 | Dummy Latch Coil_02(For continue āONā) | Latch(Associated Coil, Not Operative) | %Q0.0 |
5 | Inlet Valve | Output | %Q0.1 |
6 | Control Valve | Output | %Q0.2 |
7 | Output Valve | Output | %Q0.3 |
8 | Low Sensor Top Tank | Input | %M0.2 |
9 | High Sensor Top Tank | Input | %M0.3 |
10 | Low Sensor Bottom Tank | Input | %M0.4 |
11 | High Sensor Bottom Tank | Input | %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.
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).
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).
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).
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
- 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ā.
- When āLow Sensor Top Tankā switched ON the Inlet Valve is āCLOSEDā
- 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)
- 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.
- 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).
- 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.
With the exercise described above, we were able to create PLC ladder logic, and we also tested the ladder logic using simulation.