The magnetic proximity switches define the position of the cylinder piston. When the internal contact is actuated by a magnetic field, the sensors complete an electrical circuit and provide an output signal to actuate directly a solenoid valve or a PLC. A yellow or led LED diode shows when the internal magnetic contact is closed.