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: Door Locking System – PLC Applications Examples
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 > PLC Tutorials > Door Locking System – PLC Applications Examples

Door Locking System – PLC Applications Examples

We will discuss the PLC applications examples and one of them is door locking system based on PLC programming logic.

Last updated: May 8, 2024 2:30 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

We will discuss the PLC applications examples and one of them is door locking system based on PLC programming logic.

Contents
Door Locking SystemPLC Automation VideosI/O ListLadder LogicProgram DescriptionPLC Logic SimulationWhen Lock Button is PressedWhen Unlock Button is PressedWhen Sensor detects someone at the Door

Note: We encourage individuals to use this PLC example for educational purposes to learn the ladder logic with good practical applications.

Door Locking System

Problem Statement:

Design a PLC ladder logic for the following application.

We are using two buttons and one Sensor to control the door-locking system.

When the lock button is pressed, the doors should lock and when the unlock button is pressed, the doors remain unlocked for 10 seconds and then get locked. The doors should not lock if there is someone at the door.

PLC Automation Videos

Instrumentation Tools provides you the free access to the PLC automation videos on our YouTube channel.

The below video explains the door lock and unlock example program.

PLC Applications Examples - Door Locking System

I/O List

Digital Inputs:

Lock Button: I0.0

Unlock Button : I0.1

Sensor: I0.2

Digital Outputs:

Doors: Q0.0

Ladder Logic

Door Locking System - PLC Applications Examples

Program Description

We have used Normally Open Contacts for Lock Button (I0.0), Unlock button (I0.1) and Memory Bits.

We have used Normally Closed Contacts for Sensor (I0.2) and Memory Bit 2 (M1).

In Rung 0:

  1. Normally Open Contact is used for Lock Button (I0.0) to Turn ON the output Door Lock (Q0.0).
  2. Normally Closed Contacts are used for Sensor (I0.2) and Memory Bit 2 (M1) to turn OFF the output Door Lock (Q0.0).
  3. The output Door Lock (Q0.0) is latched so that when Lock Button (I0.0) turns OFF,  the output Door Lock (Q0.0) still remains ON.

In Rung 1:

  1. Normally Open Contact is used for Unlock Button (I0.1) to Turn ON Memory Bit 1 (M0).
  2. Memory Bit 1 (M0) is latched so that Unlock Button (I0.1) turns OFF, Memory Bit 1 (M0) still remains ON.

In Rung 2:

  1. Normally Open Contact is used for Memory Bit 1 (M0) to Turn ON Memory Bit 2 (M1).
  2. Timer TP is used to Turn ON Memory Bit 2 (M1) for limited time.

PLC Logic Simulation

Lets test our PLC logic and check the results.

When Lock Button is Pressed

When Lock Button (I0.0) is pressed, the output Door Lock (Q0.0) turns ON (Doors will Lock) as Normally Open Contact used for Lock Button (I0.0) will be in True state and passes the signal to turn On the output Door Lock (Q0.0).

Lock Unlock Door For Home Automation

In false state, Normally Closed Contacts used for Sensor (Q0.2) and Memory Bit 2 (M1) will also allow the signal to flow through it and the output (Q0.0) will turn ON (Doors will Lock).

When Unlock Button is Pressed

When Unlock Button (I0.1) is pressed,Lock Unlock Door For Home AutomationMemory Bit 1 (M0) turns ON in Rung1. Memory Bit 1 (M0) is latched so that when Unlock Button (I0.1) turns OFF, Memory Bit 1 (M0) still remains ON.

Door opening and closing system using ladder logic

When Memory Bit 1 (M0) turns ON in Rung1, Normally Open Contact used for Memory Bit 1 (M0) in Rung2 will be in True State and will pass the signal to turn ON Memory Bit 2 (M1) but only for 10 seconds as Timer Function Block type TP is used to turn ON the Memory Bit 2 (M1) for Limited time. The time is set to 10 seconds.

After 10 seconds, Memory Bit 2 (M1) will turn OFF. When Memory Bit 2 (M1) turns ON in Rung2, Normally Closed Contact used for Memory bit 2 (M1) will be in True State and does not allow signal to pass through it.

Door Control System Using Ladder Diagram

Then, the Output Door Lock (Q0.0) will turn OFF (Doors will Unlock). In Rung2, when Timer Function Block type TP reaches its set time i.e. 10 seconds, Memory Bit 2 (M1) will turn OFF in both Rung2 and Rung0.

When Memory Bit 2 (M1) turns OFF in Rung0 i.e. when Memory Bit 2 (M1) turn OFF in Rung2, Normally Closed Contact used Memory Bit 2 (M1) in Rung0 will be in False state and allow the signal to pass through it and the output Door Lock (Q0.0) will turn ON (Doors will Lock).

When Sensor detects someone at the Door

When Sensor detects someone at the Door

In Rung0, When sensor (I0.2) gets activated (Sensor detects someone at Door), Normally Closed Contact used for Sensor (I0.2) will be in True state and signal will not pass through it. Then, the output Door Lock (Q0.0) will remain ON till the sensor deactivates (Doors will remains unlocked).

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:

  • Scaling for Analog Input in RSLogix 500
  • InTouch Scada and Allen Bradley PLC
  • Upload Option Disabled in Siemens PLC
  • Wincc and Tia Portal Communication
  • How to Password Protect Siemens HMI?
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 Important Questions and Answers
Product Sticker Machine with Weighing PLC Program
Motor Feedback Fail Logic in PLC
Automatic Coffee Vending Machine – PLC Logic Programming
How to do Simulation in Schneider PLC?
PLC Program for Flow Totalizer
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

PLC FBD Program for Bottle’s Capping with Rotating Mechanism
Drilling Process using PLC Program
Automatic Empty Bottle detection using PLC Logic
Flood Warning System using Programmable Logic Controller
PLC Programming for Loss in Weight Liquid Systems
Single-acting Cylinder OR Logic Operation (PLC and Sensors)
PLC Temperature Control using Pulse Width Modulation (PWM)
Tia Portal – OB10 Time of Day Interrupt Organization Block

Keep Learning

Establish Communication Between Two PLC Via PROFIBUS Protocol

Establish Communication Between Two PLC Via PROFIBUS Protocol

Studio 5000 Programming Three Motors with Fixed Priorities

Studio 5000: Programming Three Motors with Fixed Priorities

PLC Boxes Sorting Based on Height

PLC Programming: Sorting and Distribution of Boxes by Height

How to Control VFD with PLC using Ladder Logic

PLC Program to Energize & De-energize the Outputs based on Events

PLC Energize or De-energize the Outputs based on Events

Encode and Decode Instructions

How to Use Encode and Decode Instructions in PLC ?

PLC programming for clothes washing machine automation

LS Electric PLC Program Example: Clothes Washing System

How to Prevent Ground Loops in Analog Circuits?

How to Prevent Ground Loops in Analog Circuits?

Learn More

Coaxial

Fiber Optic Cable vs Coaxial Cable

Methods of Transistor Biasing

Methods of Transistor Biasing

Explain how this is an example of Ratio Control?

Questions on Ratio Control System

Power Electronics objective questions and answers

30 Important Power Electronics MCQ

FF Function block location

Foundation Fieldbus Logics

Digital Electronics Multiple Choice Questions

Parity Generators Objective Questions

Tagging Philosophy for Junction Box

Tagging Philosophy for Junction Box, Cable, and Cable Drum

DCS Alarm Summary Dashboard using Microsoft Power BI

DCS Alarm Summary Dashboard using Microsoft Power BI

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?