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: Structured Text in PLC: Parking Information Systems
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 > Structured Text in PLC: Parking Information Systems

Structured Text in PLC: Parking Information Systems

Learn how to automate parking information systems using Structured Text in PLC programming for engineering students.

Last updated: October 24, 2024 11:15 am
Viral Nagda
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Car parking is an application where automation is very important and works the best. Due to the amount of vehicles coming and going, it is necessary that the parking lot has proper control over them. Otherwise, there is no use to manage the volume of such vehicles. For this purpose, let us create a sample program for such vehicle management. In this post, Learn how to automate parking information systems using Structured Text in PLC programming for engineering students.

Contents
Parking Information SystemsStructured Text in PLC

Parking Information Systems

Let us understand the case scenario first. We have a parking lot where there are three slots for car parking. The lot has a gate which opens automatically based on car sensing at the incoming or the outgoing and closes automatically based on no car sensing at the incoming and outgoing.

When an incoming car is sensed and a slot is empty inside, then the gate opens. Also, when an outgoing car is sensed, then too the gate will open. When both the sensors are not sensed for 10 seconds, the gate closes. When the slot is full, a lamp depicting occupied will turn on and when any slot becomes empty, the lamp will turn off. For sensing three slots, three sensors are used.

Structured Text in PLC

We will write the PLC STL logic now. For this, we will use Studio 5000 software of Rockwell automation and structured text language. We have the following PLC inputs – slot 1 sensor, slot 2 sensor, slot 3 sensor, incoming car sensor, and outgoing sensor. We have the following PLC outputs – gate open and lamp indication.

Let us have a look at the STL logic now. Refer to the below image. First, we will see how to check whether the lot is full or not. As we have three sensors for the corresponding three slots, if all the sensors are receiving signals, that means a car is present in each slot. So, we turn on a bit named slot_full, else the bit will remain off. When the slot is full, we also turn on a lamp parallelly, or else the lamp will remain off.

Structured Text in PLC: Parking Information Systems

Next, we will write the logic for opening the gate. If the incoming sensor is sensed and the slot is not full, then the output of the car gate will open. Also, if the outgoing sensor is sensed, then too the gate will open to let the vehicle go out.

The output is single-acting; if it is on, then the gate will open and lock mechanically, and if it is off, then the gate will close and lock mechanically. If the gate is opening or closing, and an inverse command is received in between, then it will act immediately. If the incoming sensor is sensed and the slot is full, then the driver will get to know this through the lamp we turned on. So, he will wait or leave till any slot becomes empty.

Now, we will write the logic for closing the gate. When a car is incoming, it will obviously pass through the outgoing sensor when the gate opens. When a car is outgoing, it will obviously pass through the incoming sensor when the gate opens. So, we are using a timer of 10 seconds to check whether any sensor is sensed or not. If the timer is done, then the gate command turns off and the gate will close.

In this way, we saw how to write a PLC program for parking information using structured text language.

Read Next:

  • Functional Block Diagram Analog Alarm Logic
  • Timer-Based Sequential PLC Programming
  • LS Electric PLC Program Example System
  • Waste-Burning System PLC Program Example
  • Sorting System with Color Detection PLC Logic

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

Shutter Door Control using Motor and Limit Switches
PLC Electric Motor Interlocks
PLC Based Product Sorting Machine System – Lift Control
Learn PLC in Hindi
Distributed IO Sharing Between PLC Systems – Technical Insights
Ladder Logic Example with Timers
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 Programming Example using Limit Switch
Siemens HMI Training – Using UDTs with Faceplates
SCADA Engineer Job Responsibilities and Skills
PLC Latching Function
Basic PLC Exercise on Heater and Cooler for Students
OMRON PLC Tutorial: Car Parking System Application
Can a PLC Function Without an HMI or SCADA?
PLC Programming in Hindi – Siemens Tia Portal Full Course Free

Keep Learning

PLC Scan Time

PLC Scan Time

Historical Scada graph

Configuration of InTouch Scada Trends

Example of Automated Guided Vehicle with PLC

Example of Automated Guided Vehicle with PLC

Omron CX programmer shift register

The Concept of Shift Register in Omron PLC with Example

Thin Client in SCADA

What is Thin Client in SCADA? – Purpose, Advantages

Architecture of Allen Bradley PLC

Architecture of Allen Bradley PLC

How-to do Security of SCADA Systems

How-to do Security of SCADA Systems?

Surface Grinding Process using PLC Program

Surface Grinding Process using PLC Program

Learn More

noise-abatement trim

Control Valve Noise Problems

What is Static Grounding

What is Static Grounding?

PLC Programming Example on Timers Function Block

PLC Programming Example on Timers Function Block

Ionization Transducers Objective Questions

Ionization Transducers Objective Questions

Control Systems Stability and Algebraic Criteria

Routh-Hurwitz Stability Criterion

SIL Levels

Understanding Safety Integrity Level IEC 61511

Preventive Maintenance of Variable Frequency Drive

Preventive Maintenance of Variable Frequency Drive (VFD)

Sensors and Transducers Test

Sensors and Transducers Test

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?