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

Can a PLC Function Without an HMI or SCADA?
PID with Practical Example
PLC Timer Application in Security Camera Recording
Control Room and Field Instruments Questions and Answers
What is a Tag? Types of Tags in SCADA
Types of Cables used in Industrial Automation
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 Brands Software Information
Start the Counting from a Preset Value in PLC
Flood Warning System using Programmable Logic Controller
Difference between DCS, PLC, and RTU ?
Hardware Troubleshooting Steps for PLC Automation Systems
PLC based Drink Dispenser System
Siemens PLC Organization Blocks (OB)
Use of Isolators and Barriers in Electrical Panel

Keep Learning

0-10 VDC to 0-20 mA Conversion

How to Convert Voltage to Current using Resistor ?

Perfume filling system PLC program

CX Programmer Example: Perfume Mixing and Filling System

Ladder Logic of Motor Forward and Reverse

PLC Programming Example for Motor Forward and Reverse Control

Fish Farm Automation

Omron PLC Project: Fish Farm Automation Tutorial

Address Overlapping in Tia Portal

How to Check Address Overlapping in Tia Portal?

Extended Timer Logic in PLC

Extended Timer Logic in PLC

Things to Take Care of When Designing SCADA System

Things to Take Care of When Designing SCADA System

Allen Bradley RSLogix 500 PLC Programming

Learn More

HART Transmitters Loop Checks

Loop Check of 4-20mA or HART Transmitters

Fasteners and General Corrosion of Electrical Motors

Fasteners and General Corrosion of Electrical Motors

Methods of Transistor Biasing

Methods of Transistor Biasing

Variable Speed Control of Propulsion Motor for VSI and CSI type Frequency Converters

Speed Control of Ship Electrical Motor Propulsion

Marking Polarity

DC Circuit Analysis Loop Equations

Pneumatic Moment-balance Differential Pressure Transmitter

Pneumatic Moment-balance Differential Pressure Transmitter

Electricity Generated From Wind Energy

How is Electricity Generated From Wind Energy?

What is calibration?

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?