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: How to Convert an Electrical Diagram into PLC Program?
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 > How to Convert an Electrical Diagram into PLC Program?

How to Convert an Electrical Diagram into PLC Program?

In this article, you will learn how to convert an electrical diagram into PLC program with an example circuit.

Last updated: March 4, 2024 2:05 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

PLC programming took a history and reference from electrical drawings. As time passed and it became difficult to troubleshoot electrical systems involving automation, a need was required for some controller to execute a logic and do the needful. This gave birth to PLC systems.

Contents
Understand Electrical DiagramConverting the wiring diagram to the PLC program

As you know, PLC programming has many types of languages and the original one is the ladder language. It should be known that electrical diagrams also help to convert it into ladder logic. In this post, we will see how to convert an electrical diagram into a PLC program.

Understand Electrical Diagram

First of all, you need to understand the electrical diagram. Refer to the below image. Every circuit has two ends – positive and negative. Current starts from the positive end and flows through the negative end.

In between, electrical components and devices come. If you refer to the image below, there are four components – the start push button, the stop push button, the auxiliary contact of the lamp, and the lamp.

Understand Electrical Diagram

The power supply starts from the positive end and goes to the input of the start push button (NO contact). The output of the start push button goes to the input of the stop push button (NC contact). The output of the stop push button goes to the input of the lamp.

The output of the lamp is connected to the negative end supply. In parallel to the start push button, another wire goes down from the input of the button to an auxiliary contact of the lamp. The output of this contact is connected back to the output of the push button.

When the power supply is given and if the start button is pressed, the lamp will turn on as it gets the path for current. Now, if the button is released, then the lamp will turn off as it does not get the path.

So, to latch it, we therefore place the lamp contact in parallel which will hold the power supply path. When the stop button is pressed, the electrical supply path is cut off and the lamp goes off.

Converting the wiring diagram to the PLC program

Now, once you have understood the wiring diagram, start interpreting it in the same way for PLC programming. Refer to the below image.

The ladder logic will have two power ends – left and right. Left is the equivalent to a positive power end and right is the equivalent to a negative power end.

You will need four PLC programming components – start push button -> NO contact, stop push button -> NC contact, lamp -> output coil, and lamp NO contact.

Convert an Electrical Diagram into PLC Program

First, place the start push button NO contact. In parallel to it, place the lamp in NO contact. After this, place the stop push button NC contact. In the end, place the lamp in NO contact.

The working will be the same as discussed for the wiring diagram. You saw that the same electrical drawing was interpreted and converted into ladder logic.

The general tips to follow are:

  1. Understand the wiring diagram from input power to the output power. In between, see which components are placed where and how they are wired.
  2. In the wiring, identify the input parts and the output parts and mark them with separate colors.
  3. Start programming by following the diagram and placing the components in the same way as wiring is done.
  4. Run the program and see how it is working.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Free Schneider PLC Training
  • Simulation of Studio 5000
  • Transferring Data Across PLC Systems
  • Import GSD files into the TIA Portal
  • How to Automatically Close Pop-up?
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 !
Vendor Document for Project Systems Architecture
PLC Example to Control LEDs Via Switches
Configuring and Usage of Cyclic Interrupts TIA Portal (OB 30+)
PLC Programming for Tank Heating Control using Heater
Difference Between NO and NC Contacts
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

  • Kamli on Top Free PLC Software
  • 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

Related Articles

Omron PLC for Product Painting with Integrated Weighing System

Omron PLC for Product Painting with Integrated Weighing System

PLC Program for Selective Execution of the Application

PLC Selective Execution of the Application – Example Program

Preventive Maintenance of Variable Frequency Drive

Preventive Maintenance of Variable Frequency Drive (VFD)

Types of Allen Bradley PLC

Types of Allen Bradley PLC

Database for each safety module

Global Acknowledgment Instruction in Safety PLC

Hardwired IO and Serial IO - Differences Explained

Hardwired I/O and Serial I/O – Differences Explained

Single-acting Cylinder OR operation (PLC and Sensors)

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

Components of SCADA

Components of SCADA

More Articles

Peltier Effect

Peltier Effect Theory

What is a Thermopile ?

ungrounded-or-isolated-neutral-system-disadvantages

Ungrounded or Isolated Neutral System Disadvantages

Why counter-current heat exchangers are better than co-currents?

Why Counter-current Heat Exchangers are better than Co-current?

Modbus Vs DNP3

Difference between Modbus and DNP3 Communication Protocols

Token Ring Communication

Token Ring and Token Bus Working Animation

Solar Energy

Types of Renewable Energy Sources

The Importance of Engineering Surface Plates

The Importance of Engineering Surface Plates

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?