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

RSLogix5000 PLC Program Backup procedure
Siemens PLC Mathematics Instructions
Failsafe Wiring Practices
Comparison of Control Loops – Open, Closed, Cascade, Feedforward, Ratio
Best Practices of PLC Wiring – Programmable Logic Controller
What is Recipe Management in SCADA?
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

How to Filter Digital and Analog Inputs in a PLC?
Siemens S7 1200 PLC configuration in TIA Portal
Basics of PLC Programming
Seven Segment Display Programming with Structured Text
Main differences between Sinking and Sourcing Circuits
PLC Functional Block Diagram for Logic Gates
Download a Ladder logic program to GE PLC
How to Program a Star-Delta System using 1 Button in PLC?

Keep Learning

Emergency Stop Push button

Emergency Stop Switch Spurious Trip

PLC Compressor Control Ladder Logic

PLC Compressor Control Ladder Logic

OpenPLC - PLC Training for Students - Free Tutorials & Courses

OpenPLC – PLC Training for Students – Free Tutorials & Courses

PLC Program for Forward and Reverse Motor control

3 Phase Motor Control using PLC Ladder Logic

SCADA and PLC Configuration

Examples of SCADA and PLC Configuration Systems

Omron PLC painting program

Product Painting PLC Program using Omron CX-Programmer

Types of PLC

Types of PLC

PLC Ladder Logic Door Open and Closing System

Which Language is Best for PLC Programming?

Learn More

Electro Magnetic Flow Meter Animation

Magnetic Flow Meter Animation

Counter Count Down Bit

Down Counter PLC Program

Valve Pneumatic Actuator

What is a Pneumatic Actuator ?

3-way solenoid valve Normally Open

What is a 3-way Solenoid Valve ?

Thermocouples Problem

Fire burnt Ammonia Converter Thermocouples Problem

overview-of-communication-protocols

Industrial Automation Communication Protocols

Fire-Triangle-in-Gas-Detection-System

Basics of Fire Detection System

Level-Transmitters-Animation

Level Transmitter Animation

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?