Search

Premium Membership ♕

Experience matters. Learn from experienced electrical engineers. Study specialized LV/HV technical articles, papers and courses.

Home / Technical Articles / Considerations to take into account when designing PLC ladder logic

Where do we use ladder logic?

Motor control circuits are often implemented using ladder logic. It is so called because the schematic representation of the control circuit resembles a ladder with two vertical rails and a number of horizontal rungs, as shown in Figure 1. The vertical rails are energized at two different potentials, often 120 V and ground. Any available low-voltage source, either AC or DC, can be used for the control circuit.

Considerations to take into account when designing PLC ladder logic
Considerations to take into account when designing PLC ladder logic (on photo: ABB's ruggedized PLC; credit: wordsun.com)

If the motor operates at 240 V or less, it is not uncommon to obtain the control voltage directly from the power circuit, as shown in Figure 1.

Ladder diagram
Figure 1 – Ladder diagram

If the motor operates at a higher voltage that is not suitable for the control circuit, a control power transformer can be used to feed the control circuit, as shown in Figure 2 below.

Control Circuit - Control Power Transformer
Figure 3 – Control Circuit – Control Power Transformer

Current will ow from the left-hand rail to the right-hand rail if a closed path is provided. Some impedance is required in this closed path to prevent a short circuit. Impedance can be provided by relay coils and indicator lamps.

Fusing protects the control circuit against heavy current caused by a short circuit in the control circuit. If the control circuit is left ungrounded, both rails of the ladder can be fused, but only the left rail is fused if the right rail is grounded.


Closing the path between the rails is done by contacts placed in the rung. The contacts, which can be normally open or normally closed, are placed in series to implement a logical and function or in parallel to implement a logical or function. The contacts can be actuated by a relay coil or by automatically or manually controlled switches.

Things to consider when designing ladder logic

Some terminology must be understood before proceeding with implementing ladder logic. When a relay coil is energized, that relay is said to be picked up. When a relay picks up, its contacts change state: the normally open contacts close and the normally closed contacts open.

Normally open contacts are called Type A contacts, and normally closed contacts are called Type B contacts.

When a relay coil is de-energized, that relay is said to drop out. Care must be exercised so relay coils do not inadvertently drop out due to inadequate voltage. This can be a concern because the starting of a large motor can significantly depress the system voltage and thereby the control circuit voltage.

This is one reason why voltage drop during motor starting must be kept within specific parameters! If a running motor experiences a voltage drop in excess of the coil dropout voltage of its contactor, the running motor will shut down.

Control Circuit - Line Voltage
Figure 2 – Control Circuit – Line Voltage

This problem can be mitigated in many ways, ranging from changing the motor starting method to reduce the voltage drop, to using contactors capable of withstanding larger voltage drops without dropping out, or to supplying the control circuit from a power source independent of the starting motor.

A direct current control system supplied from batteries would not experience voltage fluctuations while motors are starting!

Symbols are used to represent commonly used control circuit devices on schematic diagrams. Although variations in drafting standards exist, the symbols shown in Table 1 are fairly standard throughout the industry.

Ladder Logic Device Symbols
Table 1 – Ladder Logic Device Symbols

Accidental grounds in the control circuit should never pick up a relay coil. In Figure 4, an accidental ground at point F would short out the three Type A contacts and pick up the coil.

This could result in a very dangerous situation, such as a motor at rest suddenly starting without warning and with all electrical interlocks defeated. An accidental ground in the control circuit should instead blow the control circuit fuses. Blowing the fuses would safely shut down the motor if it is running, prevent it from starting if it is at rest, and indicate to maintenance personnel that a problem exists in the control circuit.

Control circuits should always be designed in such a way that they fail in a safe mode.

An example of poorly designed ladder logic
Figure 4 – An example of poorly designed ladder logic

In other words, the controlled motor should safely shut down in the event of a control circuit failure. Under no circumstances should a control circuit failure cause a de-energized motor to start.


PLC Training – Introduction to Ladder Logic

Introduction to PLC ladder logic programming. This video is an introduction to what ladder logic is and how it works.


Introduction to PLCs and Ladder Logic concepts

Overview of PLCs (Programmable Logic Controllers) and why we use them. Introduction to the basic concepts of ladder logic.

Reference // Industrial power distribution by Ralph E. Fehr (Purchase hardcover from Amazon)

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
Edvard Csanyi - Author at EEP-Electrical Engineering Portal

Edvard Csanyi

Hi, I'm an electrical engineer, programmer and founder of EEP - Electrical Engineering Portal. I worked twelve years at Schneider Electric in the position of technical support for low- and medium-voltage projects and the design of busbar trunking systems.

I'm highly specialized in the design of LV/MV switchgear and low-voltage, high-power busbar trunking (<6300A) in substations, commercial buildings and industry facilities. I'm also a professional in AutoCAD programming.

Profile: Edvard Csanyi

4 Comments


  1. Daniel B
    Apr 02, 2017

    Excelente articulo Edvar… lo mejor de leer tus publicaciones es que tratas temas para todo tipo de aprendizaje y niveles de conocimiento, te felicito y te admiro..

    Saludos


  2. John
    Feb 09, 2017

    Ok then Tyson, let’s see an article that you’ve written…. You’re so smart, you must have lots of articles, right?


  3. Tyson Bunker
    Jan 19, 2017

    Whoever wrote this has 0 experience actually working in this field. The terminology is all wrong, albeit, some of the facts are correct. Next time, maybe publish something written by a “Vet” if you will, not a noob.


    • Edvard
      Jan 19, 2017

      Dear Tyson, is terminology all you care about? You didn’t name what’s actually wrong and automatically assumed that author has zero expirience on this subject. I have nothing to add on your comment.

Leave a Comment

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!

ninety five  ⁄    =  nineteen

Learn How to Design Power Systems

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

EEP Hand-Crafted Video Courses

Check more than a hundred hand-crafted video courses and learn from experienced engineers. Lifetime access included.
Experience matters. Premium membership gives you an opportunity to study specialized technical articles, online video courses, electrical engineering guides, and papers written by experienced electrical engineers.