AN Automation Nodes, Reliability and Excellence Get a quote
Automation · 6 min read

Solenoid valve control principle: 2-way, 3-way and 4-way valves explained

How a solenoid shifts a valve spool, how to read the symbol, and how the 2-position 2-way, 3-position 3-way, 2-position 3-way and 3-position 4-way valves route flow between P, A, B and O.

AutomationBy the Automation Nodes engineering team · 24 Nov 202606Instrumentation & Process Control · part 3 of 5
3D render: solenoid valve on a manifold with two 24 V DC coils, coil Y1 energised3D VIEW
Symbols of 2/2, 3/3, 3/2 and 4/3 solenoid valves with flow pathsHOW IT WORKS · LIVE
A 4/3 solenoid valve with coil Y1 energised (top) and the four valve types with their flow paths (bottom).

A solenoid valve turns an electrical signal into a change of flow. It is how a PLC output moves a pneumatic cylinder, opens a water line or drives a hydraulic actuator. Every type works on the same principle; only the number of ports and positions changes.

The control principle

  1. Coil energised: current through the coil makes an electromagnet – one end becomes N, the other S.
  2. Spool shifts: the magnetic force pulls the plunger and the spool against the spring.
  3. Flow path changes: the passages in the spool line up with different ports, so the medium now flows along a new path.
  4. Coil off: the spring pushes the spool back and the valve returns to its rest position.

Reading the symbol

  • Each square is one position. Two squares = 2-position, three squares = 3-position.
  • Arrows show the connected ports in that position; a T means the port is blocked.
  • The coil drawn at one end puts the valve into the square next to it; the spring returns it.
  • Ports: P = pressure (supply), A and B = work ports to the actuator, O = outlet / return (also marked R, T or EXH).
  • The name gives positions and ways (ports): a “3-position 4-way” valve is written 4/3.

1. 2-position 2-way (2/2)

Two ports, P and A. Coil off: the passage is closed. Coil on: the spool shifts and P → A opens. It is a simple on/off valve for water, air, gas or steam lines.

2. 3-position 3-way (3/3)

Ports P, A and O, with a solenoid and a spring at each end. Left coil on: P → A (fill / pressurise). Both coils off: the springs centre the spool and all ports are blocked – the actuator holds where it is. Right coil on: A → O (vent / drain). Used where a single-acting actuator must stop and hold mid-way.

3. 2-position 3-way (3/2)

One pressure port P and two outlets A and B, one solenoid and one spring. At rest the spring holds P → B; energise the coil and the spool shifts to P → A. It diverts flow between two lines or two machines – or, with B used as the exhaust, drives a single-acting spring-return cylinder.

4. 3-position 4-way (4/3)

Ports A, P, B and O with two solenoids and centring springs. Left coil on: P → A and B → O – the cylinder extends. Right coil on: P → B and A → O – it retracts. Both off: the spool centres and blocks the ports, locking the cylinder or hydraulic motor in position. This is the standard valve for double-acting cylinders that must stop anywhere in the stroke.

ValvePortsCoilsWhat it does
2/2 · 2-position 2-wayP, A1 + springOn / off
3/3 · 3-position 3-wayP, A, O2 + springsFill · hold · vent
3/2 · 2-position 3-wayP, A, B1 + springDivert P to A or B
4/3 · 3-position 4-wayP, A, B, O2 + springsExtend · hold · retract
Wiring tips. Never energise both coils of a 3-position valve together – interlock them in the PLC program. Fit a suppression diode or a suppressor connector on DC coils (see why a coil needs a freewheel diode). Choose the rest position deliberately: on power loss the valve goes to its spring position.
Safety. Isolate and vent stored air or hydraulic pressure before removing a valve or fitting. A cylinder can move unexpectedly when pressure returns.
Members edition · free

Members Edition reference card

A two-page A4 edition prepared in your name: a gold-framed cover with our verification seal, plus a reference sheet with the key points, the field checklist or key data, the standards and a QR code back to the full article.

Free account · takes 30 seconds · no password

Download PDF

Need help on site? Automation Nodes designs, builds, tests and commissions LT panels, automation and electrical installations across India.