Home » PLC Program for Artificial Fishpond Water Level Monitoring System
PLC Tutorials

PLC Program for Artificial Fishpond Water Level Monitoring System

This is PLC program for an artificial fishpond water level monitoring system.

Problem Description

  • Implement PLC program for an artificial fishpond water level monitoring system.
  • Feed or drain the water of artificial fishpond when water level is below the normal level and activate the alarm when water level is above or below the level.

Problem Diagram

PLC Program for Fishpond Water Level Monitoring System

Problem Solution

  • This problem can be solved by using simple automation.
  • Here we considered one artificial fishpond, four level sensors and three pumps for system monitor & control.
  • Here we will write program that will control whole system. System will maintain normal level and it does not allow water level to go up or down to maintain the normal level.
  • If water level goes down from the normal level then system will feed water in the fishpond and if water level goes up from the normal level then system will drain water from the fishpond.

Program

Here is PLC program for an artificial fishpond water level monitoring system.

List of Inputs/Outputs

Inputs List:-

  • Level Sensor, L0 = I0.0 (L0=1 when the water level is above the alarm level).
  • Level Sensor, L1 = I0.1 (L1=1 when the water level is above the normal level)
  • Level Sensor, L2 = I0.2 (L2=1 when the water is above the normal level)
  • Level Sensor, L3 = I0.3 (L3=1 when the water is above the alarm level)

Outputs List:-

  • Feeding pump :- Q0.0
  • Drainage pump 1 :- Q0.1
  • Drainage pump 2 :- Q0.2
  • Alarm lamp :- Q0.3

Ladder diagram an artificial fishpond water level monitoring system

Program Description

In this problem we will consider S7-300 PLC and TIA portal software for programming.

Network 1:- In this network, we have written logic for drainage pump 1 (Q0.1). When water level is above the highest level of alarm level (L3 = I0.3), at that time drainage pump 1 (Q0.1) will be ON.

Network 2:- If water level is below the alarm level then feeding pump (Q0.0) should be start. So here we have taken NC contact of L1 (I0.1), when level is below the normal level then feeding pump (Q0.0) will ON and fill the water in the fishpond.

Network 3:- If water level is above the normal level then the drainage pump 2 (Q0.2) will be ON. Here water level is above than the normal level, not alarm level, so only drainage pump2 (Q0.1) will work.

Network 4:- Here we have used two conditions in OR gate so either level is below normal level (L1 = I0.1) or above normal level (L1 = I0.1) then flashing circuit will be activated and alarm lamp (Q0.3) will be ON.

Network 5:- Timer 2 for flashing circuit.

Network 6:-  Here we have used two conditions in OR gate so either level is below normal level (L1=01) or above normal level then alarm lamp (Q0.3) will flash automatically on 5 second interval.

Level is above alarm level (L0=1, L1=1, L2=1, L3=1) or below alarm level (L0=0, L1=0, L2=0, L3=0) THEN alarm lamp will flash automatically on 5 seconds interval.

Level is above alarm level (L0=0, L1=0, L2=0, L3=0) then drainage pump 1&2 will start and if water level is above normal then only drainage pump 2 will start.

Note:- Above example is for explanation purpose only, not all parameters or interlocks are considered. It is not necessary to use S7-300 PLC for this simple logic, we have used this PLC for our discussion purpose.

Runtime Test Cases

PLC Program for Water Level Monitoring

Author: Bhavesh

Related Articles

Programmable Logic Controller (PLC) Questions and Answers – 24

S Bharadwaj Reddy

PLC Program for Controlling Sequence of Conveyors with Interlocking

S Bharadwaj Reddy

Allen Bradley RSLogix 500 PLC Programming

S Bharadwaj Reddy

Difference between DCS, PLC, and RTU ?

S Bharadwaj Reddy

How PLC Controls a ON/OFF Valve ?

S Bharadwaj Reddy

RSLogix 5000 PLC Programming Procedure

S Bharadwaj Reddy

2 comments

Ryan July 10, 2018 at 11:49 am

Is Q0.1 a feed or drain pump?

Reply
SUNIL YADAV July 11, 2018 at 1:56 am

feed pump-this pump used to fill any tank. AS example boiler feed pump fill water in Boiler Drum for steam making process.Another simple example is-our home roof top water vessel or tank as motor start water feed (fill) in tank.

Drain pump- this pump uses for empty any tank or vessel. Drain pump transfer water from one tank to another

Reply

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