By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Inst ToolsInst ToolsInst Tools
  • Courses
  • PLC Tutorials
  • Control Systems
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: PLC Code to Start & Stop Motor and Pump as per Logic
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • 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 > PLC Code to Start & Stop Motor and Pump as per Logic

PLC Code to Start & Stop Motor and Pump as per Logic

In this article, you will learn the PLC code to start & stop motor and pump as per logic and understand the programming basics.

Last updated: April 8, 2024 1:24 pm
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

In this article, you will learn the PLC code to start & stop motor and pump as per logic and understand the programming basics.

Contents
PLC CodeHands-On PLC VideosInputsOutputsStart & Stop the Motor and Pump LogicPLC Logic DescriptionTest Results Overview

Note: The PLC code example is prepared to understand the basic programming for beginners.

PLC Code

Problem Statement

Design a PLC ladder logic for the following application.

We are using two Push Buttons to control a Motor and Pump.

When the Start Push Button is pressed and released, the Motor will be ON after 15 seconds.

When the Stop Push Button is pressed and released, the Motor will stop immediately and the Pump will Turn ON after 10 seconds.

Hands-On PLC Videos

Try our PLC programming videos to understand the example problems and practice them to get hands-on experience with the software.

Inputs

Digital Inputs

Start Push Button: I0.0

Stop Push Button: I0.1

Outputs

Digital Outputs

Motor: Q0.0

Pump: Q0.1

Start & Stop the Motor and Pump Logic

PLC Code to Start & Stop Motor and Pump as per Logic

PLC Logic Description

Here we used Normally Open Contact for the Start Push Button, Stop Push Button, and Memory Bits.

Normally Closed Contact is used for Memory Bit 2 in Rung1.

Two Timer Function Block Type TON is used for the Motor and Pump.

In Rung 0:

  • Normally Open Contact is used for the Start Push Button to Turn ON Memory Bit 1.
  • Latching is used for Memory Bit 1 so that when the Start Push Button is released, Memory Bit 1 still remains ON.

In Rung 1:

  • Normally Open Contact is used for Memory Bit 1 to Turn ON Motor.
  • Normally Closed Contact is used for Memory Bit 2 to Turn OFF Motor.
  • Timer Function Block type TON is used for the Motor to delay the Turning ON time.

In Rung 2:

  • Normally Open Contact is used for Stop Push Button to Turn ON Memory Bit 2.
  • Latching is used for Memory Bit 2 so that when the Stop Push Button is released, Memory Bit 2 still remains ON.

In Rung 3:

  • Normally Open Contact is used for Memory Bit 2 to Turn ON Pump.
  • Timer Function Block type TON is used for the Pump to delay the Turning ON time.

When the Start Push Button is pressed and released, Memory Bit 1 Turns ON in Rung0 and Rung1. when Memory Bit 1 Turns ON in Rung1, the Timer starts in Timer Function Block type TON which is set to 15 seconds and then, it delays 15 seconds to Turn ON the Motor. In a false state, Normally Closed Contact used for Memory Bit 2 also Passes the signal and the Motor will Turn ON after 15 seconds.

When the Stop Push Button is pressed and released, Memory Bit 2 will Turn ON in Rung1, Rung2, and Rung3 as Normally Open Contact is used for the Stop Push Button that allows the signal to pass and Turn ON Memory Bit 2.

When Memory Bit 2 Turns ON, the Motor will Turn OFF immediately because Normally Closed Contact used for Memory Bit 2 in Rungs1 will be in a True state and will not pass the signal to the Motor.

As Memory Bit 2 turns ON in Rung3,  Timer starts in Timer Function Block type TON which is set to 10 seconds and then, it delays 10 seconds to Turn ON the Pump and the Pump will Turn ON after 15 seconds.

Test Results Overview

Check the below program test results.

When Start Push Button is Pressed and Released

Motors Start Easy PLC Programming

When the Start Push Button is pressed and released, Memory Bit 1 Turns ON in Rung0 and Rung1 as Normally Open Contact is used for the Start Push Button that allows the signal to pass and Turn ON Memory Bit 1.


start stop motor control ladder diagram

When Memory Bit 1 Turns ON in Rung1, the signal flows through it because Normally Open Contact is used for it and the Timer starts in the Timer Function Block type TON Which delays the time to Turn ON the Motor.

In this Timer Function Block, time is set to 15 seconds. In a false state, Normally Closed Contact used for Memory Bit 2 also Passes the signal and the Motor will Turn ON after 15 seconds.

When Stop Push Button is Pressed and Released

When the Stop Push Button is pressed and released, Memory Bit 2 will Turn ON in Rung1, Rung2, and Rung3 as Normally Open Contact is used for the Stop Push Button that allows the signal to pass and Turn ON Memory Bit 2.

Motor and Pump as per Logic

When Memory Bit 2 Turns ON, the Motor will Turn OFF immediately because Normally Closed Contact used for Memory Bit 2 in Rung1 will be in a True state and will not pass the signal to the Motor.

PLC Controls with Ladder Diagram

As Memory Bit 2 turns ON in Rung3, the Pump will Turn ON after 10 seconds because Timer Function Block type TON is used for the Pump which delays the time of the Pump to Turn ON.

Electrical Controls Motor

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 Automatic Control of Two Outputs
  • From Boolean Algebra to PLC Logic
  • PLC Program for Solenoid & Pilot Lamp
  • PLC Programming Example with Motor
  • PLC to Start or Stop using 1 Switch Program
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 !
PLC Power Supply and Operating Voltages
Advanced Skills Required for a PLC Programmer to Get a Job
PLC Digital Input and Digital Output Modules
PLC Analog Input Conversion Formula
What are High-Speed Counters and Fast Counters in PLC?
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

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

Siemens PLC Organization Blocks used For Troubleshooting

Tia Portal – OB121 Programming Errors Interrupt Organization Block

Types of Cables used in Industrial Automation

Types of Cables used in Industrial Automation

Node-RED in PLC Automation

Node-RED in PLC Industrial Automation

Types of Instructions in PLC Programming

Types of Instructions in PLC Programming

Electrical Circuit Label Schematic

Label the Electrical Circuit Schematic

PLC Problems Troubleshooting

PLC Problems Troubleshooting

PID Simulator

PID Simulator Download

ICS System Design

ICS System Design Considerations

More Articles

Time Response Analysis

Time Response of Second Order Systems – I

Mechanical Vibration Switch

Vibration Switch Working Principle

Control Speed of an Induction Motor using Analog Output of PLC

Control Speed of Induction Motor using Analog Output of PLC

Pressure Correction Pneumatic Instrumentation

Pressure Correction Pneumatic Instrumentation

Electrical Machines Objective Questions

Electrical Machines MCQ Series 19

Squirrel-Cage Induction Rotor

Induction Motor

Multimeter Digits

Multimeter – What Do Digits and Counts Mean?

Polyphase Induction Motor Multiple Choice Questions and Answers

200+ Polyphase Induction Motor Multiple Choice Questions and Answers

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?