The reed switch is connected in series with a light emitting diode (LED) and a current limiting resistor R1. When the switch closes, the DC power supply V1 is connected to the LED/R1 circuit, causing the LED to light up. The lighted LED indicates that the object being detected is present and in position.