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

Concept of DCS in Industrial Automation
PLC Motor Logic with START, STOP, TEST Push buttons
Batch Simulator PLC Example Program using LogixPro Simulator
Communicating Between Siemens PLC and Other PLC Brands
How to Work With Simulator in S7-1200 and S7-1500 PLC?
PLC System Documentation
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

Instrumentation Earthing
#12 PLC Best Practices – Validate Inputs based on Physical Plausibility
Automatic Empty Bottle detection using PLC Logic
PLC Program for Ceramic Burning Oven Conveyor System
Configuration of InTouch Scada Trends
Types of SCADA System Architecture
PLC Program for Automatic Mixing Control in a Tank
Free Allen Bradley PLC Ladder Logic Training Course

Keep Learning

OFF Delay Timer using PLC

OFF Delay Timer using PLC

PLC Best Practices

#1 PLC Best Practices – Split PLC Code into Modules

Data Instance in PLC

Tia Portal – Different Instances of Calling a Function Block

Omron PLC Mixing System

Mixing Program with Timers and Counters in Omron PLC

Top Automation Vendors

Top Automation Vendors from Around the World – An Overview

HMI screen for operator

#8 PLC Best Practices – Validate HMI Input Variables at PLC Level

PLC Question Bank

PLC Question Bank

PLC Programming for Tank Farm Management

Tank Farm Management System: CX-Programmer [OMRON]

Learn More

Characteristics of Protective Relay

What is a Protective Relay? Principle, Advantages, Applications

Measurement of Impedance Objective Questions

Measurement of Impedance Objective Questions

Mechanical Strainers

Strainers

Oscillating Piston Flow Meters Principle Animation

Nutating Disc Flow Meters Working Principle

Emergency Stop Push button

Emergency Stop Switch Spurious Trip

Single Phase Motor Manual Controller

Motor Controllers

Electric Motors Efficiency Classes

Electric Motors Efficiency Classes

Difference between Smart Transmitter and Ordinary Transmitter

Difference between Smart Transmitter and Ordinary Transmitter

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?