← Back to all lessons
Wiring 19
Pro

Wiring 19 — PLC Relay Output to Solenoid Valve

What you'll learn

Drive a 24 VDC pneumatic solenoid through an interposing relay. The PLC output only energises the relay coil; the relay contact switches the field load. Add a flyback diode at the solenoid to clamp the inductive voltage spike when the valve is switched off.

Lab time: ~15 minutes.

Lesson briefing

PLC Relay Output to Solenoid Valve

Drive a 24 VDC pneumatic solenoid through an interposing relay. The PLC output only energises the relay coil; the relay contact switches the field load. Add a flyback diode at the solenoid to clamp the inductive voltage spike when the valve is switched off.

The device in the real world

PLC relay or transistor outputs are small. A pneumatic solenoid valve coil can draw several times more current than one output point should be asked to carry, so panel builders place a small interposing relay between them. The PLC energises a relay coil, and the relay contact switches the valve supply. Across every DC coil you will also find a flyback diode, a small component that gives the coil's stored energy a harmless path when the current is cut off.

Why it is wired this way

The interposing relay protects the PLC and allows separate load protection. A flyback diode is reverse biased in normal operation: cathode to +24 V and anode to 0 V. Reversing it creates a short; omitting it exposes the contact and electronics to a high transient.

Worked example

Suppose output Y0 turns on a 24 V valve that draws 0.4 A. The PLC output only drives the relay coil, about 20 mA. When the program sets Y0, K1 closes between terminals 11 and 14 and puts 24 V across the valve. When the program clears Y0, the valve coil tries to keep current flowing and its terminal voltage spikes to many times 24 V for an instant. A diode wired across the coil, cathode to the positive side, conducts that spike back through the coil and dies away. Without it, the arcing contact wears out early and the noise can reset a PLC. In normal running the diode is reverse biased and does nothing, which is how you can tell you wired it correctly.

Common mistakes

  • Fitting the diode backwards. It then conducts every time the valve is on and shorts the supply.
  • Driving the valve straight from the PLC output and skipping the relay.
  • Wiring the relay coil return to +24 V so the relay never has a voltage across it.
  • Putting the diode across the relay contact instead of across the load coil.

What you can now do

You can drive an inductive load safely through an interposing relay, and place the flyback diode correctly with the cathode on the positive side.

Commissioning standard

Check the diode polarity against its stripe before power, then switch the output a few times and listen for a clean click with no chatter.

Hints

Hint 1

Wire PLC Y0 to relay A1 and return A2 to 0 V.

Hint 2

Sign up to unlock the full hint sequence.

Hint 3

Sign up to unlock the full hint sequence.

This lesson uses 8 placed components on the lab canvas. Components are vendor-neutral (no proprietary trademarks); the wiring rules apply to any equivalent industrial part.

Sign up to preview

Create a free account to preview this Pro lab; upgrade to open the interactive circuit.

Sign up to preview →

You might also like

Competency and practice field guide

Solenoid-valve PLC output wiring lesson: practice plan

Direct answer

The learner can trace command, output, coil voltage, suppression, valve state and pneumatic effect and diagnose electrical, valve and process faults.

Written for electrical, pneumatic and PLC learners connecting a controller output through protection and interface hardware to a solenoid valve and actuator response.

an instructor and adult learner tracing contactors, protection, emergency stopping and actuator response in a guarded diagnostic cell while studying PLC output, interface and solenoid-valve circuit evidence
System map / 02

NODE 01observable

Scope

Valve function and normal state, coil rating, current, PLC output type, interface relay, protection, suppression, common, pneumatic supply, actuator and feedback.

NODE 02observable

Signal path

Program command through output channel and interface to coil voltage, spool shift, air or fluid path, actuator motion and independent end feedback.

NODE 03observable

Baseline practice

Energize and de-energize cases produce repeatable valve and actuator response with measured electrical state.

NODE 04observable

Edge cases

Open coil, wrong voltage, reversed suppression, overloaded output, stuck spool, lost pressure, blocked exhaust, failed feedback and restart.

NODE 05observable

Fault practice

A logic, output, interface, supply, protection, coil, suppression, valve, pneumatic or feedback mismatch.

NODE 06observable

Transfer to the job

The installed circuit and pneumatic function tested under qualified supervision with current equipment data and safeguards.

Answer surface / 07

Can a PLC output drive a solenoid valve directly?

Only if voltage, current, inrush, output type and protection are compatible; many designs use an interposing relay or appropriate output module.

Why is a solenoid energized but the cylinder does not move?

The spool may be stuck, supply or exhaust may be wrong, pressure may be absent, plumbing may be incorrect or the mechanical load may be blocked.