Vol. Control Systems
Chapter Relay Control Systems

Relay Circuits and Ladder Diagrams

Relay ladder circuits are the precursor to PLC ladder logic. Advanced machines and processes can be controlled by the interconnection of relays acting as logic gates much like a digital logic circuit.

Electromechanical relays may be connected together to perform logic and control functions, acting as logic elements much like digital gates (AND, OR, etc.). A very common form of schematic diagram showing the interconnection of relays to perform these functions is called a ladder diagram. In a “ladder” diagram, the two poles of the power source are drawn as vertical rails of a ladder, with horizontal “rungs” showing the switch contacts, relay contacts, relay coils, and final control elements (lamps, solenoid coils, motors) drawn in between the power rails.

Ladder Diagram Symbols

Ladder diagrams differ from regular schematic diagrams of the sort common to electronics technicians primarily in the strict orientation of the wiring: vertical power “rails” and horizontal control “rungs.” Symbols also differ a bit from common electronics notation: relay coils are drawn as circles, with relay contacts drawn in a way resembling capacitors:

Unlike schematic diagrams, where the association between relay coils and relay contacts is represented by dashed lines, ladder diagrams associate coils and contacts by label. Sometimes you will find relay contacts labeled identically to the coil (e.g. coil labeled CR5 and all contacts for that relay also labeled CR5) while other times you will find suffix numbers used to distinguish individual contacts within each relay from each other (e.g. coil labeled CR5 and its three contacts labeled CR5-1, CR5-2, and CR5-3).

Another notable convention in relay circuits and their ladder diagrams is that each and every wire in the circuit is labeled with a number corresponding to common connection points. That is, wires connected together always bear the same number: the common number designates a condition of electrical commonality (all points bearing the same number are equipotential to each other). Wire numbers only change when the connection passes through a switch or other device capable of dropping voltage.

An actual ladder diagram of a relay-based motor control system is shown here, complete with red-line edits showing modifications to the circuit made by an industrial electrician:

Normally Open and Normally Closed

Perhaps the most confusing aspect of relay control circuits for students to grasp is the meaning of normal as it applies to the status of relay contacts. As discussed previously, the word “normal” in this context – whether it be the status of hand switches, process switches, or the switch contacts inside control relays – means “in a condition of rest” or no stimulation. In other words, a “normally-open” relay contact is open when the relay coil is unpowered and closed when the relay coil is powered. Likewise, a “normally-closed” relay contact is closed when the relay coil is unpowered and open when the relay coil is powered.

The coil, as well as the contact sets, are numbered carefully on the side of the case according to either IEC or NEMA conventions. Although at first glance, the numbers can be confusing and cause difficulty in wiring, the reality is that the numbers are carefully selected to create consistency and predictability regardless of the size of the relay, as this article about relay terminal numbering explains.

Example Relay Control Circuit

To illustrate this concept, let us examine a relay control circuit where a pressure switch activates an alarm light:

Here, both the pressure switch and the relay contact (CR1-1) are drawn as normally-closed switch contacts. This means the pressure switch contact will be closed when the applied pressure is less than its trip point (50 PSI), and the relay switch contact will be closed when the relay coil is de-energized.

When analyzing the operation of a relay control system, it is helpful to have some way to temporarily denote the conductive status of switch contacts and the energization status of relay coils (i.e. a notation we might sketch using pencil on a diagram to help us follow the operation of the circuit). A symbology I recommend is the use of arrow and “X” symbols to represent power flow and no power flow (respectively). These symbols clearly denote component status while avoiding confusion with the symbols used to denote normal status of switch contacts309.

In this next diagram, we assume the applied pressure is less than 50 PSI, leaving the pressure switch in its “normal” (closed) state:

Since the pressure is insufficient to actuate the pressure switch, its contact remains in the “normal” state (closed). This sends power to relay coil CR1, thus actuating contact CR1-1 and holding it in the open state. With CR1-1 contact open, the alarm lamp receives no power. In this example we see the pressure switch in its “normal” state but the relay in the actuated state.

Using arrow and “X” symbols again to represent the presence or absence of power in this circuit, we will now analyze its status with an applied switch pressure greater than 50 PSI:

Now that there is sufficient fluid pressure applied to the switch to actuate it, its contact is forced into the actuated state which for this “normally-closed” switch is open. This open condition de-energizes relay coil CR1, allowing relay contact CR1-1 to spring-return to its normal status (closed), thus sending power to the alarm lamp. From this analysis we see that the lamp fulfills the function of a high pressure alarm, energizing when the applied pressure exceeds the trip point.

Where students typically find themselves confused is assuming the switch contact will be in the same state it is drawn in. This is not necessarily true. The way switch contacts are drawn merely reflects their normal status as defined by the switch manufacturer, which means the status of the switch when there is no (or insufficient) actuating stimulus present. Whether or not the switch will actually be in its normal state at any given time is a question of whether or not a sufficient stimulus is present to actuate that switch. Just because a switch is drawn normally-closed does not necessarily mean it will be closed when you go to analyze it. All it means is that the switch will be closed when nothing actuates it.

Similar PLC Ladder Logic Example

This exact same principle applies to relay ladder-logic programming in electronic control systems called PLCs (Programmable Logic Controllers). In a PLC, a digital microprocessor performs the logic functions traditionally provided by electromechanical relays, with the programming for this microprocessor taking the form of a relay diagram (also called a “ladder logic” diagram).

Here, we will emulate the exact same high-pressure alarm circuit using a Siemens S7-1200 PLC instead of a relay coil:

Wiring diagram:

Ladder Logic Program:

Suppose a fluid pressure of 36 PSI is applied to the pressure switch. This is less than the switch’s trip setting of 50 PSI, leaving the switch in its “normal” (closed) state. This sends power to input I0.5 of the PLC. The contact labeled “Pressure Switch” with address I0.5 drawn in the ladder logic program of the PLC behaves like a regular switch contact driven by a coil energized by input terminal I0.5. Thus, the closure of the pressure switch contact energizes input terminal I0.5, which in turn would highlight the normally-open contact symbol II0.5 drawn in the ladder-logic program. 

This “virtual” contact sends virtual power to a virtual coil labeled M1.0, which is nothing more than a single bit of data in the PLC’s microprocessor memory. “Energizing” this virtual coil has the effect of “actuating” any contact drawn in the program bearing the same label. This means the normally-closed contact M1.0 will now be “actuated” and thus in the open state, not sending virtual power to the output coil Q0.1. With virtual coil Q0.1 “unpowered,” the real-life output Q0.1 on the PLC will be electrically open, and the alarm lamp will be unpowered (off).

If we apply a fluid pressure of 61 PSI to the pressure switch, the normally-closed pressure switch contact will be actuated (forced) into the open state. This will have the effect of de-energizing PLC input I0.5, thus “opening” the normally-open virtual contact in the PLC program bearing the same label. This “open” virtual contact interrupts virtual power to the virtual coil Q0.1, causing the normally-closed virtual contact M1.0 to “close,” sending virtual power to virtual coil Q0.1. When this virtual output coil “energizes,” the real-life output channel of the PLC activates, sending real power to the alarm light to turn it on, signaling a high-pressure alarm condition.

We may simplify this PLC program further by eliminating the virtual control relay M1.0 and simply having input I0.5 activate output Q0.1 through a “normally-closed” virtual contact:

The effect is the same: the PLC output Q0.1 will activate whenever input I0.5 de-energizes (whenever the pressure switch is opened by a high pressure), turning on the alarm lamp in a high-pressure condition. In a low-pressure condition, the energized input I0.5 forces the virtual normally-closed contact I0.5 to open, thus de-energizing the PLC’s output Q0.1 and turning the alarm lamp off.

Programmable Logic Controllers have not only greatly simplified the wiring of industrial logic controls by replacing multitudes of electromechanical relays with a microprocessor, but they have also added advanced capabilities such as counters, timers, sequencers, mathematical functions, communications, and of course the ability to easily modify the control logic through programming rather than by re-wiring relays. The beauty of ladder-logic programming is that it translates the technician’s understanding of traditional relay control circuits into a virtual form where contacts and coils interact to perform practical control functions. A key concept to master, however, is the association of real-life conditions to switch status based on the “normal” representation of those switch contacts, whether the switches be real (relay) or virtual (PLC). Once this vital concept is mastered, both hard-wired relay control circuits and PLC programs become possible to understand. Without mastering this vital concept, neither relay control circuits nor PLC programs may be understood.


  • Relays respond to input signals which provide current to energize the relay coil.
  • Since both NO and NC contacts are available, any high or low input signal may either turn on or off a contact, creating any possible discrete (on/off) control scenario.
  • PLCs have replaced many relay control systems because the software can eliminate all of the intermediate (control logic) relays, each of which consumes energy when energized.