12v 2 way solenoid electro magnetic valve

Solenoid Valve How They Work
2 way solenoid valve. A 2 way solenoid valve has two ports, an inlet and an outlet. Flow direction is critical to ensure proper operation, so there is typically an arrow indicating the flow direction. A 2 way valve is used to open or close the orifice. Figure 3 shows an example of a 2 way solenoid valve.

Products Mantech
valve pnuematic 12vdc 2 output 2 way ELECTROMAGNETIC SOLENOID PNEUMATIC VALVE, 12VDC 45mA, DUAL OUTPUT 2 WAY SMALL MINI ELECTRIC SOLENOID VALVE FOR GAS / AIR VALVE

Proximity Sensors: Inductive and Capacitive Proximity
While for the PNP type Inductive proximity sensor, you know the type of inductive sensor I am talking about can be powered up using 5 32Vdc. So if the sensor is powered up using the 5v then the sensor output will be 5v, if the sensor is powered up using 12v, then the sensor output will be 12v