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
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

What is Fail-safe in Siemens PLC?
PLC based 4 Way Traffic Light Control System
Electrical Ladder Diagram Control using Timers Example
LIFO Instruction in PLC
Toggle Switch & Sensor: Conveyor and Puncher PLC Program
How to choose between PLC and DCS Systems ?
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 Electric Motor Interlocks
Function Blocks in PLC (FBs) – What You Need To Know?
PLC or DCS Control System Spares
PLC Permissive for Motor Control
#12 PLC Best Practices – Validate Inputs based on Physical Plausibility
Allen Bradley PLC Interview Questions and Answers
UPS Selection Factors for a Control System
PLC Cooking Timer Example for Kitchen Automation

Keep Learning

Liquid Temperature Control System

Siemens TIA Portal Project: Liquid Temperature Control System

PLC Tag Naming Conventions

PLC Tag Naming Conventions

Forward Reverse Motor Control with Repeat Cycle Using PLC

Electric Motor Forward Reverse with Repeat Cycle PLC Logic

How to program a running hours meter in PLC

Allen Bradley Studio 5000: Motor Running Hours PLC Program

Omron PLC Mixing System

Mixing Program with Timers and Counters in Omron PLC

Introduction to PLC

#9 PLC Best Practices – Validate indirections

Retentive Timer (RTO)

Timer in Studio 5000 – TON, TOF, RTO

Multi Way Switches using PLC

Making Multi Way Switches using PLC

Learn More

Electrodynamometer Movement Principle

Electro-Dynamo Meter Movement

Cable Drum Handling

What is Cable Drum Handling? – Transportation & Storage

Blowout preventer (BOP) Principle

Blowout preventer (BOP) Principle

Custody Transfer Meter Checks

Checklist for Custody Transfer Meters: Mass Flowmeter

Why 24 Volts DC Power Supply

Why 24 Volts DC Power Supply is used? – Industrial Automation Systems

Lube Oil Console

Immersion Heaters in Lube Oil Consoles

Electromagnetic Noise Interference

What is Electromagnetic Noise Interference?

Demystifying Reynolds Number

Why Viscosity is Not Included in the Orifice Equation?

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?