Photo-eye or proximity sensor not detecting

Power, the sensor’s own LED, the output, then alignment and target.

Before you start

How much electrical experience do you have?

This sets how much detail each step shows. You can change it any time.

How it works

Most industrial sensors are 3-wire DC devices: brown is +V (often 10–30 V DC, check the label), blue is 0 V, and black is the switched output. A PNP (sourcing) output switches +V onto the black wire; an NPN (sinking) output switches the black wire to 0 V. Inductive proximity sensors see only metal, and their range drops for non-ferrous metals like aluminum or brass. Photo-eyes need a clean lens, alignment and the right mode (light-operate or dark-operate).