Pneumatics Basics: How Pneumatic Systems Work (2026 Beginner Guide)
Pneumatics basics for automation — compressed air, the core components, how a pneumatic circuit works, actuators and valves, and how a PLC controls them.
Pneumatics is the use of pressurized air to transmit force and motion in mechanical systems. A pneumatic system stores potential energy in compressed air and releases it on demand to move actuators — cylinders, grippers, and rotary drives — that perform physical work in automated machinery.
Pneumatic systems are everywhere in manufacturing: they clamp parts on a fixture, eject finished components from a mold, open and close gates on a conveyor, and actuate safety interlocks. If you work in industrial automation, you will encounter pneumatics on almost every machine you program or maintain.
This guide covers everything a beginner needs to understand pneumatic systems: the physics, the components, how a circuit works, the types of actuators and valves, and — critically — how a PLC controls it all.
What Is Pneumatics? The Compressed-Air Principle
Pneumatics relies on one simple physical fact: air can be compressed, stored, and then allowed to expand. When compressed air expands, it does work — it pushes a piston, rotates a vane motor, or clamps a jaw shut.
The working medium is atmospheric air drawn from the environment, compressed by a compressor, and stored in a receiver tank at a pressure typically between 5 and 10 bar (72–145 psi) for industrial applications. This stored pressure is potential energy waiting to be converted into linear or rotary mechanical motion.
Pneumatics differs from hydraulics, which uses incompressible liquid (usually oil) to transmit force. You can read about the trade-offs in our comparison of pneumatics vs hydraulics and our dedicated hydraulics explained guide. The short version: pneumatics is fast, clean, and inexpensive to install; hydraulics produces far higher forces for the same actuator size.
The Core Components of a Pneumatic System
Every pneumatic system — from a simple workshop air line to a complex automation cell — contains the same fundamental building blocks.
1. Compressor
The compressor is the power source. It draws in atmospheric air and raises its pressure using a piston, rotary screw, or scroll mechanism. Compressor output is rated in flow (liters per minute or SCFM) and pressure (bar or psi). Sizing the compressor correctly for the total air demand of the machine is a critical engineering step — undersized compressors cause pressure drops that make actuators behave unpredictably.
Common types in industrial automation:
- Reciprocating (piston) compressors — reliable, lower cost, suited to intermittent duty
- Rotary screw compressors — continuous duty, quieter, common in large facilities
- Oil-free compressors — required where air quality is critical (food, pharmaceutical)
2. Receiver (Air Reservoir)
The receiver tank stores compressed air between the compressor and the downstream system. It serves two purposes: it smooths out pressure fluctuations caused by the compressor cycling on and off, and it provides a buffer volume so short bursts of high demand do not immediately starve the system.
Tank size is selected based on compressor output, system demand, and the allowable pressure swing (typically ±0.5 bar).
3. FRL Unit — Filter, Regulator, Lubricator
Before compressed air reaches any valve or actuator it must be conditioned. The FRL unit is a three-stage module installed at the machine entry point or at individual work zones:
- Filter — removes water condensate, compressor oil aerosols, and particulates that would damage valve seals and bore surfaces. A coalescing filter removes fine oil mist; a particulate filter catches solid debris.
- Regulator — reduces the supply pressure to the working pressure required by the circuit and holds it constant regardless of flow demand. The regulated pressure is typically set between 4 and 6 bar for general pneumatic cylinders.
- Lubricator — injects a fine mist of oil into the air stream to lubricate valve spools and cylinder seals. Note: many modern pneumatic components are lube-free (pre-lubricated seals, low-friction coatings) and must not see a lubricator, as oil degrades their seals. Always check the manufacturer's data sheet.
4. Directional Control Valves
Directional control valves (DCVs) are the switching elements of a pneumatic circuit. They route pressurized air to the correct port of an actuator and simultaneously open the exhaust path for the return side. DCVs are described by the number of ports and the number of switching positions — more on this in the valves section below.
5. Actuator
The actuator converts compressed air pressure into mechanical work. Cylinders are the most common actuator type: they produce linear motion with a force equal to pressure multiplied by piston area (F = P × A). Rotary actuators, grippers, and vacuum generators are also common.
How a Basic Pneumatic Circuit Works
A working pneumatic circuit follows a simple energy path:
- The compressor pressurizes the receiver to the set pressure.
- Air leaves the receiver, passes through the FRL unit, and arrives at the directional control valve at regulated working pressure.
- An electrical signal (from a PLC output, a manual pushbutton, or a limit switch) shifts the valve spool.
- The valve routes pressure to the extend port of the cylinder and opens the retract port to exhaust.
- The piston rod extends, performing work (clamping, pushing, ejecting).
- When the signal changes, the valve shifts back, pressure is applied to the retract port, and the rod retracts. The extend side exhausts to atmosphere.
Flow controls (needle valves with check valves) are installed on cylinder ports to meter the exhaust air and control actuator speed. Restricting the exhaust — not the supply — is the standard method for smooth speed control in pneumatic cylinders.
Pneumatic Actuators
Single-Acting Cylinders
A single-acting cylinder has one pressurized port. Compressed air extends the piston rod; an internal spring (or gravity, or the load itself) retracts it when the air exhausts. Single-acting cylinders are compact and simple, requiring only a 3/2 valve. They are commonly used for clamping, pushing, and spring-return safety mechanisms where fail-safe retraction is required.
Limitation: the spring opposes the air force on the extend stroke, reducing available thrust. The spring must also be sized to reliably retract the load.
Double-Acting Cylinders
A double-acting cylinder has two pressurized ports — one for extend, one for retract. Compressed air drives both strokes, delivering full force in both directions. This is the most common cylinder type in automation because it provides:
- Full thrust in both directions
- Controllable speed on both strokes (via flow controls on each port)
- Predictable and repeatable motion
Double-acting cylinders require a 5/2 valve (or 4/2 valve) to route pressure alternately to each port.
Rotary Actuators
Rotary (vane) actuators convert air pressure into shaft rotation, typically through a limited arc of 90°, 180°, or 270°. They are used to rotate fixtures, open flap gates, and operate quarter-turn valves. Rack-and-pinion actuators use a linear cylinder to drive a gear rack, converting linear motion to rotation with high torque output.
Directional Control Valves: 3/2 vs 5/2
Directional control valves are classified by a ports/positions notation.
3/2 Valve (Three Ports, Two Positions)
A 3/2 valve has three ports and switches between two positions:
- Port 1: Supply (pressure in)
- Port 2: Work (to actuator)
- Port 3: Exhaust
Position A (de-energized): Port 2 connects to Port 3 — actuator port exhausts. Position B (energized): Port 1 connects to Port 2 — pressure reaches actuator port.
The 3/2 valve is matched to single-acting cylinders: one valve controls one cylinder port; the spring provides the return.
5/2 Valve (Five Ports, Two Positions)
A 5/2 valve has five ports and switches between two positions:
- Port 1: Supply
- Port 2: Work A (to cylinder extend port)
- Port 3: Exhaust A
- Port 4: Work B (to cylinder retract port)
- Port 5: Exhaust B
Position A: Pressure to Port 4 (retract), Port 2 exhausts via Port 3. Position B: Pressure to Port 2 (extend), Port 4 exhausts via Port 5.
The 5/2 valve is the standard choice for double-acting cylinders. A single-solenoid 5/2 uses a solenoid to shift and a spring to return; a double-solenoid 5/2 uses a solenoid on each end, making it memory or detent — it holds its last position if power is lost, which is a critical consideration for machine safety.
Advantages and Limitations of Pneumatics
Advantages
- Clean and safe — the working medium is air; leaks are not a fire or contamination hazard
- High speed — pneumatic cylinders can complete strokes in milliseconds
- Simple and robust — few moving parts, long service life in harsh environments
- Low cost — compressed air infrastructure is present in most manufacturing facilities
- Explosion-safe — intrinsically safe in hazardous environments (no electrical energy at the actuator)
Limitations
- Compressibility — air compresses under load, making precise position control difficult without additional hardware (servo pneumatics, position transducers)
- Lower force density — for very high forces, hydraulics or electric actuators may be more compact
- Energy efficiency — generating compressed air is relatively energy-intensive; air leaks represent ongoing energy waste
- Noise — exhaust air creates noise; silencers/mufflers are required in many environments
- Moisture — air contains water vapor that must be managed or it corrodes valve bodies and cylinder bores
Common Applications
Pneumatic systems appear across virtually every manufacturing sector:
- Automotive assembly: clamping fixtures, spot-weld guns, door-hem tooling
- Food and beverage: product ejection, packaging clamps, conveyor diverters
- Pharmaceutical: tablet press tooling, blister pack sealing, clean-room grippers
- Machine tools: workpiece clamping, tool changers, chip blowing
- Electronics assembly: component pick-and-place, PCB handling, depaneling
- General automation: conveyor stops, gate valves, safety barriers, palletizer pushers
How PLCs Control Pneumatic Systems
This is the section most beginner guides skip — but for anyone learning industrial automation, it is the most important part.
A pneumatic actuator does nothing on its own. It moves when a valve opens. And a valve opens when it receives an electrical signal. That signal comes from a PLC output.
Solenoid-Actuated Directional Control Valves
The bridge between the PLC (electrical domain) and the pneumatic circuit (fluid domain) is the solenoid valve. A solenoid valve has an electromagnetic coil wound around a ferrous plunger. When the PLC output energizes the coil, the magnetic field pulls the plunger, shifting the valve spool and connecting pressure to the actuator port.
Common solenoid voltages in industrial automation: 24 V DC (most common in PLC I/O systems), 110 V AC, 230 V AC. The 24 V DC solenoid is the standard choice when wiring directly to PLC transistor or relay output modules.
Wiring a PLC Output to a Valve Solenoid
The wiring is straightforward:
- PLC output terminal connects to one terminal of the solenoid coil
- 0 V (DC common) connects to the other solenoid terminal
- The PLC output module sources or sinks current through the solenoid coil (typically 0.5–2 W, well within the module's output current rating)
- A flyback diode (usually built into the solenoid connector) suppresses the inductive voltage spike when the coil de-energizes, protecting the PLC output transistor
For a double-solenoid 5/2 valve, two PLC outputs are wired: one to the extend solenoid, one to the retract solenoid. The program must never energize both simultaneously — this is a mutual exclusion requirement enforced in ladder logic.
Sensor Feedback to PLC Inputs
A PLC needs feedback to know where the cylinder is. Reed switches or Hall-effect sensors are magnetically actuated by a magnet embedded in the piston and are mounted in T-slots on the cylinder body. They are wired as PLC digital inputs (NPN or PNP, 24 V DC):
- Extended limit switch (LS_EXT) — confirms the rod has fully extended
- Retracted limit switch (LS_RET) — confirms the rod has fully retracted
Pressure switches or IO-Link pressure sensors can provide additional feedback — confirming grip force on a clamp, detecting a blocked bore, or verifying supply pressure is within range before a cycle starts.
For high-accuracy position requirements, analog position transducers (magnetostrictive or potentiometric) are mounted on the cylinder and wired to an analog input module. This allows the PLC to track piston position continuously — not just end-of-stroke.
To understand how PLC inputs and outputs are organized and addressed, see our PLC programming basics fundamentals guide and what is PLC programming.
Ladder Logic: Extend/Retract Sequence for a Double-Acting Cylinder
The following is a minimal but complete extend/retract sequence in IEC 61131-3 ladder logic. It uses a momentary START pushbutton to trigger a full cycle: extend until the extended limit is confirmed, then retract.
// Tag definitions (example):
// I:0/0 = START pushbutton (NO contact, 24VDC input)
// I:0/1 = LS_RET — cylinder retracted limit switch (NO)
// I:0/2 = LS_EXT — cylinder extended limit switch (NO)
// O:0/0 = SOL_EXT — extend solenoid (single solenoid output)
// O:0/1 = SOL_RET — retract solenoid (single solenoid output)
// B3:0/0 = CYCLE — internal work bit (latches the cycle)
// Rung 001 — Latch cycle on START, clear on retracted limit
// (START AND LS_RET) OR CYCLE → [not LS_RET] → CYCLE (coil)
|--[START]--[LS_RET]--+--[/LS_RET]--( CYCLE )--|
| |
+--[CYCLE ]-----------+
// Rung 002 — Energize extend solenoid while CYCLE is active
// and cylinder has NOT yet reached extended limit
|--[CYCLE]--[/LS_EXT]--( SOL_EXT )--|
// Rung 003 — Energize retract solenoid once extended limit is reached
|--[CYCLE]--[LS_EXT]--( SOL_RET )--|
// Rung 004 — Mutual exclusion guard (belt-and-suspenders)
// De-energize extend if retract is already energized
|--[SOL_RET]--( /SOL_EXT )--| // forced unlatch — never both HIGH
How the sequence runs:
- Operator presses START while cylinder is retracted (LS_RET closed). CYCLE bit latches ON.
- Rung 002: CYCLE is ON, LS_EXT is OFF (cylinder not yet extended) → SOL_EXT energizes → valve shifts → cylinder extends.
- When the rod reaches full extension, LS_EXT closes. Rung 002 de-energizes SOL_EXT; Rung 003 energizes SOL_RET → valve shifts back → cylinder retracts.
- When the rod reaches full retraction, LS_RET closes. Rung 001 clears CYCLE (because [/LS_RET] opens) → SOL_RET de-energizes → cycle complete.
This pattern — latch, extend, wait for limit, retract, wait for limit, unlatch — is the foundation of most pneumatic sequence programs. For more complex multi-cylinder sequences, it expands into a step sequencer using internal state bits or the SFC (Sequential Function Chart) language. See our industrial automation programming guide for step-sequencer patterns.
For a hands-on introduction to ladder logic with more worked examples, the motor start/stop ladder logic tutorial covers the same latch/unlatch mechanics applied to motor control — the same logical pattern underpins pneumatic sequencing.
Frequently Asked Questions
What are the basics of pneumatics?
Pneumatics is the technology of using compressed air to generate force and motion. A compressor raises atmospheric air to working pressure (typically 5–10 bar), stores it in a receiver tank, conditions it through a filter/regulator/lubricator, routes it through directional control valves, and delivers it to actuators (cylinders or rotary drives) that perform mechanical work. The core principle is that compressed air stores potential energy that is released on demand to move a load.
What are the main components of a pneumatic system?
The five essential components are: (1) the compressor, which generates compressed air; (2) the receiver tank, which stores air and buffers pressure fluctuations; (3) the FRL unit (filter, regulator, lubricator), which conditions air before use; (4) the directional control valve, which routes air to the correct actuator port; and (5) the actuator (typically a cylinder), which converts air pressure into linear or rotary mechanical motion. Flow controls and sensors are added to these core five in most production systems.
How does a PLC control a pneumatic cylinder?
A PLC controls a pneumatic cylinder by switching a solenoid-actuated directional control valve through a digital output. When the PLC output energizes the solenoid coil (typically 24 V DC), the valve shifts and routes compressed air to the cylinder's extend or retract port. Position feedback comes from reed switches or Hall-effect sensors mounted on the cylinder body, which wire back to PLC digital inputs. The ladder logic program reads these sensor inputs to confirm position and then sequences the solenoid outputs to produce extend/retract cycles.
What is the difference between 3/2 and 5/2 valves?
A 3/2 valve has three ports and two positions and is used with single-acting cylinders: it either connects pressure to the actuator port or opens that port to exhaust. A 5/2 valve has five ports and two positions and is used with double-acting cylinders: in one position it routes pressure to the extend port (while exhausting the retract port), and in the other position it routes pressure to the retract port (while exhausting the extend port). In short, a 3/2 valve controls one direction of motion; a 5/2 valve controls both extend and retract of a double-acting cylinder.


