PLC Program for Water filling and Discharging Process

0
71

This is PLC Program for Water filling and discharging process using S7-1200 PLC.

Problem Description:-

  • In many industries or plant, there are lots of manual water filling system are used for water storage.
  • In manual system, there are so many disadvantages such as Accuracy, time delay problem, loss of liquids, Time consuming.
  • And due to manual system we have to arrange an operator for machine operation. Water wastage occurs due to manual system
  • Here we are discussing a semi-automatic system.

Problem Diagram

PLC Program for Water filling and Discharging Process

Problem Solution

  • To solve this problem, we will use S7-1200 PLC for programming.
  • Here we use two sensors for level measurement, one is for High level and second is for low level.
  • We use feeding valve (MV1) for filling Cycle of the tank and discharge valve  (MV2) for discharging cycle of the tank. Both will be controlled according to sensor logic. So when the water level goes below low level then feeding valve will turned ON automatically and when water level reaches high and the it senses by high level sensor, then discharging process will be turned ON automatically.
  • When high level is detected then buzzer will turn ON for alarm purpose. Cycle will stop if user will press stop button from the control panel.

Program

Here is PLC program for Water filling and discharging process using S7-1200 PLC.

List of inputs/outputs

Digital Inputs

  • Start PB = I0.0
  • Stop PB = I0.1
  • TLB 1 = I0.3
  • TLB 2 = I0.2

Digital Outputs

  • Cycle ON = Q0.0
  • Valve MV1 (Feed) = Q0.1
  • Valve MV2 (Discharge) = Q0.2
  • Agitator/Mixer M  = Q0.3
  • Buzzer = Q0.4

Ladder diagram for Water filling and discharging process using S7-1200 PLC

PLC Program for Water filling and Discharging Process

Program Description

  • For this application, we used S7-1200 PLC and TIA portal software for programming.
  • In Network 1 we used latching circuit for cycle ON (Q0.0) output. It can be started by pressing START PB (I0.0) and stop by pressing STOP PB (I0.1).
  • When cycle will be started then system will check level of the tank. If tank level is low then then feeding process will start and tank level is high then Discharge cycle will start.
  • Here we have taken NO contact for both sensors in the program for simplicity. It can be done by relay logic in field or you can use such type of sensors.
  • When tank will detect low level then TLB 2 (I0.2) will be activated and then feeding cycle will be ON. Here we have taken NC contact of TLB1 (I0.3) so when PLC will detect high level then it will stop Feeding cycle.
  • When tank will detect high level then TLB 1 (I0.3) will be activated and discharging cycle will be ON. Here we have taken NC contact of TLB2 (I0.2) so when PLC will detect low level then it will stop discharge cycle cycle.
  • Mixer M (Q0.3) should be ON during discharging cycle for mixing purpose.
  • Here we also considered an alarm for high level to inform operator. When TLB 1(I0.3) will be detected then buzzer (Q0.4) will be activated.
  • During all function, cycle should be ON.

Runtime Test Cases

PLC Program for Water filling and Discharging Simulation

Article by
Bhavesh Diyodara

LEAVE A REPLY

Please enter your comment!
Please enter your name here