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: Automated Garage Gate Control – PLC Ladder Logic
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 > Automated Garage Gate Control – PLC Ladder Logic

Automated Garage Gate Control – PLC Ladder Logic

Automated garage gate control system to open or close the gate whenever car arrives or leaves using sensors and PLC ladder logic.

Last updated: May 14, 2024 3:48 pm
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

Automated garage gate control system to open or close the gate whenever car arrives or leaves using sensors and PLC ladder logic.

Contents
Automated Garage Gate ControlAutomation Training VideosInputs and OutputsPLC Ladder LogicLogic ExplainedSimulation ResultsWhen P-Sensor detects a car or When a car arrivesIf the car leaves within 1 minute and P-Sensor detects a car again When the status is Parking Paid

Note: Please acknowledge that this program is for educational resource for comprehending ladder logic with accessible applications.

Automated Garage Gate Control

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one Sensor & “Parking Paid” status to control the Garage Gate.

When a Car arrives then open the gate for 10 seconds. If the car leaves within 1 minute, then the gate opens automatically.

After 1 minute, the gate will be opened when the status is “parking paid”.

Automation Training Videos

Instrumentation Tools provides you the best automation training videos for you.

This video explains the garage gate application for car parking.

PLC Programming Examples - Garage Gate Timer

Inputs and Outputs

Digital Inputs:

Sensor: I0.0

Parking Paid: I0.1

Digital Outputs:

Garage Gate: Q0.0

PLC Ladder Logic

Automated Garage Gate Control - PLC Ladder Logic

Logic Explained

We have used Normally Open Contacts for P-Sensor(I0.0), Parking Paid (I0.1) and Memory Bits.

In Rung 0:

  1. Normally Open Contact is used for P-Sensor (I0.0) to Turn ON Memory Bit 1 (M0).
  2. Memory Bit 1 (M0) is latched so that when P-sensor (I0.0) turns OFF, Memory Bit 1 (M0) still remains ON.

In Rung 1:

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

In Rung 2:

  1. Normally Open Contact is used for Memory Bit 1 (M0) to Turn ON Memory Bit 3(M2).
  2. Timer-type TON is used to delay the turning ON time of Memory Bit 3(M2) for some time.

In Rung 3:

  1. Normally Open Contact is used for Memory Bit 2 (M1), Memory Bit 3 (M2), P-Sensor (I0.0), and Parking Paid (I0.1) to Turn ON  the output Garage Gate (Q0.0).
  2. Memory Bit 2 (M1), Memory Bit 3 (M2) + P-Sensor (I0.0), and Parking Paid (I0.1) are connected in parallel, thus implementing OR Logic Gate.
  3. Memory Bit 3 (M2) and P-Sensor (I0.0) are connected in series, thus implementing AND Logic Gate.

Simulation Results

We will see the results of the PLC program simulation. We may show the partial logic code instead of all rungs in the below test cases.

When P-Sensor detects a car or When a car arrives

When P-Sensor (I0.0) detects a car ( when a car arrives), Memory Bit 1 (M0) turns ON and stores the data that car has arrived as Memory bits stores the data. Memory Bit 1 (M0) is latched so that when the P-sensor (I0.0) turns OFF, Memory Bit 1 (M0) still remains ON.

When Memory Bit 1 (M0) turns ON in Rung0, Normally Open Contact used for Memory Bit 1 (M0) in Rung1 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.

PLC gate control system
Parking gate PLC logic

After 10 seconds, Memory Bit 2 (M1) will turn OFF. When Memory Bit 2 ( M1) turns ON in Rung1, Normally Open Contact used for Memory Bit 2 (M1) in Rung3 used to turn ON the output Garage Gate (Q0.0) will be in True State and will pass the signal to turn ON the output Garage Gate (Q0.0) (Gate Opens).

In Rung1, when Timer Function Block type TP reaches its set time i.e 10 s, Memory Bit 2 (M1) will turn OFF in both Rung1 and Rung3, and when Memory Bit 2 (M1) turns OFF in Rung3, the output Garage Gate (Q0.0) turns OFF (Gate Closes).

If the car leaves within 1 minute and P-Sensor detects a car again

When Memory Bit 1 (M0) turns ON in Rung0, 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 3 (M2) after 60 seconds as Timer Function Block type TON is used to delay the turning ON time of the Memory Bit 3 (M2). The time is set to 60 seconds. 

PLC gate control system
Gate control with sensor

So after 60 seconds, Memory Bit 3 (M2) turns ON.  When Memory Bit 3 ( M2) turns ON in Rung2 or ( Car leaves within 1 minute), Normally Open Contact used for Memory Bit 3 (M2) in Rung3 used to turn ON the output Garage Gate (Q0.0) will be in True State and P-sensor (I0.0) detects a car, the output Garage Gate (Q0.0) will turn ON (Q0.0) (Gate Opens).

Parking gate sensor logic

 When the status is Parking Paid

When Parking Paid (I0.1) is turned ON or (when status parking paid) and P-Sensor is turned ON ( P-Sensor detects a car), the output Garage Gate (Q0.0) will turn ON or ( Gate opens).

Car entry automation

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:

  • Up Down Counter Instruction in PLC Logic
  • Cars Garage Counter From the Same Door
  • PLC Logic Auto Sugar Bag Filling Station
  • SCADA Level Control System Software
  • PLC Programming Two-Hand Control
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

Data Handling Instructions in PLC Programming
Siemens PLC programming: BCD, Integer, Double Integer, Real
PLC Ladder Logic Example based on Set Coil and Reset Coil
PLC Connection between Instrument, Junction Box, Marshalling & System Cabinet
Siemens PLC Mathematics Instructions
One Shot Rising and One Shot Falling Instructions in PLC
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 Program for Ceramic Burning Oven Conveyor System
Difference between Compact PLC and Modular PLC
Boolean Logic to PLC Programming
Use of Regions in SCL Language
#10 PLC Best Practices – Assign Register Blocks by Function
Steps to Configure TCP/IP Communication in Siemens S7-1200 PLC
PLC Program for Alternate Output Circuit with Latched Function
Main differences between Sinking and Sourcing Circuits

Keep Learning

PLC Control for Baking Machines Logic

PLC Programming for Baking with Auto and Manual Modes

HMI screen for operator

Auto Tiffin Box Filling Station

Batch Mixing with PLC Ladder Logic Program

Batch Mixing with PLC Ladder Logic Program

Simple PLC example Hardware configurations

Muting Functions of Safety Control Circuits – PLC Example

Current to Voltage Conversion Circuit

How to Convert Current to Voltage using Resistor ?

PLC offline data of a project are compared

Compare Two Offline PLC Projects

Introduction to SCADA

Analog Input Card Resolution Effects on Accuracy

PLC Analog Input Card Resolution Effects on Accuracy

Learn More

statuses of all lamps and relay coils in the circuit

Analyze the Relay Circuit and Find the Status ?

Top PLC Manufacturers

PLC Brands Software Information

Shutdown Maintenance

The 5 Phases of Conducting Shutdown Maintenance

electronics-questions-and-answers

Electronics Questions & Answers

Industrial Gas Detection Systems

PLC based Gas Detection System using Ladder Logic Project

Sensors Objective Questions

Sensors Objective Questions

Electrical Welding Multiple Choice Questions and Answers

Electrical Welding Multiple Choice Questions and Answers (MCQ)

Problem on Solar Hot Air Collector and Variable Speed Fan

Problem on Solar Hot Air Collector and Variable Speed Fan

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?