Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Flood Warning System using Programmable Logic Controller
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Flood Warning System using Programmable Logic Controller

Flood Warning System using Programmable Logic Controller

Learn the Flood Warning System using Programmable Logic Controller for effective water level monitoring in dams.

Last updated: July 7, 2025 4:53 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

This article will discuss the application of Programmable Logic Controller (PLC) in a water level monitoring system for Dams. Using the XG-5000 PLC software, this system is designed to provide early warnings through indicator alarms when water levels reach critical points. Additionally, the system will automatically activate control actions such as operating Water Pumps and opening Gates to maintain dam safety.

Contents
Program ObjectiveFlood Warning SystemProgram Inputs and OutputsProgrammable Logic Controller

Program Objective

The system continuously monitors the water level.

Level 1:

  • Alarm Level 1 is Active as an early warning.

Level 2:

  • Alarm Level 2 is Active.
  • The drain valve is Open to reduce water flow.
  • The water pump turns ON to help lower the water level.

Level 3:

  • Alarm Level 3 is Active.
  • The first dam gate opens.

Level 4:

  • Alarm Level 4 is Active.
  • The second dam gate is Open.

Level 5:

  • Alarm Level 5 is Active.
  • All dam gates (3) are Open.

Flood Warning System

Flood Warning System using Programmable Logic Controller

Program Inputs and Outputs

NoCommentInput (I)Output(Q)Memory BitsTimer
 1STARTP0000   
 2STOPP0001   
 3SENS_LEVEL1P0002   
 4SENS_LEVEL2P0003   
 5SENS_LEVEL3P0004   
 6SENS_LEVEL4P0005   
 7SENS_LEVEL5P0006   
 8ALARM_LEVEL1 P0040  
 9ALARM_LEVEL2 P0041  
 10VALVE P0045  
 11PUMP P0046  
 12ALARM_LEVEL3 P0004  
 13GATE1_OPEN P0047  
 14ALARM_LEVEL4 P0043  
 15GATE2_OPEN P0048  
 16ALARM_LEVEL5 P0044  
 17GATE3_OPEN P0049  
 18TIMER_PUMP   T0000
 19SYSTEM_ON  M0000 
 20IR_GATE1  M0001 
 21IR_GATE2  M0002 

Programmable Logic Controller

PLC based flood warning system

RUNG 1 (SYSTEM ON)

In this Rung, the memory bit SYSTEM_ON (M0000) will be in the HIGH state if the button START (P0000) Pressed. The memory bit SYSTEM_ON (M0000) will remain in the HIGH state even though the button START (P0000) has been Released, because it uses the SET Coil Instruction.

RUNG 3

In this Rung, if the button STOP (P0001) is Pressed, the memory bit SYSTEM_ON (M0000) will be in the LOW state. Because it uses the RESET Coil Instruction.

RUNG 6 (ALARM LEVEL 1)

In this Rung, the output ALARM_LEVEL1 (P0040) will be ON if the NO contact of the memory bit SYSTEM_ON (M0000) and the sensor SENS_LEVEL1 (P0002) are in the HIGH state.

Flood alert system using programmable logic controller

RUNG 10 (ALARM LEVEL 2)

In this Rung, the output ALARM_LEVEL2 (P0041) will be ON and the output VALVE (P0045) will be OPEN, when the NO contact of the memory bit SYSTEM_ON (M0000) and the sensor SENS_LEVEL2 (P0003) are in the HIGH state.

And when the NO contact of the VALVE (P0045) is in the HIGH state, the timer TIMER_PUMP (T0000) will Start counting up to 2 seconds. The output PUMP (P0046) will be ON after the TIMER_PUMP (T0000) Timer has finished counting.

Water level control in dams with PLC

RUNG 22 (ALARM LEVEL 3)

In this Rung, the output ALARM_LEVEL3 (P0004) will be ON and the output GATE1_OPEN (P0047) will be OPEN if the NO contact of the memory bit SYSTEM_ON (M0000) and the sensor SENS_LEVEL3 (P0004) are in the HIGH state.

RUNG 27 (ALARM LEVEL 4)

In this Rung, the output ALARM_LEVEL4 (P0043) will be ON and the output GATE2_OPEN (P0048) will be OPEN if the NO contact of the memory bit SYSTEM_ON (M0000) and the sensor SENS_LEVEL4 (P0005) are in the HIGH state.

Dam automation using PLC

RUNG 32 (ALARM LEVEL 5)

In this Rung, the output ALARM_LEVEL5 (P0044) will be ON and the output GATE3_OPEN (P0049) will be OPEN if the NO contact of the memory bit SYSTEM_ON (M0000) and the sensor SENS_LEVEL5 (P0006) are in the HIGH state.

Read Next:

  • Argonite & CO2 Flooding System Operation
  • What is a Fail-safe in a Siemens PLC System?
  • Siemens LOGO PLC Programming Course
  • How to Download GX Works Software?
  • Which Connection is Best for PLC Panel?

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Rules for Writing SCL Language in Tia Portal
Free Siemens PLC Training Course
Set the S5 Timer Value by a Memory Word
Intrinsically Safe Barriers Questions and Answers
Static and Temp Variables in PLC
Difference Between PLC and SCADA
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

What is a Retro-Reflective Sensor? – Principle, Applications
PLC Electric Motor Interlocks
What is the DDE Protocol?
How is Data Stored in Standard Modbus Protocol?
Siemens S7 300 and STEP 7 PLC program using SIMATIC Software
Controlling of Tank Level Using Proportional Controller in PLC
4–20 mA Process Control Loops
PLC Program for Daily Production Record

Keep Learning

ControlLogix Architecture - Rockwell Automation

ControlLogix Architecture – Rockwell Automation

EasyBuilder Pro Weintek HMI Software

EasyBuilder Pro Online Simulation of Mitsubishi FX3U PLC

PLC Motor Logic

Interconnection between PLC, MCC, LCP & Pumps – Video

Safety interlock for motor starters in Siemens PLC

Motor Starter Logic using Siemens PLC Tia Portal

plc-analog-signals-wiring-techniques

PLC Analog Signals Wiring Techniques

Learn SCL programming from scratch

How to Start Writing SCL Language in Siemens Tia Portal?

Simple Conveyor Control PLC Program

XG5000 Example of Simple Conveyor Control PLC Program

Design Counters in PLC Programming With a Move Instruction

Design Counters in PLC Programming With a Move Instruction

Learn More

What is Eddy Current and Eddy Current Loss

What is Eddy Current and Eddy Current Loss?

Digital Electronics Multiple Choice Questions

Boolean Logic Operations Objective Questions

How are Silicon Chips Disposed?

How are Silicon Chips Disposed?

logic-gates-questions-and-answers

Logic Gates Questions and Answers

Master Control Reset (MCR) ladder logic

How to use Master Control Reset (MCR) Instruction in PLC

Properties of Conducting Materials

Resistivity

Air Filter Regulator Working Principle Animation

Digital Logic Gates TruthTables

Logic Gates

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?