Why Is the PLC Not Recognizing Sensor Input?
Sensor LED ON, but PLC input OFF
Typical symptoms include:
-
Sensor LED ON, but PLC input OFF
-
PLC input flickering
-
No input change when object detected
-
Random input loss during operation
-
Input works sometimes, then fails
The most common causes are:
- 1️⃣ No 24V power to sensor
- 2️⃣ Incorrect wiring (PNP/NPN mismatch)
- 3️⃣ Faulty input module
- 4️⃣ Loose or broken cable
- 5️⃣ Electrical noise interference
- 6️⃣ Incorrect PLC input configuration
- 7️⃣ Blown fuse or damaged input channel
- 8️⃣ Grounding problem
Let’s break this down properly.
1️⃣ No 24V Power to the Sensor (Most Common Cause)
If sensor has no power:
-
PLC will never receive signal
Even if sensor LED briefly lights, unstable voltage can prevent proper output.
Check:
- ✔ Measure 24V at sensor terminals
- ✔ Check sensor fuse
- ✔ Confirm power supply capacity
- ✔ Inspect common (0V) connection
Always verify stable 24V under load.
2️⃣ PNP vs NPN Mismatch (Very Common Installation Error)
PLC inputs must match sensor output type.
-
PNP sensor → PLC expects sourcing input
-
NPN sensor → PLC expects sinking input
If mismatched:
-
PLC will not detect signal
-
Sensor LED may work, but input remains OFF
Fix:
- ✔ Confirm sensor type
- ✔ Confirm PLC input type
- ✔ Rewire correctly
This is one of the most common causes after sensor replacement.
3️⃣ Broken or Loose Cable
Cables near punch/shear areas often fail due to:
-
Vibration
-
Oil contamination
-
Cable fatigue
Signs:
-
Works when cable moved
-
Intermittent signal
-
Input drops at high speed
Fix:
- ✔ Inspect entire cable length
- ✔ Check connectors (M12/M8)
- ✔ Add strain relief
Many “sensor failures” are actually cable failures.
4️⃣ Electrical Noise from VFDs or Motors
VFDs generate electrical noise.
If sensor wiring runs next to:
-
Motor cables
-
Hydraulic solenoid wires
-
High-current lines
Noise can:
-
Corrupt signal
-
Cause input flicker
-
Prevent stable detection
Fix:
- ✔ Separate signal cables from power cables
- ✔ Use shielded cable
- ✔ Properly ground shielding
- ✔ Add ferrite cores if needed
Noise is common in high-speed roll forming lines.
5️⃣ PLC Input Module Failure
Sometimes the issue is the input card itself.
Test:
✔ Swap sensor to another input channel
✔ If new input works → original channel faulty
Input channels can burn out from:
-
Short circuits
-
Voltage spikes
-
Wiring mistakes
6️⃣ Blown Fuse in Input Circuit
Some machines use individual fuses for sensor circuits.
If fuse blown:
-
No input signal reaches PLC
Check fuse panel before replacing sensors.
7️⃣ Incorrect PLC Configuration
If PLC program expects:
-
Normally Open (NO)
-
Normally Closed (NC)
And sensor wired opposite:
PLC logic may appear “not working.”
Fix:
✔ Verify input configuration in PLC
✔ Confirm ladder logic matches sensor type
Always confirm software side after wiring.
8️⃣ Poor Grounding
Bad grounding can cause:
-
Floating voltage
-
Unstable input
-
False triggering
Ensure:
- ✔ Solid earth ground
- ✔ Common 0V reference
- ✔ No ground loops
Grounding problems cause intermittent faults.
9️⃣ Input Debounce or Filtering Settings
At high speed, signal may switch too quickly.
If filter time too long:
-
PLC may ignore short pulses
If filter too short:
-
Noise may create false signals
Adjust input filtering as required.
Pattern Recognition Guide
| Symptom | Likely Cause |
|---|---|
| Sensor LED ON, PLC OFF | Wiring or PNP/NPN mismatch |
| Intermittent input | Cable fatigue |
| Flickers at high speed | Electrical noise |
| Entire input bank dead | 24V supply or fuse |
| Only one channel dead | Input card fault |
Pattern simplifies diagnosis.
Step-by-Step Diagnostic Procedure
If PLC not recognizing input:
-
Check sensor LED
-
Measure 24V at sensor
-
Confirm PNP/NPN match
-
Check wiring continuity
-
Move sensor to different input
-
Inspect cable routing
-
Verify PLC logic configuration
Always test power and wiring before replacing PLC components.
Why This Is Serious
Unrecognized sensor inputs can cause:
-
Punch misfires
-
Flying shear errors
-
Safety interlock failures
-
Production shutdown
-
Unexpected machine motion
Sensor reliability is critical for automation accuracy.
Final Expert Insight
PLC not recognizing sensor input is usually caused by:
- ✔ No 24V supply
- ✔ PNP/NPN mismatch
- ✔ Cable failure
- ✔ Electrical noise
- ✔ Input module damage
- ✔ Incorrect logic configuration
The most common real-world cause is wiring issues combined with noise from VFDs.
Stable PLC input systems require:
Clean 24V supply → Correct wiring → Proper grounding → Shielded cable routing → Secure connectors → Correct PLC configuration.