Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Automated Garage Gate Control – PLC Ladder Logic
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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.

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 !
PLC Program to Drain Same Products from Two Tanks
PLC Programming Example on Multi-Motor Control for Beginners
4-20mA Loop Power Supply Questions and Answers
SFC Language in PLC Programming
PLC Program to Control Gas Pressure using Closed-Loop
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

DCS Commissioning Steps

DCS Commissioning Steps

OB and FB Blocks in Siemens PLC

Procedure for Siemens S7-300 Download from PC to PLC

PLC ON DELAY TIMER FUNCTION

#6 PLC Best Practices – Validate Timers and Counters

Midline output instruction

What is Midline Instruction in Siemens PLC?

PLC Ladder Logic for Demultiplexer

1 to 8 Demultiplexer PLC ladder diagram

Automatic Coffee Machine

Automatic Coffee Vending Machine – PLC Logic Programming

Control Methods in Servo Motor Drives

Various Control Methods in Servo Motor Drives

Using Clock Memory Bits in TIA Portal - Siemens PLC

Using Clock Memory Bits in TIA Portal – Siemens PLC

More Articles

Heating and Welding Objective Questions

Heating and Welding Objective Questions

Download Free Robotics Software

Step by Step Guidelines to Download Free Robotics Software

Control Panel

What is a Control Panel and its types?

Magnetostrictive instruments

Magnetostrictive Level Measurement

Pressure Transmitters Purged impulse lines - 2

Pressure Transmitters Purged impulse lines

How to Find the Correct Solenoid Valve Size

How to Find the Correct Solenoid Valve Size?

Turbidity Sensor Calibration Procedure

Turbidity Sensor Calibration Procedure

Analog Electronics Objective Questions

Analog Electronics Objective Questions – Set 11

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?