These switches operate by sensing the presence of a magnetic field. When a target magnet is moved within range, the switch’s contacts will close or open, depending on which wire pair is used.