The built-in LED is the fastest diagnostic window on the shop floor, yet NO and NC types invert the logic. Misreading it leads to replacing healthy switches, so learn the lamp codes and confirm them with a meter.
Most inductive sensors carry one or two LEDs: a power LED, steady when supply is healthy and usually omitted on two-wire types, and an action LED that flips with detection. On most models the action LED follows the output, lit means conducting, but NC types invert the picture and some makers define it differently, so check the logic sticker on the housing or verify with a test piece before trusting the lamp.
A practical meter check on a three-wire unit: measure the black output against 0V. A PNP NO output rises to about 24V when triggered, an NPN NO output falls near 0V, and NC types do the opposite. On two-wire units the terminal drop falls under 5V when conducting and sits near supply voltage at idle. If the lamp is lit but the PLC sees nothing, measure the output terminals first - the fault is usually in the cable, a loose terminal or the input common wiring, not the switch.
| Lamp state | NO meaning | NC meaning |
|---|---|---|
| Power LED steady | Supply healthy | Supply healthy |
| Action LED lit | Target detected, output on | Target detected, output off |
| Action LED dark | No target, output off | No target, output on, standby |
| Action LED flickering | Supply ripple or face disturbance | Same, check supply first |
| Lit but no PLC signal | Break between output and input module | Same |
The mnemonics cover mainstream models only; a few brands invert the lamp logic, so bench-test every new batch and label your conclusion on the housing. Put lamp state into the visual inspection sheet - any lamp stuck bright or dark, or flickering without pattern, is treated as a fault precursor and scheduled for re-measurement.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Output state marking per GB/T 14048.10 (IEC 60947-5-2); PLC interfacing per GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.