Key takeaways
A machine sits idle because one small sensor stopped telling the PLC the truth, and now the whole line waits. This guide is for maintenance technicians, maintenance managers, and plant engineers troubleshooting inductive and capacitive proximity sensors on production equipment: the symptoms, the causes in order of likelihood, and a testing sequence that finds the fault without guesswork.
Inductive proximity sensors generate a small electromagnetic field at the sensing face and detect metal targets through the eddy currents the target induces. They detect metal only, and they detect it at very short range.
Capacitive proximity sensors detect a change in the dielectric near the face, so they respond to almost any material: metal, plastic, glass, liquids, powders. That versatility also makes them more sensitive to contamination, moisture, and material variation.
Both types have short rated sensing distances, typically a few millimeters and always specified per sensor in the datasheet. If the failed sensor is optical rather than inductive or capacitive, follow our photoelectric sensor troubleshooting guide instead, since the failure modes differ.
| Symptom | Most likely cause | First check |
|---|---|---|
| No output, ever | No supply voltage, broken cable, wrong output type (NPN/PNP) | Power LED, then voltage at the sensor connector |
| Intermittent output | Cable damage in flex duty, marginal gap, loose connector | Wiggle the cable while watching the LED |
| Output stuck ON | Chip or coolant buildup on the face, damaged face | Clean and inspect the sensing face |
| Detection distance shrinking | Fixture wear, target misalignment, non-standard target material | Measure actual gap vs rated sensing distance |
| Works cold, fails hot | Marginal gap drifting with thermal expansion, aging electronics | Measure the gap at temperature, compare to spec |
Most proximity sensors live inside guarding, near tooling that moves. Lock out and tag out before reaching in, and verify stored energy is released: electrical, pneumatic, hydraulic, gravity-loaded axes, and anything that can still move.
Never adjust, jumper, or defeat a sensor that serves a safety function, such as a guard interlock or safety-rated position switch. Safety devices are governed by different rules than standard automation sensors: they must be repaired through your safety procedures, never bypassed.
The two LEDs settle it. If the sensor LED switches but the input card LED never does, suspect wiring, the connector, or the input channel itself. If the input LED switches but the program never reacts, suspect addressing or a failed channel, and try moving the wire to a spare input.
Controller-side diagnostics can shortcut this: on Siemens hardware, for example, module faults surface on the CPU status LEDs, and our Siemens S7 SF fault LED troubleshooting guide covers how to read them. Exact LED meanings vary by model and firmware, so confirm in the manufacturer manual.
Three-wire DC sensors come in two output types. PNP (sourcing) switches the positive supply to the input; NPN (sinking) switches the input to 0 V. A PLC input wired for one type will never read the other.
This is the classic replacement failure: the new sensor's own LED works perfectly, the machine still faults, and the part gets condemned as bad out of the box. Check the output type printed on the old sensor before ordering, and verify the wiring convention (commonly brown positive, blue 0 V, black output) against the datasheet.
A sensor that fails every few weeks is not a parts problem, it is an engineering problem: exposed mounting, chip accumulation, fixture wear, or wrong sensor selection. You only see that pattern if every occurrence is logged as a downtime event with a cause code, and if you track MTBF and MTTR per asset.
Chronic offenders then earn real fixes: recessed or bunkered mounting, an air blast on the face, flex-rated cable, or a scheduled clean-and-check on your preventive maintenance schedule. The same event data feeds availability, which is why sensor nuisance trips show up directly in OEE for manufacturing long before anyone tallies the repair hours.
Many proximity sensor faults show up as short, repeated stops that never make it into a manual downtime log. Fabrico is computer-vision-verified OEE plus closed-loop maintenance execution: cameras catch stops and micro-stops that manual logs and sensors miss, and maintenance work orders close the loop from detection to fix. If nuisance sensor trips are eating your availability, book a Fabrico demo and see the pattern on your own lines.
Verify supply voltage between the positive and 0 V pins at the sensor connector, then measure the output pin while presenting a target: a PNP output should swing to near supply voltage, an NPN output to near 0 V. If the voltage is right and the output never switches, run a swap test with a known-good sensor.
The most common cause on inductive sensors is metal chip or coolant buildup on the sensing face, which the sensor reads as a permanent target. Clean the face and check for a damaged face or a target resting too close; a shorted output or wiring fault comes next.
PNP (sourcing) sensors switch the positive supply to the PLC input; NPN (sinking) sensors switch the input to 0 V. They are not interchangeable on the same input wiring, and installing the wrong type is a frequent cause of a "dead on arrival" replacement.
Rated sensing distance is specified for a standard mild steel target. Non-ferrous metals like aluminum and brass reduce the usable range significantly, so a gap that works for steel can be out of range for aluminum. Apply the correction factor from the datasheet or choose a sensor with more range.
Only if the sensor is a standard automation sensor, your site procedures allow a documented temporary measure, and the machine remains safe without it. Never bypass any sensor that performs a safety function, such as a guard interlock: safety devices must be repaired under your safety procedures, not defeated.