Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Schneider Electric: Car Parking System with Calculations in PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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 !
Comparison Instructions in PLC Programming
Types of Industrial Control Systems
Use of Regions in SCL Language
How to do Force in GE PLC Proficy Machine Edition?
Free Siemens PLC Training Course
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

Single Line Diagram of UPS System

UPS Selection Factors for a Control System

Sequential Operation of Output Bits using Two Push buttons

Sequential Operation of Output Bits using Two Push buttons

Timer-based vacuum cleaner in Schneider PLC

Schneider Electric PLC Timer Problem: Vacuum Cleaner

ON DELAY TIMER AS OFF DELAY TIMER

How to Interchange ON Delay Timer and OFF Delay Timer in a PLC

PLC Programming Sequence Logic

PLC Programming to Control Lights in a Sequence

Open Loop and Closed Loop System Questions

Open Loop and Closed Loop System Questions Answers

Encode and Decode Instructions

How to Use Encode and Decode Instructions in PLC ?

Scan cycle of a Siemens PLC

OB1 – Main Cyclic Organization Block in TIA Portal

More Articles

Allen-Bradley VFD

Motor VFD Drive features

Zone vs Class - Division

Zone vs Class / Division

principle of time base generator

Time Base Generator

Voltage Control Methods at Distribution System

Factors affect Voltage Level Selection in Service System

NDIR GAS ANALYSER WORKING PRINCIPLE ANIMATION

NDIR Gas Analyser Working Principle

PLC and MCC Panel Interface Design

PLC Panel and MCC Panel Interface Signals

Functional block diagram for analog alarms

PLC Logic for Analog Alarms using Functional Block Diagram

PLC Programmer Tools

Tools Required for PLC Programmer to Carry at Site

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?