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

How to Add Security in InTouch SCADA?
Types of Instructions in PLC Programming
PLC Logic Example on Multiple Switches and Motors
PLC Electric Motor Interlocks
What is a Tower Lamp? – Light Tower in Industrial Automation
PLC Example on Manufacturing Line Assembly
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

How to Configure PID Controller in Various Schneider PLCs?
What is Relay Logic ?
Industrial Automation Pre-Engineering Design Documents – Project & Process
DeMorgan’s Theorems using Ladder Diagram
How to Create Faceplate in FactoryTalk View Studio?
PLC Pump Permissive Interlocks
#17 PLC Best Practices – Log PLC Uptime and Trend it on HMI
Automatic Highway Lights Program using RTC in Omron PLC

Keep Learning

PLC 1 Push Button to Turn ON or OFF 1 Output

PLC 1 Push Button to Turn ON or OFF 1 Output

Basics of Motion Controllers

Basics of Motion Controllers

Level Transmitter configuration in PLC

Scaling with Parameters (SCP) Instruction in PLC

Batch mixing process automation with Omron PLC

Automate Batch Mixing with Repeated Cycles in Omron PLC

What is Multi-touch Technology

What is Multi-touch Technology? – Industrial Automation

S7 Organizational blocks

Siemens PLC Tia Portal – OB100 Start-up Organization Block

PLC Count values higher than 999

PLC Count values higher than 999

Car Parking System using PLC Programming

Car Parking System using PLC Programming

Learn More

Accelerometer Vibration Probe

Accelerometer Vibration Probe Principle

Comparison of Temperature Sensors - Industrial Process Control

Comparison of Temperature Sensors – Industrial Process Control

Ground Fault Versus Short Circuit

Difference Between Short Circuit and Ground Fault

Time Response Analysis

Performance Indices

Vibration Sensors Theory

How Vibration sensors Work ?

transistor-biasing-circuits

Summary Of Transistor Bias Circuits

SIS PFD - Safety Instrumented System

SIS PFD – Safety Instrumented System

Capacitive Pressure Transducer

Capacitive Type Pressure Transducers Principle

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?