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: Machine Indicator Lights: PLC Programming Solution
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 > Machine Indicator Lights: PLC Programming Solution

Machine Indicator Lights: PLC Programming Solution

In this article, you will learn the warning light system and the PLC programming solution for the machine indicator lights.

Last updated: April 30, 2024 7:37 am
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

In this article, you will learn the warning light system and the PLC programming solution for the machine indicator lights.

Contents
Machine Indicator LightsPLC Programming SolutionInputs and OutputsPLC Ladder LogicProgram DescriptionSimulation Results

Note: These PLC problems offer an opportunity for the students to practice the programs.

Machine Indicator Lights

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one Push Button to control Machine 1, Machine 2, Red Light 1, Red Light 2, Green Light 1, and Green Light 2.

Suppose you have a warning Light system to indicate whether a Machine is running or not.

Two Red Lights will indicate individual Machine 1 and Machine 2 running status. These machines operate for 10 seconds and 20 seconds respectively.

Two Green Lights will indicate when machines are not operating.

PLC Programming Solution

Instrumentation Tools provides free PLC programming solutions for industrial examples.

This PLC logic video explains the indicator lights program.

PLC Programming for Machine Indicator Lights Example

Inputs and Outputs

Digital Inputs:

Start Button: I0.0

Digital Outputs:

Machine 1: Q0.0

Machine 2: Q0.1

Red Light 1: Q0.2

Red Light 2: Q0.3

Green Light 1: Q0.4

Green Light 2: Q0.5

PLC Ladder Logic

Machine Indicator Lights PLC Programming Solution

Program Description

We have used Normally Open Contacts for Start Button(I0.0) and Memory Bits.

In Rung 0:

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

In Rung 1:

  1. Normally Open Contact is used for Memory Bit 1 (M0) to Turn ON Memory Bit 2 (M1) and Memory Bit 3 (M2).
  2. Timer-type TP is used to Turn ON Memory Bit 2 (M1) for a limited time.
  3. Time-type TON is used to delay the turning ON time of Memory Bit 3 (M2) for some time.
  4. Timer-type TP is used to Turn ON Memory Bit 3 (M2) for a limited time.

In Rung 2:

  1. Normally Open Contact is used for Memory Bit 2 (M1) to Turn ON the outputs Machine 1 (Q0.0), Red Light 1 (Q0.2), and Green Light 2 (Q0.5).

In Rung 3:

  1. Normally Open Contact is used for Memory Bit 3 (M2) to Turn ON the outputs Machine 2 (Q0.1), Red Light 2 (Q0.3), and Green Light 1 (Q0.4).

Simulation Results

Now we simulate the PLC program and analyze the results. Please note that we may show the partial logic code instead of the complete program.

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

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

Programmable Logic Controller for warning lights

When Memory Bit 1 (M0) turns ON in Rung0, Normally Open Contact used for Memory Bit 1 (M0) in Rung1 will be in True State and will pass the signal to turn ON Memory Bit 2 (M1) and Memory Bit 3 (M2).

PLC programming example of warning light system

When Memory Bit 2 (M1) turns ON in Rung1, Normally Open Contact used for Memory Bit 2 (M1) will be in True state and pass the signal to turn ON the outputs Machine 1 (Q0.0), Red Light 1 (Q0.2) {which indicates Machine 1 (Q0.0) is ON} and Green Light 2 (Q0.5) {which indicates Machine 2 (Q0.1) is OFF}.

How to interlock the lights using PLC ladder logic program

In Rung1, Memory Bit 2 (M1) turns OFF after some time as Timer Function Block type TP is used to turn ON Memory Bit 2 (M1) for a limited time.

The time is set to 10 seconds.

Warning Signal Ladder Logics

After 10 seconds, Memory Bit 2 (M1) turns OFF. When Memory Bit 2 (M1) turns OFF in Rung1.

Normally Open Contact used for Memory Bit 2 (M1) will be in a false state and does not allow the signal to pass through it and the outputs Machine 1 (Q0.0), Red Light 1 (Q0.2), and Green Light 2 (Q0.5) will turn OFF.

PLC based Project using indication lights

When Memory Bit 1 (M0) turns ON in Rung1, Memory Bit 3 (M2) will turn ON after 10 seconds (i.e immediately after Memory Bit 2 (M1) turns OFF) as Timer Function Block type TON is used to delay the turning ON time of Memory Bit 3 (M2).

The time is set to 10 seconds.

Machine Monitoring and Indication Solutions

After 10 seconds, Memory Bit 3 (M2) will turn ON. When Memory Bit 3 (M2) turns ON in Rung1.

Normally Open Contact used for Memory Bit 3 (M2) will be in True state and pass the signal to turn ON the outputs Machine 2 (Q0.1), Red Light 2 (Q0.3) {which indicates Machine 2 (Q0.1) is ON} and Green Light 1 (Q0.4) {which indicates Machine 1 (Q0.0) is OFF}.

PLC Ladder program to turn on a light

In Rung1, Memory Bit 3 (M2) turns OFF after some time as Timer Function Block type TP is used to turn ON Memory Bit 3 (M2) for a limited time.

The time is set to 20 seconds. After 20 seconds, Memory Bit 3 (M2) turns OFF.

develop a PLC program for lighting control

When Memory Bit 3 (M2) turns OFF in Rung1, Normally Open Contact used for Memory Bit 3 (M2) will be in a false state and does not allow the signal to pass through it and the outputs Machine 2 (Q0.1), Red Light 2 (Q0.3) and Green Light 1 (Q0.4) will turn OFF.

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:

  • Alarm Indication in Process Control Ladder Logic
  • Automatic Car Washing using PLC Programming
  • Light Tower Industrial Automation Programming
  • Modbus Communication Questions and Answers
  • Three Motors control PLC Programming Logic
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 Motor Logic with START, STOP, TEST Push buttons
How to Code a FIFO Queue in STL Language in Siemens PLC?
How to Download EcoStruxure Machine Expert? Schneider PLC Software
Programming Schneider PLC Manual Sequential Machine
Move Instruction in Tia Portal
PID in Siemens TIA Portal
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

PLC Program for Bank Counter Application
Software Redundancy in Siemens PLC – Hardware versus Software
PLC Logic Functions
Top 100 PLC Objective Questions and Answers
Ladder Logic for Flow Meter Totalizer
PLC Program for Alternate Output Circuit with Latched Function
PLC Program for Entry and Exit Control of Car Parking
Difference between DCS & PLC Systems

Keep Learning

Omron CX programmer shift register

The Concept of Shift Register in Omron PLC with Example

Converter Instruction in Siemens PLC Programming

Converter Instruction in Siemens PLC Programming

PLC Program for Valves

PLC Pump Permissive Interlocks

Structured Control Language (SCL) Elements

Value Assignments in SCL Language – Single, Multiple, Combined

Counter Count Down Bit

Down Counter PLC Program

Smart Drip Irrigation System Using PLC

Scheduled Daily Plant Watering PLC Program

Simple PLC example Hardware configurations

Muting Functions of Safety Control Circuits – PLC Example

PLC analog output card

PLC Analog I/O and Network I/O

Learn More

Analog Instruments

Explaining Various Types of Analog Instruments

Alarm Management Practices

Control Room Alarm Management Practices

Why Circuit Breakers Don't Protect People?

Why Circuit Breakers Don’t Protect People?

Difference Between Clamp Meters and Digital Multimeters

Difference Between Clamp Meters and Multimeters

Panel Enclosure

How to Select the Right Panel Enclosure for Your Application?

Power Electronics Objective Questions

Single Phase Semi-Converters Objective Questions

300 Power Electronics Projects - Top Electrical Major Project Titles

300 Power Electronics Projects – Top Electrical Major Project Titles

VFD Torque Boosting

What is Torque Boosting in Variable Frequency Drive (VFD)?

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?