PLC Sim Lab
Industrial sensors

Pressure switches and pressure sensors

Air compressors, hydraulic power units and vacuum grippers all need to know the pressure. A pressure switch gives an ON/OFF signal at a set pressure; a pressure transmitter gives the actual value.

2 min read · Updated 2026-10-02

Mechanical pressure switch

Pressure acts on a diaphragm, piston or bellows working against a spring. When the force exceeds the spring setting, a snap-action contact changes over. Turning the adjusting screw changes the setpoint. It needs no power and the contacts can switch a contactor coil directly.

Setpoint and differential (hysteresis)

A switch that turns off at exactly the same pressure it turns on would chatter. So it has a differential: for a compressor, for example, cut-out at 8 bar and cut-in at 6 bar. The motor stops at 8 bar and restarts when the pressure drops to 6 bar.

Electronic pressure switch

A pressure sensor element plus electronics and a display. You set the switch point (SP) and reset point (RP) on the display. It usually has one or two PNP/NPN outputs, and often an analog output and IO-Link as well. More accurate and easier to adjust than a mechanical switch.

Pressure transmitter (4–20 mA)

A transmitter sends the actual pressure as an analog signal: e.g. 0–10 bar = 4–20 mA. The PLC reads it on an analog input and the program decides when to act. This is how you show the pressure on an HMI or build a PID pressure control loop with a VFD-driven pump.

Typical uses

ApplicationSignal
Compressor start/stoppressure switch with differential
"Air OK" interlock before a machine startspressure switch on the main air line after the FRL
Hydraulic overpressure alarmpressure switch or transmitter
Vacuum gripper "part picked"vacuum switch
Pump pressure control4–20 mA transmitter + VFD

Wiring tips

The PLC Sim Lab Playground has a compressor, FRL unit, hydraulic power unit and cylinders, so you can build a complete air or oil system controlled by the PLC through a magnetic contactor.

Try it yourself. Wire sensors, contactors and a PLC, write ladder logic and press RUN in the free PLC Sim Lab Playground. Nothing to install.

Open the Playground →Guided lessons →