Proximity sensor LED on, but PLC input off: NPN/PNP mismatch?
I have an inductive proximity sensor that lights up its LED when metal is in front of it, but the corresponding input on my PLC never turns on. I suspect it might be an NPN/PNP wiring mismatch. How can I confirm this and what should I check?
When an inductive proximity sensor's LED illuminates but the PLC input remains off, it often indicates a wiring mismatch between the sensor's output type (NPN or PNP) and the PLC's input type. This prevents the PLC from registering the sensor's signal even though the sensor itself is detecting the target.
Likely causes and checks
1NPN/PNP Wiring Mismatch
- Points to it
- The sensor's LED indicates it's detecting the target, but the PLC input isn't seeing the correct voltage or current path. A PNP sensor sources positive voltage, while an NPN sensor sinks to ground. If the PLC input expects one type and receives the other, it won't activate.
- Check
- First, identify if your sensor is NPN or PNP (usually marked on the sensor body or in its datasheet). Then, check your PLC input module's documentation to determine if it requires a sourcing (PNP) or sinking (NPN) signal. Verify the wiring matches the required configuration. For a PNP sensor, the output wire (typically black) should connect to the PLC input, and the PLC input common should be connected to 0V (ground). For an NPN sensor, the output wire should connect to the PLC input, and the PLC input common should be connected to +24V.
2Incorrect PLC Input Type Configuration
- Points to it
- Even if the physical wiring is correct for the sensor type, the PLC's input module might be configured incorrectly in the PLC program or hardware settings (e.g., set for a different voltage range or input type).
- Check
- Consult the PLC programming software and the input module's manual. Ensure the specific input channel connected to the sensor is configured for the correct input type (e.g., digital input, 24VDC) and that any sourcing/sinking settings match your sensor and wiring.
3Broken Wire or Poor Connection
- Points to it
- The sensor's LED is local to the sensor, but the signal path to the PLC might be interrupted. This could be a break in the output wire, a loose terminal connection, or corrosion.
- Check
- Isolate and lock out power to the circuit. Visually inspect the sensor's output wire from the sensor to the PLC input terminal for any damage. Check all terminal connections for tightness and corrosion. Use a multimeter to check for continuity on the sensor's output wire from the sensor connector to the PLC input terminal.
4Faulty PLC Input Module
- Points to it
- If the sensor is confirmed to be working and wired correctly, and the PLC configuration is correct, the issue might be with the PLC input module itself.
- Check
- Isolate and lock out power. If possible, swap the sensor's output wire to a known good, unused input on the same PLC module or a different module. If the input works on the new channel, the original input channel is likely faulty. Alternatively, use a multimeter to check for voltage at the PLC input terminal when the sensor is active (e.g., 24VDC for PNP, 0V for NPN relative to the common).
Next check: After confirming the sensor's NPN/PNP type, verify the PLC input module's required input type and ensure the wiring matches. Then, check the PLC's software configuration for that specific input.
What it typically looks like in the data
Related questions
Describe the fault or upload a photo, and InduQT checks it against the manufacturer manuals. Share the result here when it helps someone else.