Search

Premium Membership ♕

Limited Time Offer: Save 15% on PRO Plan with discount code: LRN15 and study specialized LV/MV/HV technical articles and studies.

Home / Technical Articles / Ladder diagrams and the PLC for electrical engineers – beginners

PLC Ladder Diagram

The ladder diagram has and continues to be the traditional way of representing electrical sequences of operations.

Ladder Diagrams And The PLC
Ladder Diagrams And The PLC (on photo: Siemens modular programmabler controller SIMATIC S7-1500; credit: Wikimedia)

These diagrams represent the interconnection of field devices in such a way that the activation, or turning ON, of one device will turn ON another device according to a predetermined sequence of events.

Figure 1 illustrates a simple electrical ladder diagram.

Figure 1 - Simple electrical ladder diagram
Figure 1 – Simple electrical ladder diagram

The original ladder diagrams were established to represent hardwired logic circuits used to control machines or equipment. Due to wide industry use, they became a standard way of communicating control information from the designers to the users of equipment.

As programmable controllers were introduced, this type of circuit representation was also desirable because it was easy to use and interpret and was widely accepted in industry.

Programmable controllers can implement all of the “old” ladder diagram conditions and much more. Their purpose is to perform these control operations in a more reliable manner at a lower cost.

A PLC implements, in its CPU, all of the old hardwired interconnections using its software instructions. This is accomplished using familiar ladder diagrams in a manner that is transparent to the engineer or programmer. Knowledge of PLC operation, scanning, and instruction programming is vital to the proper implementation of a control system.

Figure 2 illustrates the PLC transformation of the simple diagram shown in Figure 1 to a PLC format. Note that the “real” I/O field devices are connected to input and output interfaces, while the ladder program is implemented in a manner, similar to hardwiring, inside the programmable controller (i.e., softwired inside the PLC’s CPU instead of hardwired in a panel).

As previously mentioned, the CPU reads the status of inputs, energizes the corresponding circuit element according to the program, and controls a real output device via the output interfaces.

Figure 2 - PLC implementation of Figure 1
Figure 2 – PLC implementation of Figure 1

As you will see later, each instruction is represented inside the PLC by a reference address, an alphanumeric value by which each device is known in the PLC program. For example, the push button PB1 is represented inside the PLC by the name PB1 (indicated on top of the instruction symbol) and likewise for the other devices shown in Figure 2.

These instructions are represented here, for simplicity, with the same device and instruction names. Example 1-1 illustrates the similarity in operation between hardwired and PLC circuits.


Example 1

In the hardwired circuit shown in Figure 1, the pilot light PL will turn ON if the limit switch LS1 closes and if either push button PB1 or limit switch LS2 closes. In the PLC circuit, the same series of events will cause the pilot light—connected to an output module—to turn ON.

Note that in the PLC circuit in Figure 2, the internal representation of contacts provides the equivalent power logic as a hardwired circuit when the referenced input field device closes or is pushed. Sketch hardwired and PLC implementation diagrams for the circuit in Figure 1 illustrating the configurations of inputs that will turn PL ON.


Solution

Figure 3 shows several possible configurations for the circuit in Figure 1. The highlighted blue lines indicate that power is present at that connection point, which is also the way a programming or monitoring device represents power in a PLC circuit.

The last two configurations in Figure 3 are the only ones that will turn PL ON.

Figure 3 - Possible configurations of inputs and corresponding outputs
Figure 3 – Possible configurations of inputs and corresponding outputs

Reference // Programmable Controllers – Theory and Implementation by L. A. Bryan

Premium Membership

Get access to premium HV/MV/LV technical articles, electrical engineering guides, research studies and much more! It helps you to shape up your technical skills in your everyday life as an electrical engineer.
More Information
author-pic

Edvard Csanyi

Electrical engineer, programmer and founder of EEP. Highly specialized for design of LV/MV switchgears and LV high power busbar trunking (<6300A) in power substations, commercial buildings and industry facilities. Professional in AutoCAD programming.

6 Comments


  1. Chinnusamy
    Jun 10, 2019

    In s7-1500- cpu, please explain how can i convert bit to word and d word and also dword, word to bit


  2. BHUSHAN RAVI
    Jun 07, 2019

    It is good; much better to understand. Thanks


  3. moise livius-florian
    Mar 14, 2019

    for me is a verry good and expected lesson thankyou verry verry much! i am from Roumania


  4. barathkumar
    Aug 09, 2015

    What is mean by plc


  5. somanath sahu
    Sep 24, 2014

    please give detail about plc programming


  6. pooja varma
    Jan 21, 2014

    I have conneted gsm modem to my DELTA plc DVP14SS11R2 through RS485 to RS232 converter. ..
    I did all settings in message sending wizard
    But still signal is not coming through modem
    Is there any need to write program with ATcommands? If yes where to write?

Leave a Reply to somanath sahu

Tell us what you're thinking. We care about your opinion! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a professional and meaningful conversation instead. Thanks for dropping by!

  +  fifty five  =  sixty four

Learn How to Design Power Systems

Learn to design LV/MV/HV power systems through professional video courses. Lifetime access. Enjoy learning!

Subscribe to Weekly Newsletter

Subscribe to our Weekly Digest newsletter and receive free updates on new technical articles, video courses and guides (PDF).
EEP Academy Courses - A hand crafted cutting-edge electrical engineering knowledge