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: PLC Program Example on Multiple LEDs using Set Coil
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 > PLC Program Example on Multiple LEDs using Set Coil

PLC Program Example on Multiple LEDs using Set Coil

In this article, you will learn the PLC programming example on multiple LEDs using the Set Coil instruction.

Last updated: March 26, 2024 3:40 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

In this article, you will learn the PLC programming example on multiple LEDs using the Set Coil instruction.

Contents
PLC Program using Set CoilPLC Learning VideoPLC I/O ListLadder DiagramLogic ExplanationResult

Note: The PLC program example was created for learning practices for the engineers and technicians.

PLC Program using Set Coil

Problem Statement

Design a PLC ladder logic for the following application.

If Switch 1 is ON, then LED I and LED II will be ON.

If Switch 1 is OFF, then LED I and LED II will be still ON.

If Switch 2 is ON, then LED III and LED IV will be ON.

If Switch 2 is OFF, then LED III and LED IV will be still ON.

PLC Learning Video

This video helps you to learn this PLC program example from scratch. It is helpful for beginners.

PLC I/O List

Digital Inputs:

The DI signals are listed below.

  • Switch 1: I0.0
  • Switch 2: I0.1

Digital Outputs:

The DO signals are listed below.

  • LED 1: Q0.0
  • LED 2: Q0.1
  • LED 3: Q0.2
  • LED 4: Q0.3

Ladder Diagram

PLC Program Example on Multiple LEDs using Set Coil

Logic Explanation

In this PLC example, we used EcoStruxure Machine Expert Basic PLC software for programming.

In the above PLC program, we have used Normally Open Contact for Switch 1 (I0.0), Switch 2 (I0.1).

We have also used Set coils for the outputs LED 1 (Q0.0), LED 2 (Q0.1), LED 3 (Q0.2) and LED 4 (Q0.3).

Switch 1 is connected to two LEDs i.e., LED 1 and LED 2.

LED 3 and LED 4 are connected to the input, Switch 2.

For LED 1 and LED 2 to turn ON, input Switch 1 should be turned ON.

LED 1 and LED 2 will remain ON when the input Switch is turned OFF.

When Switch 2 is turned ON, then LED 3 and LED 4 will turn ON.

Then, when switch 2 is turned OFF, LED 3 and LED 4 will remain ON.

Result

When Switch 1 is ON

PLC Program using Set Coil

As Switch 1 is used as Normally Open Contact, it will allow the signal to flow through it. As a result, LED 1 and LED 2 will turn ON.

When Switch 1 is OFF

Ladder Logic Set Coil

There is use of Set Coils for LED 1 and LED 2. So, the outputs will not turn OFF when input Switch 1 is turned OFF. LED 1 and LED 2 will remain ON.

When Switch 2 is ON

Set Instruction PLC Example Logic

LED 1 and LED 2 will turn ON when the input Switch 2 is turned ON. The input Switch 2 is taken as Normally Open Contact, it will allow signal to the outputs.

When Switch 2 is OFF

Ladder Diagram for LED ON and OFF

The outputs, LED 3 and LED 4 will not turn OFF when input Switch 1 is turned OFF. We have used Set coils for the outputs.

On turning OFF the input will not turn OFF the Outputs. Therefore, when Switch 2 is turned OFF, Led 3 and Led 4 will remain ON.

If you liked this article, then 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:

  • Electrical Diagram into PLC Program
  • How to Get a PLC Programmer Job?
  • Seven Segment Display Working Principle
  • PLC Programming Example with Switches
  • Faceplates in FactoryTalk View Studio
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 !
4-20 mA Transmitter Wiring Types : 2-Wire, 3-Wire, 4-Wire
Basic PLC Exercise on Heater and Cooler for Students
Basics of PLC Programming
VFD Simulator Download – Free Yaskawa V1000 Software
SAVE and BR Memory Instructions in Siemens PLC Programming
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

Learn PLC Programming

Basics of Ladder Diagram in PLC Programming

PLC Program for Automatic Mixing Controlling in a Tank

PLC Program for Automatic Mixing Control in a Tank

PLC control 4 machines with 1 button

CX-Programmer Tutorial: 1 Button To Activate 4 Different Machines

Omron PLC Example

Design a Water Pump PLC Program using CX-Programmer

How to Activate the Schneider PLC Software License

How to Download EcoStruxure Machine Expert? Schneider PLC Software

Siemens PLC Math Instructions

Siemens PLC Mathematics Instructions

Encode and Decode Instructions

How to Use Encode and Decode Instructions in PLC ?

Free Schneider PLC Training - Automation Course

Free Schneider PLC Training – Automation Course

More Articles

Swirl Flowmeters Principle

Swirl Flow Meters Working Principle

Digital Electronics Multiple Choice Questions

Emitter-Coupled Logic (ECL) Objective Questions

DO Analyzer Working Principle

Dissolved Oxygen Analyzer Working Principle

Quality Control Inspector Questions

Quality Control Inspector Interview Questions and Answers

Damaged Magnetic Flow Meter Flow Tube

None Could Repair Slightly Damaged Magnetic Flow Meter Flow Tube

Time Response Analysis

Time Response of First Order Systems Objective Questions

Instrumentation Deliverables Generated from 3D Modeling

Instrumentation Deliverables Generated from 3D Modeling

Ziegler-Nichols Closed Loop Tuning Procedure

Ziegler-Nichols Closed Loop Tuning Procedure

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?