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 Lock with Delay PLC Exercise Problems
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 Lock with Delay PLC Exercise Problems

Door Lock with Delay PLC Exercise Problems

Design a control system for automatic door lock with delay using PLC programming and motion sensor.

Last updated: April 22, 2024 1:43 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Design a control system for automatic door lock with delay using PLC programming.

Contents
Door Lock with DelayPLC Exercise ProblemsInputs & OutputsLogic SolutionProgram ExplainedWhen Sensor gets activated or Sensor detects someone approachingWhen Sensor deactivates or (When sensor does not detect anyone for 5 seconds)

Note: This PLC program was created for the persons for learning the PLC programming with simple problems.

Door Lock with Delay

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one Sensor to control the Door Lock.

The Motion Sensor detects when someone approaching the door should wait for 10 seconds and then open it. If no one is detected for 5 seconds, the door should close.

PLC Exercise Problems

This video explains the PLC programming for automatic door lock with delay logic.

PLC Programming Exercise - Automated Door with Delay

Inputs & Outputs

Digital Inputs:

Sensor: I0.0

Digital Outputs:

Door Lock: Q0.0

Logic Solution

Door Lock with Delay PLC Exercise Problems

Program Explained

We have used Normally Open Contact for Sensor (I0.0).

We have used Normally Closed Contact for Memory Bit 1 (M0).

In Rung 0:

  1. Normally Open Contact is used for Sensor  (I0.0) to Turn ON Memory Bit 1 (M0).
  2. Timer type TON is used to delay the turning ON time of Memory Bit 1 (M0) for some time.
  3. Timer type TOF is used to delay the turning OFF time of Memory Bit 1 (M0) for some time.

In Rung 1:

  1. Normally Closed Contact is used for Memory Bit 1 (M0) to Turn ON and OFF the output Door Lock (Q0.0).

When Sensor  (I0.0) gets activated or (Sensor detects someone approaching), the Memory Bit 1 (M0) will turn ON after 10 seconds as Timer Function Block TON is used to delay the turning ON time of Memory Bit 1 (M0). The time is set to 10 seconds. After 10 seconds, Memory Bit 1 (M0) will turn ON.

When Memory Bit (M0) turns ON in Rung0, Normally Closed Contact used for Memory Bit 1 (M0) in Rung1 will be True state and does not allow the signal to pass through it and the output Door Lock (Q0.0) will turn OFF or (Doors will Unlock).

When Sensor (I0.0) deactivates or ( Sensor does not detect anyone approaching), Memory Bit 1 (M0) will turn OFF after 5 seconds as Timer Function Block type TOF is used to delay the turning OFF time of Memory Bit 1 (M0). The time is set to 5 seconds.

After 5 seconds, Memory Bit 1 (M0) will turn OFF. When Memory Bit 1 (M0) turns OFF in Rung0. Normally Closed Contact used for Memory Bit 1 (M0) in Rung1 will be false state and allow the signal to flow through it and the output Door Lock (Q0.0) will turn ON or (Doors will Lock).

When Sensor gets activated or Sensor detects someone approaching

When Sensor (I0.0) gets activated or (Sensor detects someone approaching), the Memory Bit 1 (M0) will turn ON after 10 seconds as Timer Function Block TON is used to delay the turning ON time of Memory Bit 1 (M0). The time is set to 10 seconds.

Automated Door with Delay

After 10 seconds, Memory Bit 1 (M0) will turn ON. When Memory Bit (M0) turns ON in Rung0.

Normally Closed Contact used for Memory Bit 1 (M0) in Rung1 will be True state and does not allow the signal to pass through it and the output Door Lock (Q0.0) will turn OFF or ( Doors will Unlock).

Door Locking Ladder Logic

When Sensor deactivates or (When sensor does not detect anyone for 5 seconds)

When Sensor (I0.0) deactivates or ( Sensor does not detect anyone approaching), Memory Bit 1 (M0) will turn OFF after 5 seconds as Timer Function Block type TOF is used to delay the turning OFF time of Memory Bit 1 (M0). The time is set to 5 seconds.

sensor can be programmed to open the door

After 5 seconds, Memory Bit 1 (M0) will turn OFF. When Memory Bit 1 (M0) turns OFF in Rung0.

Normally Closed Contact used for Memory Bit 1 (M0) in Rung1 will be false state and allow the signal to flow through it and the output Door Lock (Q0.0) will turn ON or (Doors will Lock).

Design of PLC Control System for Automatic Door

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:

  • PLC Example Switch Program with Timers
  • Heater and Cooler PLC Exercise Problem
  • Automated Garage Gate PLC Programming
  • Pumping and Draining PLC Ladder Logic
  • Curtain Control PLC Programming Solution
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

ESG in Industrial PLC Automation Systems
PLC Instruction List for Motor Reverse and Forward Direction
Shutter Door Control using Motor and Limit Switches
Example PLC Program to Control a Pump based on Level Sensors
PLC Conveyor Ladder Logic Program
PLC Interlock Logic with First Input Priority
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

Heating and Mixing of Products using PLC Example Tutorial
Scheduled Daily Plant Watering PLC Program
PLC Scan Time
How to Configure Analog Inputs and Outputs in Delta PLC?
SCADA System Vulnerabilities
VFD Interview Questions and Answers – Electrical Drives
Tia Portal – OB30 Cyclic Interrupt Organization Block
ON and OFF a Group of Outputs by One Push button PLC Logic

Keep Learning

PLC Structured Text Program for Light Sequences via Timers

PLC Structured Text Program for Light Sequences via Timers

Draw a Ladder Logic to control a bulb using push buttons in PLC

Concept of Latching in PLC

FIFO in STL Language in Siemens PLC

How to Code a FIFO Queue in STL Language in Siemens PLC?

How to Use the Shift and Rotate Instructions in PLC

How to Use the Shift and Rotate Instructions in PLC?

Classic Control Circuits

Motor Classic Control Circuits using Single Push button

AI AO DI DO Questions

AI, AO, DI, DO Questions (PLC I/O Types)

Loss in Weight Liquid PLC System

Dosing Pump PLC Logic

PLC Motor Control Circuit-3

Basics of PLC Programming

Learn More

Elevated Span and Suppressed Span

DP Level Transmitter Elevation and Suppression Corrections

Analyzers Questions and Answers

Electrochemical Methods for Oxygen Analysis Questions & Answers

Difference Between Remote IO and Distributed IO Systems

Difference Between Remote I/O and Distributed I/O Systems

Wiring in PLC System

Wiring in a PLC Control Panel

Power Electronics Objective Questions

Power Electronics Diode Circuits Questions and Answers

Control Valve in Nutshell - Valve Design and Selection Factors

Control Valve in Nutshell – Valve Design and Selection Factors

PLC Program for Automatic Mixing Controlling in a Tank

PLC Program for Automatic Mixing Control in a Tank

Electrical Circuit Breaker Quiz

100 Electrical Circuit Breaker Quiz

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?