How Relay Logic Works: Basics and Practical Examples
Relay logic is the foundation of traditional industrial control. Before PLCs became standard, machines were controlled entirely through relays, contactors, and mechanical switches. Even today, relay circuits remain common in motor starters, safety loops, HVAC systems, and small automation panels.
1) What a Relay Is
A relay is an electromechanical device consisting of:
- Coil – the control input
- Contacts – the switching output
When the coil is energized, it creates a magnetic field that changes the state of the contacts.
Contact types:
- NO (Normally Open) – closes when the coil is energized
- NC (Normally Closed) – opens when the coil is energized
This simple behavior is the basis of relay logic.

2) How Relay Logic Works
Relay logic uses physical contacts to create conditions such as: “If this is ON → then activate that.” A relay circuit typically includes:
- Start/Stop buttons
- Relays or contactors
- NO/NC auxiliary contacts
- Power supply
- Safety switches
The logic is created by wiring contacts in series or parallel to achieve the desired behavior.
3) Example: Basic Motor Start Circuit
Components:
- Start button (NO)
- Stop button (NC)
- Contactor coil (KM)
- KM auxiliary contact (NO) for self‑holding
Operation:
- Pressing Start energizes the KM coil.
- KM closes its NO auxiliary contact → the circuit “holds” itself.
- The motor runs without holding the button.
- Pressing Stop opens the NC circuit → KM drops out → the motor stops.
4) Emergency Stop (E‑STOP)
An emergency stop button must always use NC contacts. Reason: fail‑safe behavior.- If the cable breaks → the machine stops
- If the button fails → the machine stops
- If someone presses E‑STOP → the coil loses power immediately
5) Common Mistakes in Relay Circuits
❌ Start button wired as NC
The machine may start automatically when powered.❌ Missing self‑holding contact
The motor runs only while the Start button is pressed.❌ E‑STOP wired as NO
Dangerous — no fail‑safe protection.❌ Mixing 24 V and 230 V in the same control loop
Risk of damage and electrical hazards.❌ No suppression device on the coil (diode/varistor)
Causes electrical noise and premature failure of electronics.
