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: Smart Automation Solutions: PLC Logic for Stairway Lighting
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 > Smart Automation Solutions: PLC Logic for Stairway Lighting

Smart Automation Solutions: PLC Logic for Stairway Lighting

Implement smart home automation solutions using PLC logic for stairway lighting control with the help of sensors.

Last updated: May 2, 2024 12:30 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Implement smart home automation solutions using PLC logic for stairway lighting control with the help of sensors.

Contents
Stairway LightingHome Automation SolutionsInputs and OutputsPLC LogicProgram DescriptionPLC Code Testing

Disclaimer: This PLC programming example is for educational purposes only and is provided to study the ladder logic with simple applications.

Stairway Lighting

Problem Statement:

Design a PLC ladder logic for the following application.

We are using three sensors to control 3 Lights. There is one sensor in each place, there are three places so we need 3 sensors. The sensor will detect if there is any presence of a person in the respective place.

The Light on each step (or place) of the stair should remain ON for 10 seconds after the last detected movement.

Home Automation Solutions

This video helps you to implement smart automation for your home application using sensors and lights.

Inputs and Outputs

Digital Inputs:

Sensor 1: I0.0

Sensor 2: I0.1

Sensor 3: I0.2

Digital Outputs:

Light 1: Q0.0

Light 2: Q0.1

Light 3: Q0.2

PLC Logic

PLC Logic for Stairway Lighting

Program Description

We have used Normally Open Contact for Sensor 1(I0.0), Sensor 2 (I0.1), and Sensor 3 (I0.2).

In Rung 0:

  1. Normally Open Contact is used for Sensor 1 (I0.0) to Turn ON the output  Light 1 (Q0.0).
  2. Timer TOF is used to delay the turn-OFF time of the output Light 1 (Q0.0) for some time.

In Rung 1:

  1. Normally Open Contact is used for Sensor 2 (I0.1) to Turn ON the output  Light 2 (Q0.1).
  2. Timer TOF is used to delay the turn-OFF time of the output Light 2 (Q0.1) for some time.

In Rung 2:

  1. Normally Open Contact is used for Sensor 3 (I0.2) to Turn ON the output  Light 3 (Q0.2).
  2. Timer TOF is used to delay the turn-OFF time of the output Light 3 (Q0.2) for some time.

PLC Code Testing

Let’s test our PLC code with the simulation of different input statuses. We may show only the required part of the logic or rung instead of the complete program. We recommend you watch the above video for full details.

Rung 0:

Automated Stairwell Lighting System

When Sensor 1 (I0.0) gets activated, the output Light 1 (Q0.0) will turn ON as Normally Open Contact is used for Sensor 1 (I0.0) and the signal will flow through it.

Sensor-Controlled Staircase Illumination

When Sensor 1 (I0.0) turns OFF, the output Light 1 (Q0.0) remains ON but for a limited time because Timer Function Block type TOF is used to delay the turning OFF time of the output Light 1 (Q0.0) and time is set to 10 seconds.

After 10 seconds, the output Light 1 (Q0.0) will turn OFF.

Stair Lighting Solution

Rung 1:

Smart Sensor-Activated Stair Lights

The output Light 2 (Q0.1) will turn ON, when sensor 2 (I0.1) gets activated.

Motion-Sensing Stairway Lights

When Sensor 2 (I0.1) turns OFF, the output Light 2 (Q0.1) remains ON but for a limited time because Timer Function Block type TOF is used to delay the turning OFF time of the output Light 2 (Q0.1) and time is set to 10 seconds.

After 10 seconds, the output Light 2 (Q0.1) will turn OFF.

PLC Stair Light Automation

Rung 2:

PLC-Programmed Stair Lighting Automation

When Sensor 3 (I0.2) gets activated, the output Light 3 (Q0.2) will turn ON as Normally Open Contact is used for Sensor 3 (I0.2) and the signal will flow through it.

Programmable Logic Controller Staircase Lights

When Sensor 3 (I0.2) turns OFF, the output Light 3 (Q0.2) remains ON but for a limited time because Timer Function Block type TOF is used to delay the turning OFF time of the output Light 3 (Q0.2) and time is set to 10 seconds.

After 10 seconds, the output Light 3 (Q0.2) will turn OFF.

Automation of Stair Lights using PLC Logic

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:

  • Ladder Diagram Control using Timers
  • PLC Examples on Industrial Automation
  • Create Ladder Diagram from Boolean Logic
  • Control 3 Motors with Toggle Switch in PLC
  • PLC Projects based on Industrial Automation
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 !
Types of Allen Bradley PLC
What is Fail-safe in Siemens PLC?
Configuring and Usage of Cyclic Interrupts TIA Portal (OB 30+)
How is Data Stored in Standard Modbus Protocol?
Ladder Diagram Example using Memory Bits and Set Coils
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

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Types of Failures in Industrial Automation Systems

Types of Failures in Industrial Automation Systems

Why is 24 Volts Commonly used in PLC Systems?

Why is 24 Volts Commonly used in PLC Systems?

Web SCADA HMI

Web-based SCADA HMI Software

How Engineers Effectively do Problem-solve and Troubleshoot

How Engineers Effectively do Problem-solve and Troubleshoot?

Allen Bradley PLC ControlLogix Hardware

Allen Bradley PLC ControlLogix Hardware

PLC Program for Conveyor System

PLC Conveyor Ladder Logic Program

PLC Example on Manufacturing Line Assembly

PLC Example on Manufacturing Line Assembly

T-Junction Traffic Control System

T-Junction Traffic Control System – PLC Programming

More Articles

Stepper Motor Construction

Stepper Motor Basics, Types, Modes, Wiring, Questions

Simple Conveyor Control PLC Program

XG5000 Example of Simple Conveyor Control PLC Program

Analyzer chopper wheel

NDIR Analyzer Filter Cells

Under and Over-Capacity Control Valve

Under and Over-Capacity Control Valve Pose Poor Controllability

VHDL Projects for Engineering Students

100 VHDL Projects for Engineering Students

4-20mA Transmitter NAMUR Signal Levels

4-20mA Transmitter NAMUR Signal Levels

Instrumentation Project Documents

List of Instrumentation Project Engineering Documents

Power Electronics Objective Questions

Single Phase VSI Objective Questions

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?