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: Parking Lights PLC Program Explained with Video
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 > Parking Lights PLC Program Explained with Video

Parking Lights PLC Program Explained with Video

The parking lights PLC program designed for home automation to control the lights based on sensor input with video explanation.

Last updated: May 16, 2024 7:38 am
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

The parking lights PLC program is designed for home automation to control the lights based on sensor input with video explanation.

Contents
Parking LightsPLC Program Explained with VideoInputs and OutputsLadder LogicProgram DescriptionSimulation Results

Note: This PLC logic is designed for learners to practice the ladder logics to improve their skills.

Parking Lights

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one Button, one toggle Switch, and one sensor to control Lights, Exit Light, and Parking Light.

When the Lights are turned OFF in a building, an Exit Door Light remains ON for 15 seconds.

After that, the Parking Lot Lights get ON until the car gets out of the parking.

PLC Program Explained with Video

This PLC program video explains the parking lights logic with basics.

PLC Programming for Home Automation Parking Lights Example Logic

Inputs and Outputs

Digital Inputs:

Start Button: I0.0

Light OFF: I0.1

Sensor: I0.2

Digital Outputs:

Light 1: Q0.0

Light 2: Q0.1

Light 3: Q0.2

Light 4: Q0.3

Exit Light: Q0.4

Parking Light: Q0.5

Ladder Logic

Parking Lights PLC Program Explained with Video

Program Description

We have used Normally Open Contacts for the Start Button (I0.0, Lights OFF (I0.1), and Memory Bit (M0).

We have used Normally Closed Contacts for Exit Light (Q0.4) and Sensor (I0.2).

In Rung 0:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON Memory Bit (M0).
  2. Memory Bit (M0) is latched so that when the Start Button (I0.0) turns OFF, Memory Bit (M0) still remains ON.

In Rung 1:

  1. Normally Open Contacts are used for Memory Bit (M0) and Lights OFF (I0.1)  to Turn OFF the outputs Light 1 (Q0.0), Light 2 (Q0.1), Light 3 (Q0.2), Light 4 (Q0.3).
  2. Normally Open Contacts are used for Memory Bit (M0) and Lights OFF (I0.1)  to Turn ON the output Exit Light (Q0.4)
  3. Timer Function Block type TP is used to turn ON the output Exit Light (Q0.4) for a limited time.

In Rung 2:

  1. Normally Open Contacts are used for Memory Bit (M0) and Lights OFF (I0.1)  to Turn ON the output Parking Light (Q0.4).
  2. Normally Closed Contacts are used for the Exit Light (Q0.4) and Sensor (I0.2)  to Turn ON the output Parking Light (Q0.4)

Simulation Results

We simulate the PLC program and discuss the results. We may show the partial logic instead of the complete code.

Rung 0:

When the Start Button (I0.0) is pressed and released, Memory Bit (M0) turns ON and stores the data that the Start Button (I0.0) is pressed the first time as Memory bits store the data.

Program Parking Lot Control with PLC Simulator

Memory Bit (M0) is latched so that when the Start Button (I0.0) is released, Memory Bit (M0) still remains ON.

Parking Lot Automation PLC Tutorial

Rung 1:

When Memory Bit  (M0) turns ON in Rung0, Normally Open Contact used for Memory Bit  (M0) in Rung1 will be in True State and will pass the signal through it.

A PLC program for parking lights

When Light OFF Switch (I0.1) is turned ON, the outputs Light 1 (Q0.0), Light 2 (Q0.1), Light 3  (Q0.2) and Light 4 (Q0.3) will turn OFF as Negated Coils are used for the outputs Light 1 (Q0.0), Light 2 (Q0.1), Light 3  (Q0.2) and Light 4 (Q0.3).

PLC Programming for Home Automation Parking Lights

Also, when Memory Bit (M0) and Light OFF switch (I0.1) are turned ON, the output Exit Light (Q0.4) will turn ON ( immediately after Lights turn OFF in the building) but the output Exit Light (Q0.4) will turn OFF after some time as timer Function Block type TP is used to turn ON the output Exit Light (Q0.4) for a limited time.

The time is set to 15 seconds. After 15 seconds, the output Exit Light (Q0.4) will turn OFF (Exit Door Light turns OFF).

Rung 2:

home automation to control the lights based on sensor

When Memory Bit (M0) turns ON, Light OFF switch (I0.1) is turned ON (Lights turns OFF in building), Exit Light (Q0.4) turns OFF (Exit door light turns OFF) and Sensor (I0.2) gets deactivated (Car gets out of parking), the output Parking Light (Q0.5) turns ON ( Parking lot lights gets ON).

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:

  • Complex PLC Programming Examples
  • Traffic Lights PLC Program using Timers
  • PLC Programming for Trash Compactor
  • Playground Swing PLC Logic Programming
  • PLC Programming for the Pump to fill the tank
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

How to Backup and Restore from Simatic Prosave HMI?
Drilling Process using PLC Program
Compare Two Offline PLC Projects
PLC Compressor Control Ladder Logic
Product Painting PLC Program using Omron CX-Programmer
Preventive Maintenance of Variable Frequency Drive (VFD)
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

Shutter Door Control using Motor and Limit Switches
DCS
WHILE DO Statement in SCL Language
Learn about SCADA and HMI Systems
Contactor – Basics, Wiring, Connection with PLC
PLC Code to Start & Stop Motor and Pump as per Logic
Run 4 Motors Sequentially from Same Push button PLC Program
PLC Programming for Fan Control Unit System for Industry

Keep Learning

Siemens micro memory card

Micro Memory Card (MMC) in Siemens PLC

Structured Text PLC Program for Measuring Event Duration

Structured Text PLC Program for Measuring Event Duration

PLC Ladder Logic for Lube Oil Pump Motor

PLC Ladder Logic for Lube Oil Pump Motor

Function Module in Siemens PLC

What is Function Module in Siemens PLC?

Wood Sawing and Blower System PLC Control Design

Wood Sawing and Blower System: PLC Control Design

Multi Way Switches using PLC

Making Multi Way Switches using PLC

PLC Wiring

PLC Wiring Questions for Technicians and Engineers

Siemens Profibus Interface DP

How to Create New Project Using Simatic Manager

Learn More

LED Stumps in Cricket

How do LED Stumps in Cricket Work?

Temperature-gauge-calibration

Temperature Sensor calibration procedure

What is a Bus Coupler in Electrical Panel

What is a Bus Coupler in Electrical Panel?

Transistor Failure Rate Calculation

Transistor Failure Rate Calculation

Explain What these Spool Valve Represent

Explain What these Spool Valve Symbols Represent?

Industrial Gas Detection Systems

PLC based Gas Detection System using Ladder Logic Project

PLC programming for clothes washing machine automation

LS Electric PLC Program Example: Clothes Washing System

Strip-Chart-Recorder-Working-Principle

Strip Chart Recorder Working Principle

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?