Quick Answer

Look at the sensor's LED with the target in front of it. If the LED stays off, the fault is on the sensor side: no supply, a target that is too far away or not metal, or a damaged sensor. If the LED lights but the PLC input stays off, the fault is in the wiring: NPN/PNP does not match the input card, the 0 V common is missing, or a 2-wire sensor's leakage current holds the input. A multimeter on the brown, blue and black wires confirms which.

Safety first: troubleshoot on live 24 V DC circuits only where your site rules allow it, and isolate the machine before reaching into a hazardous area. In the USA, servicing machinery falls under the OSHA lockout/tagout standard (29 CFR 1910.147), linked at the end of this page.

Is it the sensor, the wiring or the target? Start with the LED

The LED on the back of the sensor is driven by the same circuit that drives the output transistor, so it splits the fault in two. The diagram below is the order our applications engineers use when a customer reports a sensor that "does not detect".

Proximity sensor not detecting: troubleshooting flowchart Start by placing a mild steel target close to the sensing face and watching the LED. If the LED stays off, measure the supply between brown and blue; if it is outside 10 to 30 volts DC, fix the supply or cable; if the supply is correct, check the target distance and material, and replace the sensor if a steel target touching the face still does not switch it. If the LED lights but the PLC input stays off, check that NPN or PNP matches the input card, that the 0 volt common is shared, and for 2-wire sensors check leakage and minimum load current. 1. Hold a steel target near the face Does the sensor LED light? LED OFF LED ON 2. Measure brown to blue Must be 10–30 V DC (SGI-GP 3-wire) Outside range → fix supply, fuse or cable 3. Check gap and material Gap ≤ 0.81 × Sn × material factor? Target metal and large enough? 4. Steel touching the face Still no LED with correct supply? → sensor damaged: replace 5. Measure black output PNP: black to blue ≈ supply − ≤2.5 V NPN: black to blue ≤ 2.5 V 6. Check the input side PNP sensor → sinking input card NPN sensor → sourcing input card Shared 0 V common · 2-wire leakage Illustration · SEGMENsensor Engineering Team · values for SGI-GP 3-wire DC models
Illustration: the LED splits a "not detecting" fault into the sensor/target side (steps 2–4) and the wiring/input side (steps 5–6).

How do you test a proximity sensor with a multimeter?

Test it in place with the controller still connected, because an open PNP or NPN output with no load can read a meaningless floating voltage. Set the meter to DC volts and follow these steps.

  1. Supply. Measure between brown (+) and blue (0 V). On SGI-GP 3-wire models you need 10–30 V DC; DC 2-wire models run on 10–60 V DC.
  2. Output with no target. Measure between black and blue with nothing in front of the face and note the reading.
  3. Output with target. Hold a piece of mild steel close to the face (closer than half of Sn) and measure again. The LED should light and the reading should change as in the table below.
  4. Bench test if in doubt. Disconnect the sensor, power it from a known 24 V DC supply and connect a load between black and the opposite supply rail — a 24 V relay or a resistor (see the worked example below). If the output still does not change with steel on the face, the sensor is faulty.
Expected multimeter readings for a 3-wire normally open proximity sensor on 24 V DC
Sensor output (NO)MeasureNo targetTarget present
PNP (sourcing)Black to blue≈ 0 V≈ 21.5–24 V (supply minus ≤ 2.5 V drop)
NPN (sinking)Black to blue≈ 24 V (pulled up through the input)≈ 0–2.5 V
NPN (sinking)Brown to black≈ 0 V≈ 21.5–24 V

On a normally closed (NC) sensor the two columns swap (see NO vs NC sensor outputs). The "target present" voltages are calculated from a 24 V supply and the SGI-GP voltage drop of 2.5 V or less; your input card and cable add their own small drops. Wire colours follow IEC 60947-5-2: brown +, blue 0 V, black output, white second output on 4-wire models — see the NPN vs PNP proximity sensor wiring guide for the circuit diagrams.

Worked example: sizing a load resistor for a bench test or a microcontroller input

A transistor output needs a load to give a clean reading. Choose a resistor that draws a few milliamps:

I = V ÷ R  →  24 V ÷ 10 kΩ = 2.4 mA  ·  P = V² ÷ R = 24² ÷ 10 000 = 0.058 W (calculated)

A 10 kΩ, 0.25 W resistor from black to blue (PNP) or from black to brown (NPN) is enough for a meter reading. When a PNP sensor feeds a microcontroller pin, use a voltage divider or an opto-isolated input rather than connecting 24 V to a 3.3 V or 5 V pin; an NPN output with a pull-up resistor to the logic supply is the simpler interface.

Why does the LED light but the PLC input stays off?

Because the sensor is switching but the current cannot flow through the input. These are the causes we see most often, in order of frequency:

CauseHow to confirmFix
PNP sensor on a sourcing (NPN-type) input, or NPN on a sinking inputOutput voltage changes correctly at the sensor, but the input LED never lightsOrder the opposite output type or change the input card's common wiring
Sensor 0 V not shared with the controllerMeasure between sensor blue and the input card common: it should read 0 VConnect both to the same 0 V reference
Wrong input terminal or broken cable coreMeasure the voltage at the input terminal itself, not only at the sensorRepair the cable or connector; check M12 pin 4 = black
NC sensor wired where NO was expectedInput is on with no target and turns off when the target arrivesUse the NO output, or invert the logic in the program
DC 2-wire sensor leakage current or voltage drop too high for the inputInput flickers or stays on; voltage across the input is never close to 0 VCheck the leakage and minimum load current on the datasheet; add a bleeder resistor or use a 3-wire sensor

Why does the sensor not detect the target at the rated distance?

Because the rated distance Sn is measured under ideal conditions. IEC 60947-5-2 defines Sn with a 1 mm thick mild steel (Fe 360) square target at room temperature, and only assures switching up to 81% of Sn across the full voltage and temperature range. Every other metal reduces the distance further.

Maximum design gap = 0.81 × Sn × material reduction factor

Assured operating distance of an M18 flush SGI-GP sensor (Sn = 8 mm) by target material
Target materialTypical reduction factorM18 flush, Sn = 8 mm: maximum design gap (calculated)
Mild steel (Fe 360)1.006.5 mm
Stainless steel 3040.654.2 mm
Aluminium0.452.9 mm
Copper0.301.9 mm

Reduction factors are typical values; the full list is in the sensing distance guide (Sn, Sr, Su, Sa). If the target is non-ferrous and the gap cannot shrink, the all-metal SGI-FM series is made for aluminium, stainless steel and copper targets. A target smaller than the sensing face, a thin foil, or a target that stops inside the hysteresis band also gives late or flickering switching — how an inductive proximity sensor works explains why.

How do you test a 2-wire proximity sensor?

A DC 2-wire sensor has no separate supply wire: it powers itself through the load, so it can never be tested without one. Wire it in series with the PLC input (or a 24 V relay coil) and measure the voltage across the input.

  • Target present: the input voltage should be the supply minus the sensor's on-state voltage drop (see the datasheet).
  • No target: a small leakage current still flows to keep the sensor powered, so the input sees a residual voltage.

Worked example (assumed values, not a SEGMENsensor specification): an off-state leakage of 1 mA into an input with 4.7 kΩ impedance gives 1 mA × 4.7 kΩ = 4.7 V across the input (calculated). If the input card's "off" threshold is lower than that, the input never turns off. A bleeder resistor in parallel with the input lowers the voltage; the cleaner fix is a 3-wire NPN or PNP sensor.

Symptom, cause and fix at a glance

SymptomLikely causeWhat to do
Never switches, LED darkNo supply, blown fuse, reversed brown/blue, broken cableMeasure brown–blue at the sensor; check cable and connector
Switches on steel, not on the real partAluminium, brass, copper or stainless target; target too smallApply the reduction factor; move closer; use SGI-FM all-metal or a larger housing
Worked, then stopped after a crashSensing face cracked or sensor pushed back in its bracketInspect the face; reset the gap; use a flush type recessed in metal
Flickers at end of strokeTarget stops near the switching point inside the hysteresis bandReduce the gap to 0.81 × Sn × factor or less
Switches with no targetNon-flush sensor too close to surrounding metal or a neighbouring sensorRestore the metal-free zone or use a flush type — see flush vs non-flush
Intermittent after washdown or coolant sprayWater or coolant entering a loose connector or damaged cableTighten and inspect the M12 connector; SGI-GP housings are IP67, with IP68 optional
Drops out near weldingWelding magnetic field disturbs the oscillator; spatter on the faceUse the SGI-WR weld-field immune series (up to 150 mT)
Detects at low speed, misses targets at high speedTarget rate above the sensor's switching frequency, or PLC input filter too slowCalculate rpm × targets ÷ 60 and compare with the rating — see proximity sensor switching frequency
Fails only when the machine is hotAmbient at the sensor above the standard +70 °C ratingUse the SGI-HT high-temperature series (T120 or T150 grade)
SEGMENsensor M18 inductive proximity sensor with threaded stainless housing
M18 housing: longer sensing distance for standard machine builds.
SEGMENsensor M12 inductive proximity sensor with threaded stainless housing
M12 housing: a common compromise between size and sensing distance.

Which SEGMENsensor sensor fixes a recurring detection problem?

If the same fault keeps returning, the sensor type rather than the individual unit is usually wrong for the job. These series are made for the conditions that most often cause missed detection:

Decode the part number on the failed sensor with the proximity sensor part number lookup to confirm its output type, contact and Sn before ordering a replacement.

Sensor keeps missing the target?

Send the part number on the label, the target material and size, the gap, the controller input type and the conditions at the sensor. Our engineers will propose a replacement or a better-suited series. Qualification samples 1–5 pcs in 5–7 working days · FOB China · reply within 24 hours.

Download the inductive proximity sensor datasheet (PDF)

Sensing distance, supply voltage, output types, switching frequency, housing and temperature data for the SEGMENsensor inductive proximity range. Size-specific datasheets are also available for M8, M12, M18 and M30, flush and non-flush. No registration required.

Frequently Asked Questions

Power it with a correct supply (10–30 V DC for SGI-GP 3-wire models), connect a load to the output and hold mild steel against the sensing face. If neither the LED nor the output voltage changes, the sensor is faulty. If the LED changes but the controller does not, the sensor is fine and the wiring or input is the problem.

The output type does not match the input, or the circuit is not complete. A PNP sensor needs a sinking input and an NPN sensor needs a sourcing input, and the sensor's blue wire must share 0 V with the controller. Measure the voltage at the input terminal to find where the signal is lost.

Non-ferrous and stainless targets damp the oscillator less than mild steel, so they switch at a shorter distance. With typical factors of 0.45 for aluminium and 0.65 for stainless steel 304, an M18 flush sensor with Sn = 8 mm assures about 2.9 mm and 4.2 mm respectively (calculated). Move closer or use an all-metal sensor.

No. Only electrically conductive material carries the eddy currents that switch an inductive sensor. For plastic, wood, glass or liquids use a capacitive or photoelectric sensor instead.

The part number on the old sensor or its housing size, the target material and size, the installed gap, flush or non-flush mounting, the controller input type (PNP or NPN, 2-wire or 3-wire) and the conditions at the sensor such as temperature, welding or pressure. Our engineers reply within 24 hours.

Yes. Qualification samples of 1–5 pcs per configuration ship in 5–7 working days. Production lead time and MOQ are confirmed with the quotation. Terms are FOB China with 100% T/T in advance.

Last updated: 7 November 2026 · SEGMENsensor Engineering Team. First published 7 November 2026.