Your industrial machine just stopped detecting objects, throwing error codes like ‘Sensor Fault’ or ‘No Object Detected’. This guide walks you through diagnosing a failed proximity sensor switch, from a quick multimeter check to full replacement, using specific part numbers and real-world costs.

What’s Happening — Symptoms in Detail

Your machine just stopped working correctly. You likely see one of these symptoms:

When does it happen?

How does it progress?

Real-world example: A conveyor line stops. The PLC screen shows ‘Zone 3 Sensor Fault’. The red LED on the SN04-N sensor is off. Even a steel wrench placed directly against its face does nothing. The line is down, and production is halted.

How to Diagnose the Problem Step by Step

Tools Needed: Digital Multimeter (set to DC voltage), Small flathead screwdriver (for terminal blocks), Test object (a steel bolt or screwdriver).

Beginner’s Quick Check (2 minutes):

  1. Power Check: Look at the sensor’s LED indicator. Normal: The LED is lit or flashes when an object is near. Abnormal: The LED is completely dark. Unplug the sensor’s connector and plug it back in. If still dark, the sensor likely has no power or is dead.
  2. Physical Damage: Inspect the sensor face. Normal: Smooth, clean plastic or metal face. Abnormal: Cracked, chipped, or melted face. If damaged, the sensor is broken.
  3. Cable Check: Wiggle the cable near the sensor and near the connector. Normal: No change in LED. Abnormal: The LED flickers or the machine’s error clears momentarily. This indicates a broken wire inside the insulation.

Detailed Diagnosis (10 minutes):

  1. Verify Power Supply: Set your multimeter to DC Volts (20V range). Place the red probe on the sensor’s Brown wire (V+) terminal and the black probe on the Blue wire (0V/GND) terminal. Normal: Reading between 10-30V DC (typical for industrial sensors). Abnormal: 0V means a blown fuse, bad power supply, or broken wire. If voltage is present, the sensor is getting power.
  2. Test Output (NPN type - most common): Set multimeter to DC Volts. Place red probe on the Black wire (Output) terminal, black probe on Blue wire (GND). With no object near the sensor: Normal: Reading is 0V. Abnormal: Reading is +V (e.g., 24V) — sensor is stuck ON. Now place your steel bolt directly against the sensor face: Normal: Reading jumps to +V (e.g., 24V). Abnormal: Reading stays at 0V — sensor is stuck OFF or dead.
  3. Test Output (PNP type): Same setup, but red probe on Black wire, black probe on Blue wire. Normal with no object: 0V. Normal with object: +V. Abnormal: No voltage change.
  4. Load Test: If the sensor switches voltage but the machine still errors, the sensor may be weak. Connect a small 24V relay coil or a 1kΩ resistor across the output and GND. If the relay clicks or the voltage drops under load, the sensor’s internal transistor is damaged.

If the sensor passes all voltage tests but the machine still errors, the problem is likely the PLC input module or wiring, not the sensor itself.

Why This Happens — Root Cause

Why do proximity sensors fail? These are solid-state devices, but they have specific failure modes.

Specific Models and Known Issues:

Can You Fix It Yourself?

Difficulty Level: 2 out of 5 (Easy)

Time Required: 15 to 30 minutes for a complete replacement.

Skill Level Needed:

Risks and What Could Go Wrong:

Tools Required (Specifics):

Cost Breakdown — DIY vs Professional

DIY Cost (Parts):

Professional Repair Cost:

When to Skip DIY:

Verdict: For a standard SN04-N or E3F-DS30C4 sensor on a conveyor or simple machine, DIY is absolutely worth it. The part cost is under $2, and the repair takes 20 minutes. You save over $100.

Repair Process Overview

Step 1: Power Down and Lock Out

Step 2: Remove the Old Sensor

Step 3: Prepare the New Sensor

Step 4: Mount the New Sensor

Step 5: Wire the New Sensor

Step 6: Power Up and Test

Common Mistakes:

After the Repair — Testing & Verification

Immediate Verification (first 5 minutes):

First Hour of Operation:

Long-Term Monitoring (first week):

When to Call a Professional Again:


Parts You’ll Need

Here are the parts that match this repair. Click the link to check the current price on AliExpress.

ProductPrice
1PCS Proximity switch SN04-N metal de…$0.61
E3F-DS30C4 Proximity Switch Photoelec…$1.25
Photoelectric Switch U-type Sensor 1m…$0.95

Prices and availability are subject to change on AliExpress.