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
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
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
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 Programming for Tank Heating Control using Heater
Why Use Normally-Closed Contact for Stop Buttons?
Parking Garage Indicator: PLC Automation System
Electrical Switches Principle & Types
PLC Trainer Demo Download
How to Filter Digital and Analog Inputs in a PLC?
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

Explore More

Chemical Mixing Process using PLC
Various Communication Protocols in PLC
What is a PLC Retrofitting Project? – Importance, Procedure
Job Skills Required for Industrial Electrical Maintenance
3 Phase Motor Control using PLC Ladder Logic
PLC Program to Control a Water Pump
Ladder Diagram Example using Memory Bits and Set Coils
What is Interface Module in Siemens PLC?

Keep Learning

PLC Program Paint Spraying

PLC Program for Paint Spraying

PLC Power Supply and Operating Voltages

PLC Power Supply and Operating Voltages

PLC Commissioning and Testing

PLC Commissioning and Testing Procedure (Programmable Logic Controller)

Single-acting Cylinder OR operation (PLC and Sensors)

Single-acting Cylinder OR Logic Operation (PLC and Sensors)

PLC Water Project

Smart Spray System using Wecon PLC

How Could FB and FC Make Me Professional PLC Programmer

How Could FB and FC Make Me Professional PLC Programmer?

SCADA in Cloud

Cloud-Based SCADA Projects – Try Free Demo Account

SCADA Systems

SCADA Systems

Learn More

OpenPLC - PLC Training for Students - Free Tutorials & Courses

OpenPLC – PLC Training for Students – Free Tutorials & Courses

Plant Engineering Drawings

Piping and Instrumentation Drawing (P&ID) Tutorials – Part 1

Level Sensors MCQ

Level Sensors MCQ – Industrial Instrumentation

pressure-gauge-animation

Bourdon Tube Pressure Gauge Working Principle Animation

Control Systems Questions & Answers

Control Systems Objective Questions & Answers – Set 3

Business Skills Every Engineer Needs

Business Skills Every Engineer Needs

Circular Chart Recorder Calibration Procedure

Circular Chart Recorder Calibration Procedure

Configure an IP address

What is an IP address? How to Set IP Address of the Computer?

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?