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: Schneider Electric: Car Parking System with Calculations in PLC
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 > Schneider Electric: Car Parking System with Calculations in PLC

Schneider Electric: Car Parking System with Calculations in PLC

Learn to program a car parking system with Schneider Electric PLCs including detailed calculations and step-by-step instructions.

Last updated: July 1, 2024 2:36 pm
Editorial Staff
PLC Tutorials
No Comments
Share
8 Min Read
SHARE

Learn to program a car parking system with Schneider Electric PLCs including detailed calculations and step-by-step instructions.

Contents
Car Parking System with CalculationsPLC Logic ExplanationInputs and Outputs DetailsPLC Programming

Car Parking System with Calculations

This article discusses car parking systems which are widely used in Malls, Offices, and other Public Places. This system has 1 GATE to Enter the parking area and 1 GATE to Exit the parking area.

Every car Entering and Exiting the parking area will be recorded on the system. When the car is detected then the GATE will Open (Up) and then it will Close (Down) after the car passes through the GATE.

PLC Logic Explanation

Schneider Electric Car Parking System with Calculations in PLC
PLC Based Automatic Intelligent Car Parking System
Smart Parking System with PLC

This PLC program has 3 buttons, The START_SYSTEM (I0.0) button is used to Activate the system, the STOP_SYSTEM (I0.1) button is used to Stop the system, and the RESET_COUNTER (I0.2) button is used to Reset the COUNTER (MW0) Memory data to the Zero value “0”.

“GATE IN” and “GATE OUT” have a similar system and each has 4 sensors. For example, in “GATE IN”, the SENS_CAR_IN1 (I0.3) sensor is used to detect a car that is about to Enter, the LS_GATE_IN_UP (I0.7) sensor is used as a limiter for the maximum number of cars through the GATE. The SENS_CAR_IN2 (I0.4) sensor is used to detect the car has passed through the exit GATE, The LS_GATE_IN_DOW (I0.8) sensor is used for the lowest point limiter for the GATE.

When the SENS_CAR_IN1 (I0.3) sensor is Active, it will Activate the GATE_IN_UP (Q0) output so that the GATE Opens. GATE will Stop Opening/Rising when Sensor LS_GATE_IN_UP (I0.7) is Active. After the car passes the GATE, the SENS_CAR_IN2 (I0.4) sensor will be Active for a moment and Activate the GATE_IN_DOWN (Q1) output. GATE Closes again and it will Stop the lowering command when Sensor LS_GATE_IN_DOWN (I0.8) is Active.

When the SENS_CAR_IN1 (I0.3) sensor is Active, the data in the Word COUNTER (D0) memory will increase (+1). When the SENS_CAR_OUT1 (I0.5) sensor is Active, the data in the Word COUNTER (D0) memory will decrease (-1).

Inputs and Outputs Details

Addressing Input, Output, TIM, Bit Memory, and Word Memory details are as follows.

CommentInput (I)Output(Q)Word MemoryMemory Bits
START_SYSTEMI0.0   
STOP_SYSTEMI0.1   
RESET_COUNTERI0.2   
SENS_CAR_IN1I0.3   
SENS_CAR_IN2I0.4   
SENS_CAR_OUT1I0.5   
SENS_CAR_OUT2I0.6   
LS_GATE_IN_UPI0.7   
LS_GATE_IN_DOWNI0.8   
LS_GATE_OUT_UPI0.9   
LS_GATE_OUT_DOWNI0.10   
COUNTER  MW0 
IR_SYSTEM   M0
IR_GATE_IN_UP   M1
IR_GATE_IN_DOWN   M2
IR_GATE_OUT_UP   M3
IR_GATE_OUT_DOWN   M4
GATE_IN_UP Q0  
GATE_IN_DOWN Q1  
GATE_OUT_UP Q2  
GATE_OUT_DOWN Q3  

PLC Programming

RUNG 0 (SYSTEM 0N)

When the START_SYSTEM (I0.0) button is pressed then the IR_SYSTEM (M0) Bit Memory Coil will be Active. Because it uses the Latching function, the IR_SYSTEM (M0) Bit Memory Coil will remain active even though the START_SYSTEM (I0.0) button is released.

Bit Memory Coil IR_SYSTEM (M0) will be OFF when STOP_SYSTEM (I0.1) contact is ON.

Car Parking System PLC Program Example

RUNG 1 (COUNTER AREA)

This Rung functions to Add, Subtract, and Reset COUNTER (D0) data. When the SENS_CAR_IN1 (I0.3) sensor is ON, the data on COUNTER (D0) will increase (+1).

When the SENS_CAR_OUT1 (I0.5) sensor is ON, the data on COUNTER (D0) will decrease (-1). When the RESET_COUNTER (I0.2) button is pressed, the data on COUNTER(D0) will be reset to Zero “0”.

RUNG 2 (GATE IN UP)

When the IR_SYSTEM (M0) contact and SENS_CAR_IN1 (I0.3) are ON, the IR_GATE_IN_UP (M1) Coil will be Active. Because the IR_GATE_IN_UP (M1) Coil uses the Latching function, the IR_GATE_IN_UP (M1) Coil will remain active even though the SENS_CAR_IN1(I0.3) sensor is OFF. When the LS_GATE_IN_UP (I0.7) contact is Active, the IR_GATE_IN_UP (M1) coil will be Disabled.

RUNG 3 (GATE IN DOWN)

When the IR_SYSTEM (M0) contact and SENS_CAR_IN2 (I0.4) are ON, the IR_GATE_IN_DOWN (M2) Coil will be Active. Because the IR_GATE_IN_DOWN (M2) Coil uses the Latching function, the IR_GATE_IN_DOWN (M2) Coil will remain active even though the SENS_CAR_IN2 (I0.4) sensor is OFF. When the LS_GATE_IN_DOWN (I0.8) contact is Active, the IR_GATE_IN_DOWN (M2) coil will be Disabled.

Car Parking System with Calculations

RUNG 4 (GATE OUT UP)

When the IR_SYSTEM (M0) contact and SENS_CAR_OUT1 (I0.5) are ON, the IR_GATE_OUT_UP (M3) Coil will be Active. Because the IR_GATE_OUT_UP (M3) Coil uses the Latching function, the IR_GATE_OUT_UP (M3) Coil will remain Active even though the SENS_CAR_OUT1 (I0.5) contact has been Disabled. When the LS_GATE_OUT_UP (I0.9) contact is Active, the IR_GATE_OUT_UP (M3) coil will be Disabled.

RUNG 5 (GATE OUT DOWN)

When the IR_SYSTEM (M0) contact and SENS_CAR_OUT2 (I0.6) sensors are ON, the IR_GATE_OUT_DOWN (M4) Coil will be Active. Because the IR_GATE_OUT_DOWN (M4) Coil uses the Latching function, the IR_GATE_OUT_DOWN (M4) Coil will remain active even though the SENS_CAR_OUT2 (I0.6) contact has been Disabled. When the LS_GATE_OUT_DOWN (I0.10) contact is Active, the IR_GATE_OUT_DOWN (M4) coil will be Disabled.

Programming a PLC based car Parking

RUNG 6 (OUTPUT_GATE_IN_UP)

When the IR_SYSTEM (M0) contact and IR_GATE_IN_UP (M1) contact are ON, the GATE_IN_UP (Q0) Output Coil will be Active.

RUNG 7 (OUTPUT_GATE_IN_DOWN)

When the IR_SYSTEM (M0) contact and IR_GATE_IN_DOWN (M2) contact are ON, the GATE_IN_DOWN (Q1) Output Coil will be Active.

RUNG 8 (OUTPUT_GATE_OUT_UP)

When the IR_SYSTEM (M0) contact and IR_GATE_OUT_UP (M3) contact are ON, the GATE_OUT_UP (Q2) output contact will be Active.

RUNG 9 (OUTPUT_GATE_OUT_DOWN)

When the IR_SYSTEM (M0) contact and IR_GATE_OUT_DOWN (M4) contact are ON, the GATE_OUT_DOWN (Q3) output contact will be Active.

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:

  • Parking Garage Indicator PLC System
  • How to Select the Right Encoder for Machine?
  • Water Pump PLC Program using CX-Programmer
  • PLC Logic for Water Pumping and Chemical Addition
  • Program Using Studio 5000 and FactoryTalk View Studio
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

PLC Programming for Pumping and Draining System
What is Nest Loading? – DCS and PLC Control Systems
PLC Programming: Sorting and Distribution of Boxes by Height
Difference between Machine Expert Basic and Machine Expert – Schneider PLC
Wet Contacts and Dry Contacts in PLC Systems
Workstation Healthiness Checks
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

Design Counters in PLC Programming With a Move Instruction
Functions of SCADA
FOR DO Statement in SCL Language
STL Programming – SET, RESET, ASSIGN
Why Use a Current Loop?
100 PLC Quiz Questions : True or False
GET Command – Siemens PLC-to-PLC Communication Project
How to Download EcoStruxure Machine Expert? Schneider PLC Software

Keep Learning

PLC Program for fan control unit system

PLC Programming for Fan Control Unit System for Industry

PLC Structured Text Program for Output Generation via Equations

PLC Structured Text Program for Output Generation via Equations

4-20mA Loop Power Supply Questions

4-20mA Loop Power Supply Questions and Answers

Timer-based vacuum cleaner in Schneider PLC

Schneider Electric PLC Timer Problem: Vacuum Cleaner

Connection between PLC and Contactor

Contactor – Basics, Wiring, Connection with PLC

Siemens PLC Device and Network

Difference Between PLCSIM and PLCSIM Advanced? – Siemens PLC

Augmented Reality and Virtual Reality in Industrial Automation

Augmented Reality and Virtual Reality in Industrial Automation

PLC Program for Two ways switch logic for staircase light

PLC Program for Two Way Switch Logic

Learn More

How to Setup a Smart Transmitter Using a HART Communicator

How to Configure a Smart Transmitter Using a HART Communicator?

DDE Protocol

What is the DDE Protocol?

Formula for Linear mA to Square root mA conversion

Electric Motor Actuators

What is Motor Actuator ?

multi-hole-restriction-orifice-plate

Basics of Restriction Orifice (RO) – Types, Applications, Standards

TIA Portal MOVE Instruction

MOVE Instruction in PLC – What You Need to Know?

DC Motor Action

DC Motor Speed

Industrial Automation Acronyms

111 Industrial Automation Acronyms Questions and Answers

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?