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
Notification Show More
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

What are Analog Inputs? – Analog Signals Processing in PLC
Upgrading and Migration of PLC Systems
How to Train Your Maintenance Team for Industrial Automation Systems?
Commissioning Checklists for Industrial Automation Systems
Function Blocks in PLC (FBs) – What You Need To Know?
WHILE DO Statement in SCL Language
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?
How to Download EcoStruxure Machine Expert? Schneider PLC Software
What is Nest Loading? – DCS and PLC Control Systems
Difference between Machine Expert Basic and Machine Expert – Schneider PLC
Delta HMI and VFD Control with Modbus
PLC Basics – Manual Control, Closed Loop, ON-OFF with Hysteresis
How CPU Execute Program in Siemens PLC?
PLC Program for Alarm Indication in Process Control

Keep Learning

PLC Program using Timers

PLC Timers Program

Use of Isolators and Barriers in Electrical Panel

Use of Isolators and Barriers in Electrical Panel

PLC Timer Programming Examples – TON, TOF, TP and TONR

SCADA Run

PLC Based Industrial Conveyor Ladder Logic

Ladder Logic Questions and Answers

Ladder Logic MCQ Questions and Answers

Lamp Counter Logic

Function Block (FB) for Motor Control Logic

Sink or source PNP or NPN Normally Open or Normally Closed Input v. output. output

Sink or Source? Normally Open or Normally Closed?

two-way communication between PLC systems

Transferring Data Across PLC Systems – TSEND_C and TRCV_C

Learn More

HR Interview Questions & Answers

HR Interview Questions and Answers

Power Electronics Objective Questions

Single Phase Voltage Source Inverter Quiz

Forward Reverse Motor Control with Repeat Cycle Using PLC

Electric Motor Forward Reverse with Repeat Cycle PLC Logic

Thermocouple Extension Lead Problem

Thermocouple Extension Lead Problem

Pneumatic Actuators Types Animation

Types of Pneumatic Actuators Animation

Purpose of an Electrical Substation

What is a Substation? Purpose of an Electrical Substation

Digital input signals in safety circuits

1oo2 Evaluation Safety Instruction in Safety PLC

PLC railway crossing program

Automatic Railway Crossing Gate Control PLC Program

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?