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: PLC Program for Latching and unlatching Circuit
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 > Guest Articles > PLC Program for Latching and unlatching Circuit

PLC Program for Latching and unlatching Circuit

Create a PLC Logic for Latching and unlatching Circuit. Find more PLC Tutorials, PLC Programming, PLC example programs, PLC tutorials for beginners.

Last updated: November 3, 2023 10:01 am
Editorial Staff
Guest Articles PLC Tutorials
3 Comments
Share
4 Min Read
SHARE

This is a PLC Program for Latching and an unlatched circuit for output.

Contents
PLC Latching and unlatching CircuitProblem DiagramProblem SolutionPLC Inputs ListPLC Outputs ListPLC Ladder diagram for Latching and unlatched circuitProgram DescriptionRuntime Test Cases

PLC Latching and unlatching Circuit

Problem Description

In some conveying systems, the operator fills the tank manually by operating the water pump manually.

In this situation operator waits when the tank is being filled because when the tank reaches to high level, the water pump should be stopped.

Also water pump should remain in ON condition until the tank reaches a high level.

For example, we consider a manual water conveying system in this article.

Problem Diagram

PLC program for Latching and unlatched circuit

Problem Solution

In this example, we consider one storage tank for water and use one water pump for tank filling.

We also use one level sensor for high level and control panel for operator.

Here START PB for enabling the motor so we can feed the water in the tank, for stop motor we use STOP PB.

Level sensor for detection of High level so when tank becomes full, high level sensor will be activated and stops the water pump.

For this sequence we will use SET and RESET instruction for latching and unlatching the water pump.

We can make this circuit by sing relays.

In application there one manual discharge valve only for discharging the tank manual. We will not consider in or logic.

PLC Inputs List

  • START PB : I0.0
  • STOP PB : I0.1
  • HIGH LEVEL SENSOR : I0.2
  • LOW LEVEL SENSOR : I0.3

PLC Outputs List

  • WATER PUMP : I0.0

PLC Ladder diagram for Latching and unlatched circuit

PLC Ladder Logic using SET and RESET Instructions
Program Description

  • For this application we use S7-1200 PLC and TIA portal software for programming. We can make this circuit or logic with relay also.
  • This circuit or logic known as latching and unlatching circuit or logic.
  • We will write logic for water pump in Network 1. Here we use NO contact of START PB (I0.0) for enabling the water pump (Q0.0).
  • By using SET instruction water pump output coil (Q0.0) will be latched.
  • Add NO contact of LEVEL LOW SENSOR (I0.3) in series with the water pump output (Q0.0).
  • Water pump should not start if tank is full. so for safety purpose use one NO contact of LOW LEVEL SENSOR (I0.3) in series after START PB (I0.0) in Network 1.
  • Now HIGH LEVEL SENSOR (I0.2) will be detected after some time of pump running and in this case water pump (Q0.0) should be stopped automatically. For that purpose we need to unlatch the circuit.
  • We will write logic for unlatching circuit in Network 2. In this case,  we take No contact of HIGH LEVEL SENSOR (I0.3) for unlatching the circuit by using RESET instruction.
  • Add one NO contact of STOP PB (I0.1) in parallel connection, so operator can unlatch the circuit by pressing STOP PB (I0.1).
  • Here we latch circuit by SET instruction and unlatch with RESET instruction.

Runtime Test Cases

latching and unlatching circuit

Note: The above PLC Logic provided for basic idea about application of PLC Program for Latching and unlatching Circuit. The Logic is limited and not complete application.

Author: Bhavesh

If you liked this article, then 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 Questions & Answers
  • Sequence of Conveyors with Interlock
  • Motor Operation based on Time Cycle
  • PLC Tank Heating Control using Heater
  • Heating and Mixing of Products using 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 Conveyor Ladder Logic Program
PLC Motor Operation based on Time Cycle Sequence – Program
Difference between Signal Cables and Control Cables
PLC Selective Execution of the Application – Example Program
Complete PLC Project: Traffic Light Auto and Manual Automation
Basic Pumping System Application Used in Industrial Automation
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
3 Comments
  • rahim says:
    June 20, 2018 at 4:25 pm

    Thank you .
    These kind of examples help to learn PLC programming .Kindly continue and give harder examples.

    Reply
  • Jairo Francisco Oliveira Paula says:
    August 13, 2019 at 4:01 am

    excelente artigo!

    Reply
  • Aladdin Muaña says:
    April 26, 2021 at 5:12 pm

    Please help me for my activity. Its difficult like me as first timer.
    Here is the problem.

    When you press Push Button (PB1) – X21 the output bulb (YO) will lit… When you release the PB1 the output bulb will off.

    Reply

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 Relay? Types of Industrial Relays
Internal Powered Modems
Actuator Sensor Interface (ASi) Protocol in PLC
4-20mA Loop Power Supply Questions and Answers
Connecting Blocks in Functional Block Diagram – Studio 5000
Difference between DCS, PLC, and RTU ?
What is the DDE Protocol?
PLC Important Questions and Answers

Keep Learning

Relay Internal Parts

Relay Operation, Types, Symbols & Characteristics

PLC Demo Software

PLC Trainer Demo Download

Different PLC available in the Simatic S7 generation

Overview of SIEMENS PLC – S7-1500, S7-1200, S7-400, S7-300

How-to do Security of SCADA Systems

How-to do Security of SCADA Systems?

Automatic Box Filling System using PLC Programming

Automatic Box Filling System using PLC Programming

PLC Programming Example for a Batch Process

PLC Programming Example for a Batch Process

PLC Program to Operate Stamping of Parts

PLC Application for Stamping Operation – Example Programming

Surface Grinding Process using PLC Program

Surface Grinding Process using PLC Program

Learn More

RJ45 Connector Pins

How to make RJ45 cable

Power Systems Questions & Answers

Power Systems MCQ Series 2

Temperature Calibration Bath

Temperature Calibration Bath Principle

Questions on Piping and Instrumentation Diagrams

Questions on Piping and Instrumentation Diagrams

Layer-2 and Layer-3 Network Switches

Layer-2 and Layer-3 Network Switches

Classic Control Circuits

Motor Classic Control Circuits using Single Push button

Rewire Tool

What is Rewire Tool in Simatic Manager?

Valve Technician Interview Questions

Valve Technician Interview Questions

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?