What Is an Electromagnetic Relay and How Do You Choose One?

Four clear-cased plug-in relays in wired sockets on a metal rail inside a control cabinet.
Table of Contents

An electromagnetic relay is a switch whose contacts move when current flows through a coil. Imagine a control cabinet where a programmable logic controller (PLC) commands a pneumatic valve. The relay clicks, yet the valve stays still. What did the click tell you? The relay’s armature moved. The valve still needs power from its own circuit, through the correct pair of contacts. Following those two current paths explains both how the relay works and how to choose one.

How an Electromagnetic Relay Works

Start with an ordinary spring-return relay with one changeover contact. The three switch terminals are common (COM), normally closed (NC) and normally open (NO). “Normally” describes the position with the coil de-energized. In that resting position, the moving contact connects COM to NC. A load wired through COM and NO has an open circuit.

When current flows through the winding, the iron core becomes an electromagnet and attracts a movable iron arm called the armature. Its movement transfers COM from NC to NO. When coil current stops and the magnetic field decays, the spring returns the contacts to their resting position. The coil can therefore move the switch while remaining electrically isolated from the contacts inside the relay. An external supply provides whatever voltage appears at COM.

A spring-return relay cycles between COM–NC with the coil off and COM–NO with the coil on. Both paths are briefly open as the contact moves.
With the coil off, COM touches NC. When the coil energizes, the armature pulls in and COM leaves NC before it reaches NO. The spring returns COM to NC when the coil switches off. Motion is slowed to show the brief gap between contacts.

Where It Fits in a Control Circuit

Suppose the PLC has a sourcing transistor output and the valve should energize only while the command is on. In the control circuit, the output supplies 24VDC to the relay coil, and the current returns to the control supply. In the valve circuit, the positive side of the valve supply feeds COM. When NO closes, current flows through the valve coil and back to the valve supply. Both circuits can use 24VDC even when they draw different currents and use separate supplies.

Consider a valve with a plain DC coil rated 6W at 24VDC. Its nominal current is 6W ÷ 24V, or 0.25A. That is the current the relay contacts must carry while the valve is energized. The PLC output supplies only the relay coil. For an example of the difference, the 24VDC relay in the ratings section below consumes about 0.53W, or roughly 22mA. Check that figure against the PLC’s per-output limit and, where several channels share a supply group, its total current limit.

This also explains the click in the opening example. If the valve supply loses power, the control side can still pull in the relay. If the valve is connected to NC, it can energize while the command is off. The relay can move exactly as intended in either case.

Which Relay Features Matter?

Choose the contact arrangement from what the load should do when the command disappears. A single normally open contact is enough for the valve above. A changeover contact gives the same common terminal an alternative path at rest. If a second, electrically separate circuit must switch with the first, choose a double-pole relay. Its coil moves two contact sets. Both sets follow the same command.

Next decide whether the contacts should remember the last command. A spring-return relay releases when its coil loses power. A magnetic latching relay holds its last contact position after the drive pulse ends and needs a reset command to move back. For the example valve, a spring-return relay gives the desired electrical response to loss of the PLC command. The valve’s own construction determines what happens to the air flow when its coil releases.

Mounting determines how the part will be serviced. A board-mounted relay can be soldered directly to a printed circuit board. In a cabinet, a plug-in relay lets a technician replace the relay while leaving the field wires on the socket. For a replacement, match the socket’s pin layout, contact form and current rating as well as the coil voltage.

Two clear plug-in relays with their pins visible above a blue socket with a connection diagram on its side.
The relay pins plug into the socket. Its printed diagram identifies the terminals for the coil and contacts. Check both when choosing a replacement.

How to Read the Contact Ratings

On Omron’s G2R-1-S DC24 specification, the Ratings / Performance section gives separate values for the coil and contacts. Read across the two DC contact entries below. The test voltage stays the same, but changing the load changes the rated current.

SpecificationG2R-1-S DC24What it tells you
Coil24VDC, approx. 0.53WWhat the control output must supply
Resistive contact load10A at 30VDCRating for a load such as a resistive heater
Inductive contact load5A at 30VDC, L/R = 7msRating under the specified inductive test condition

A solenoid stores energy in its magnetic field. When the contacts open, that energy can raise the voltage across the separating contacts and sustain an arc. The ratio of inductance to resistance (L/R) is the load’s electrical time constant. Omron’s 7ms figure describes the test load. For an actual valve, check the manufacturer’s switching data at the valve voltage and the suppression fitted to its coil. A diode across a DC valve coil can reduce the opening surge and also delay valve release, a trade-off that matters on a fast machine. Omron compares surge suppressors and their effects on release time.

Finally, check how often the machine cycles. For this model, Omron specifies at least 20 million mechanical operations in its unloaded test at 18,000 operations per hour, and at least 100,000 electrical operations at rated load and 1,800 operations per hour. The electrical figure is the relevant starting point for a relay that switches a valve on every cycle. An endurance curve or application test gives a better estimate for the actual valve current and switching schedule.

For the example valve, a candidate relay therefore needs a coil the PLC can drive and contacts rated to switch the 0.25A inductive load at the required frequency. Its resting position must also leave the valve coil de-energized. Those details, together with the socket pinout, give a buyer a usable part specification.