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 Memory Organization – Data Files and Program Files
Finding the Best PLC for Your Project – Tips and Tricks
Hardware Troubleshooting Steps for PLC Automation Systems
How to Read an Electrical Wiring Diagram?
Door Locking System – PLC Applications Examples
How Could FB and FC Make Me Professional PLC Programmer?
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

System and Local Time in PLC
Real-Time Clock in Omron PLC? – CX Programmer
Testing and Validation in PLC Development
One Shot Rising and One Shot Falling Instructions in PLC
FOR DO Statement in SCL Language
The Concept of Shift Register in Omron PLC with Example
How to Upload Siemens PLC Programs?
VFD Commissioning and Testing Procedure (Variable Frequency Drive)

Keep Learning

PLC analog input scaling

PLC Analog Input Scaling

TIA Portal MOVE Instruction

MOVE Instruction in PLC – What You Need to Know?

Falling Positive and Falling Negative Instructions in PLC

Positive and Negative Edges using Statement List Language

Grounding or Earthing Scheme in DCS or PLC Systems

Grounding or Earthing Scheme in DCS or PLC Systems

PLC Hoist Crane Programming

PLC Hoist Crane Programming: Example using Schneider

Functional Block Diagram in PLC for Oil and Water Process

Functional Block Diagram in PLC for Oil and Water Process

Forward Reverse Motor Control with Repeat Cycle Using PLC

Electric Motor Forward Reverse with Repeat Cycle PLC Logic

PLC Tag Naming Conventions

PLC Tag Naming Conventions

Learn More

Head Mount Temperature Transmitter

What is a Head Mount Temperature Transmitter? – Advantages

Digital Electronics Multiple Choice Questions

Characteristics of CMOS Objective Questions

Instrumentation and Control Engineer Subject

Competency Factors of Instrument & Control Engineer (Design Engineering)

Importance of Unit Measurement

Importance of Unit Measurement

Functional Safety Exam Questions & Answers

Functional Safety Questions & Answers

Safety Instrumented System Engineer Interview Questions

Safety Instrumented System Engineer Interview Questions

Process Control System

Basics of Process Control Systems

NH3 Plant Turbo-compressor Sudden Rise in Temperature

NH3 Plant Turbo-compressor Sudden Rise in Temperature

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?