Inst ToolsInst ToolsInst Tools
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Water Fountain Control Logic – PLC Exercises and Solutions
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Water Fountain Control Logic – PLC Exercises and Solutions

Water Fountain Control Logic – PLC Exercises and Solutions

Learn the water fountain control logic using the PLC timers programming to control the high and low spray modes.

Last updated: April 17, 2024 7:06 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

Learn the water fountain control logic using the PLC timers programming to control the high and low spray modes.

Contents
Water Fountain Control LogicPLC Exercises and SolutionsInputs and OutputsLadder DiagramProgram DescriptionPLC Result

Please note that this PLC programming example is provided for educational purposes and allows learners to go through the practical usage of ladder logics.

Water Fountain Control Logic

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one toggle switch to control High-Spray and Low-Spray.

The water fountain should operate in three stages or modes, as mentioned below.

  • High Spray for 15 seconds.
  • Low Spray for 10 seconds.
  • OFF for 5 seconds.

PLC Exercises and Solutions

These PLC exercises and solutions offer you the opportunity to learn the programming with in-depth concepts.

This PLC video helps you to understand the water fountain program.

Inputs and Outputs

Digital Inputs:

Start Button: I0.0

Digital Outputs:

High Spray: Q0.0

Low Spray: Q0.1

Ladder Diagram

Water Fountain Control Logic

Program Description

We have used Normally Open Contact for the Start Button (I0.0).

We have used Normally Closed Contact for Memory Bit (M0).

In Rung 0:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON the outputs High Spray (Q0.0) and Low Spray (Q0.1).
  2. Normally Closed Contact is used for Memory Bit (M0) to Turn OFF the outputs High Spray  (Q0.0) and Low Spray (Q0.1).
  3. Timer-type TP is used to Turn ON the output High Spray (Q0.0) for a limited time.
  4. Timer-type TON is used to delay the turning ON time of the output Low Spray (Q0.1) for some time.
  5. Timer-type TP is used to Turn ON the output Low Spray (Q0.1) for a limited time.

In Rung 1:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON Memory Bit (M0). 
  2. Timer-type TON is used to delay the turning ON time of Memory Bit (M0) for some time.
  3. Timer-type TP is used to Turn ON the Memory Bit (M0) for a limited time.

PLC Result

Now we will simulate the PLC logic and discuss the results.

Rung 0:

PLC used for water fountain pump control

When the Start Button (I0.0) is turned ON, the output High Spray (Q0.0) will turn ON for 15 seconds as Timer Function Block type TP is used to Turn ON the output High Spray (Q0.0) for a limited time. The time is set to 15 seconds.

water fountain example ladder logic

After 15 seconds, the output High Spray (Q0.0) will turn OFF. Also, when the Start Button (I0.0) is turned ON, the output Low Spray (Q0.1) will turn ON after 15 seconds, (i.e immediately when the output High Spray (Q0.0) turns OFF) as Timer Function Block TON is used to delay the turning ON time of the output Low Spray (Q0.1). The time is set to 15 seconds.

PLC Programming for Fountain

After 15 seconds, the Low Spray  (Q0.1) will turn ON but only for 10 seconds as Timer Function Block type TP is used to Turn ON the output Low Spray (Q0.1) for limited time. The time is set to 10 seconds. After 10 seconds, the output Low Spray (Q0.1) will turn OFF.

Rung 1:

When the Start Button (I0.0) is turned ON, the Memory Bit (M0) will turn ON after 25 seconds  (i.e immediately when the output Low Spray (Q0.1) turns OFF) as Timer Function Block TON is used to delay the turning ON time of Memory Bit (M0). The time is set to 25 seconds.

PLC Exercises and Solutions with Example

After 25 seconds, Memory Bit (M0) will turn ON but only for 5 seconds as Timer Function Block type TP is used to Turn ON Memory Bit (M0) for a limited time. The time is set to 5 seconds. After 5 seconds,  Memory Bit (M0) will turn OFF.

When Memory Bit (M0) turns ON in Rung1, Normally Closed Contact used for Memory Bit (M0) in Rung0 i.e used to turn OFF both outputs High Spray (Q0.0) and Low Spray (Q0.1) will be in True state and does not allow signal to pass to the outputs High Spray (Q0.0) and Low Spray (Q0.1) and the outputs High Spray (Q0.0) and Low Spray (Q0.1) will turn OFF.

Programmable Logic Controller Water Fountain

When the timer reaches its set time in Timer Function Block type TP in Rung1, Memory Bit (M0) turns OFF. When Memory Bit (M0) turns OFF in Rung1, Normally Closed Contact used for Memory Bit (M0) in Rung0  will be in a false state and will allow the signal to pass to the outputs  High Spray (Q0.0) and Low Spray (Q0.1) and the outputs High Spray (Q0.0) and Low Spray (Q0.1) will turn ON again.

If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • PLC Logic for Stairway Lighting
  • Data Sharing Between PLC Systems
  • PLC Programming for Barrier Control
  • Traffic Lights PLC Logic using Timers
  • Control Spray Nozzle, Fans, Puncher
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 !

Recommended Articles

PLC Example on Manufacturing Line Assembly
PLC Program for Control Valve Scaling
How to Backup and Restore from Simatic Prosave HMI?
Connect to the Siemens S7 PLC
HMI Handbook
PLC Electric Motor Interlocks
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Shift Bit Register in PLC

Shift Bit Register in PLC

PLC Program for Controlling Sequence of Conveyors with Interlocking

PLC Program for Controlling Sequence of Conveyors with Interlock

Function Block Program Simulation

What are Functions in PLC Programming? (FCs)

PLC Programming for Automated Curtain Control

Automatic Curtain Control – PLC Programming Solution

Introduction to PLC

#9 PLC Best Practices – Validate indirections

Difference Between PLC and RTU

Difference Between PLC and RTU?

What is a GSD File and Why it is required?

What is a GSD File and Why it is required?

Single-acting Pneumatic Cylinder operation with Limit Switch

Single-acting Pneumatic Cylinder Operation with Limit Switch

More Articles

Control Systems Questions & Answers

Control Systems Objective Questions & Answers – Set 8

Transmitter Detailed Specifications

Transmitter Detailed Specifications

Energy Meter Data in PLC using Modbus Communication

Modbus Communication between PLC and Energy Meter

Types of Motor Enclosures

Types of Motor Enclosures

automatic changeover switch explained

Automatic Transfer Switch – Electrical Circuit, Operation, Video

Core-Type Transformer

Transformer Turns Ratio

Code Block Comparison

Compare Online and Offline PLC Programs

Determine Level of Liquid in the Vessel and its Specific Gravity

Determine Level of Liquid in the Vessel and its Specific Gravity

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?