Inst ToolsInst ToolsInst Tools
  • Ask
  • 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: PLC Program for Latching and unlatching Circuit
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 > 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 !
PLC Program for Temperature Control using Thermostat
Structured Text vs. Instruction List for PLC Programming
How to Configure PID in Siemens PLC?
Classroom Bell System – PLC Programming Practice Examples
What is Marshalling Cabinet?
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Use of Isolators and Barriers in Electrical Panel

Use of Isolators and Barriers in Electrical Panel

MODBUS ASCII Communication Protocol Explained

MODBUS ASCII Communication Protocol Explained

VFD Pros and Cons - Variable Frequency Drives

VFD Pros and Cons – Variable Frequency Drives

Actuator Sensor Interface (ASi) Protocol in PLC

Actuator Sensor Interface (ASi) Protocol in PLC

Level Transmitter configuration in PLC

Scaling with Parameters (SCP) Instruction in PLC

SCADA Features

Features of SCADA

Types of Cables used in Industrial Automation

Types of Cables used in Industrial Automation

Ladder Logic Example of Two Motors

Ladder Logic Example of Two Motors Interlinked with another Motor

More Articles

Superheated Steam Temperature Control System

Superheated Steam Temperature Control System

Safety PLC Coding Practices

Safety PLC Coding Practices – Programming Recommendations

Solar-Based Engineering Projects

Top 100 Solar-Based Engineering Projects

Plant Shutdown Analysis: Valve Closed and SOV Coil Failure

Plant Shutdown Analysis: Valve Closed and SOV Coil Failure

Masked Move Instructions

How to use Masked Move Instruction in PLC

Electromagnetic limit switch

Electromagnetic and Conductive limit switches Principle

Determine Level of Liquid in the Vessel and its Specific Gravity

Determine Level of Liquid in the Vessel and its Specific Gravity

Linear Programming in Excel

How to Do Linear Programming in Excel?

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?