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
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: PLC Program for Controlling a Water Pump with 3 Power Sources
Share
Notification Show More
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
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Program for Controlling a Water Pump with 3 Power Sources

PLC Program for Controlling a Water Pump with 3 Power Sources

Example of a PLC Program Controlling a Water Pump with 3 different power sources using Interlock function in CX-Programmer and CX-Designer.

Last updated: July 1, 2024 4:05 pm
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

Example of a PLC Program Controlling a Water Pump with 3 different power sources using Interlock function in CX-Programmer and CX-Designer.

Contents
Controlling a Water Pump with 3 Power SourcesI/O ListPLC Program for Controlling a Water PumpSimulation of the PLC Program

Controlling a Water Pump with 3 Power Sources

This article discusses the PLC application of “Latching” and “Interlock” concepts which can be used as a learning medium for students or beginner PLC programmers.

How The PLC Program Works?

The PLC program uses 4 buttons, the START_SYSTEM (0.00) button is used to Turn ON the system, STOP_SYSTEM (0.01) button is used to Turn OFF the system.

The START_SOURCE1 (0.02) button is used to Turn ON the Water Pump using Source 1, START_SOURCE2 (0.03) button is used to Turn ON the Water Pump using Source 2, START_SOURCE3 (0.04) button is used to Turn ON the Water Pump using Source 3.

PLC Program for Controlling a Water Pump with 3 Power Sources

The system will Run when START_SYSTEM (0.00) button is Pressed and results in the memory bit SYSTEM_ON (W0.03) being ON. Because it uses Latching, the memory bit SYSTEM_ON (W0.03) remains ON even though the START_SYSTEM (0.00) button has been released. The memory bit SYSTEM_ON (W0.03) will be OFF if STOP_SYSTEM (0.01) button is Pressed.

This system uses the concept of “Latching” and “Interlock”, so that the memory bits SOURCE1 (W0.00), SOURCE2 (W0.01), and SOURCE3 (W0.02) cannot be ON at the same time, they can only be ON alternately.  When one of the memory bits SOURCE1 (W0.00), SOURCE2 (W0.01), and SOURCE3 (W0.02) is Active then the WATER_PUMP (100.00) Output becomes ON.

I/O List

Addressing Input, Output, TIM, Bit Memory, and Word Memory details are as follows.

CommentInput (I)Output(Q)Memory Bits
START_SYSTEM0.00  
STOP_SYSTEM0.01  
START_SOURCE10.02  
START_SOURCE20.03  
START_SOURCE30.04  
WATER_PUMP 100.00 
SOURCE1  W0.00
SOURCE2  W0.01
SOURCE3  W0.02
SYSTEM_ON  W0.03

PLC Program for Controlling a Water Pump

RUNG 0 (START SYSTEM)

In this Rung, when START_SYSTEM (0.00) button is pressed, the memory bit SYSTEM_ON (W0.03) changes to the ON state. Because it uses latching, the memory bit SYSTEM_ON (W0.03) remains ON even though the START_SYSTEM (0.00) button has been Released.

The memory bit SYSTEM_ON (W0.03) will be OFF if the STOP_SYSTEM (0.01) button is Pressed.

Control of water pump using plc

RUNG 1 (SOURCE 1)

When Normally Open contact of the memory bit SYSTEM_ON (W0.03) is in the HIGH state and START_SOURCE1 (0.02) button is pressed, then the memory bit SOURCE1 (W0.00) changes to the ON state.

Because it uses latching, the memory bit SOURCE1 (W0.00) remains ON even though the START_SOURCE1 (0.02) button has been Released. The memory bit SOURCE1 (W0.00) will be OFF when the Normally Close contact of START_SOURCE2 (0.03) button or START_SOURCE3 (0.04) button is Pressed.

RUNG 2 (SOURCE 2)

When Normally Open contact of the memory bit SYSTEM_ON (W0.03) is in the HIGH state and START_SOURCE2 (0.03) button is pressed, then the memory bit SOURCE2 (W0.01) changes to the ON state.

Because it uses latching, the memory bit SOURCE2 (W0.01) remains ON even though the START_SOURCE2 (0.03) button has been Released. The memory bit SOURCE2 (W0.01) will be OFF when the Normally Close contact of START_SOURCE1 (0.02) button or START_SOURCE3 (0.04) button is Pressed.

Water Pumping System with PLC

RUNG 3 (SOURCE 3)

When Normally Open contact of the memory bit SYSTEM_ON (W0.03) is in the HIGH state and the START_SOURCE3 (0.04) button is pressed, then the memory bit SOURCE3 (W0.02) changes to the ON state.

Because it uses latching, the memory bit SOURCE3 (W0.02) remains ON even though the START_SOURCE3 (0.04) button has been Released. The memory bit SOURCE3 (W0.02) will be OFF when the Normally Close contact of START_SOURCE1 (0.02) button or START_SOURCE2 (0.03) button is Pressed.

RUNG 3 (WATER PUMP OUTPUT)

In this Rung, when one of the Normally Open contacts of the memory bits SOURCE1 (W0.00), SOURCE2 (W0.01), and SOURCE3 (W0.02) in the HIGH state then the Output WATER_PUMP(100.00) becomes ON.

Simulation of the PLC Program

HMI for Water Pump

The above image is the HMI (Human Machine Interface) design of the “PLC Program Controlling 1 Water Pump With 3 Different Power Sources using the Interlock Function”.

Water Pump Control with Three Power Sources

The image above shows, that when START_SYSTEM (0.00) button is pressed, then the SYSTEM_ON (W0.03) indicator light turns on.

PLC indicator light turns on

It can be seen in the picture above when the START_SOURCE1 (0.02) button is pressed, then the SOURCE1 (W0.00) and WATER_PUMP (100.00) indicator lights Turn ON.

PLC SCADA Water Pump

It can be seen in the picture above when the START_SOURCE2 (0.03) button is pressed, then the SOURCE2 (W0.01) and WATER_PUMP (100.00) indicator lights are turned on.

PLC HMI Pump

It can be seen in the picture above when the START_SOURCE3 (0.04) button is pressed, then the SOURCE3 (W0.02) and WATER_PUMP (100.00) indicator lights are turned ON.

PLC Pump Status Indicator

The image above shows, when the STOP_SYTEM (0.01) button is pressed and the system turns off.

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 Programming for Level Control of Two Tanks
  • Controlling the PLC Output using Push Buttons
  • Light ON OFF Control using PLC Programming
  • PLC Sequence of Conveyors with Interlock Function
  • Increment & Decrement Instructions in OMRON PLC
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

PLC Compressor Control Ladder Logic
Siemens TIA Portal Free Version Download
PLC Counters Program
Various Types of Delta PLC used in Industrial Automation
PLC Program for Automatic Bottle Rejection System
T Flip Flop PLC Ladder Diagram
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

Explore More

Sequential PLC Programming for the Pneumatic Valves
Increment & Decrement Instructions in CX-Programmer (OMRON)
Difference between DCS, PLC, and RTU ?
PLC Sizes and Applications
How to use Converters in PLC
#10 PLC Best Practices – Assign Register Blocks by Function
Car Wash Program using Functional Block Diagram (PLC)
Tia Portal – OB10 Time of Day Interrupt Organization Block

Keep Learning

Pump and Mixer Operations Example PLC Timer-Based Control

Pump and Mixer Operations Example: PLC Timer-Based Control

HMI screen for operator

#8 PLC Best Practices – Validate HMI Input Variables at PLC Level

Basics of Sinking and Sourcing

Basics of Sinking and Sourcing – Automation System MCQ

Motor Feedback Fail Logic in PLC

Motor Feedback Fail Logic in PLC

Classification of Fuses

Step-by-Step Guide to Choose Right Fuse for a Panel

Liquid management using PLC programming

PLC Programming for Loss in Weight Liquid Systems

PLC Program to Control Motor Speed using VFD Drive

Motor Speed Control using VFD and PLC Programming

Sorting PLC Program Simulation

Sorting & Distribution Line PLC Programming – Advanced Logic

Learn More

Steam Eductor Question

A Series of False Pressure Alarms

Burnout Function in Temperature Transmitter

Burnout Function in Temperature Transmitter

Creepage Distance for Insulators in Substation

Creepage Distance for Insulators in Substation

Introduction of Urea Bagging machine

Introduction to Urea Bagging Machine

Benefits of Pursuing a Degree in Engineering

Benefits of Pursuing a Degree in Engineering

3 to 8 Line Decoder Circuit Diagram

3 to 8 Line Decoder PLC Ladder Diagram

Venturi Flow Meter Theory

Basics of Venturi Flow Meter

How to Test a Thermocouple with a Multimeter

Testing a Thermocouple With a Multimeter

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?