The problem with a standard pneumatic diaphragm valve is that it’s just a single seat valve with an inlet, an outlet and an actuator on it. The diaphragm opens and closes to let flow through the valve. With a lot of valves used in industry, you can have a two-way valve and a three-way valve, so you have a third port inside the valve and the actuator closes one port and opens another.