Note 01
Reading an inductive sensor part number
What the letters and numbers on the sensor tell you, and which of them must match when you replace it.
Every manufacturer codes its sensors differently, but the same six facts are in there somewhere, and they are the six that decide whether a replacement will work. Take the designation apart and you have your shopping list.
| M18 | Housing | M18 × 1 thread, 18 mm body. Decides the bracket and the sensing range. |
|---|---|---|
| B | Mounting | Flush (shielded): can sit level in a metal bracket. |
| 8 | Sensing distance | Sn 8 mm to a standard steel target. |
| PNP | Output | Sourcing: switches the load towards 0 V. What most PLC inputs expect. |
| NO | Contact | Normally open: output on when a target is present. |
| M12 | Connection | 4-pin M12 connector; a cordset completes it. |
What must match
- Housing size and thread. M8, M12, M18 or M30: the thread the bracket is drilled for. A different size means new brackets and a new sensing distance.
- Flush or non-flush. A flush (shielded) sensor can be mounted level with a metal bracket; a non-flush one needs free space around its face but sees roughly twice as far. Swap one for the other and it will either false-trigger on the bracket or not reach the target.
- Sensing distance, Sn. The nominal switching distance to a standard steel target. The replacement should be equal or greater, and remember that aluminium, brass and stainless reduce it (the datasheet gives a correction factor).
- Output type. PNP (sourcing) switches the load towards 0 V; NPN (sinking) switches it towards +24 V. Most PLC input cards sold in the UK and Europe are wired for PNP. Get this wrong and the input never sees the signal.
- Normally open or normally closed, or both (antivalent, 4-wire). Match what the program expects.
- Connection. An M12 or M8 connector, or a fixed cable of a given length and jacket (PUR for oil and drag chains, PVC for general use). A connector version plus a cordset is usually the easiest spare to hold.
Worth checking too
Supply voltage (10–30 V DC covers almost everything), the IP rating where it's fitted (IP67 is standard; washdown wants IP68/IP69K and a stainless housing), switching frequency on fast machines, and whether the original had a correction factor of 1 (the same distance for all metals) that the application may rely on.
Typical sensing distances, for orientation only: M8 about 1.5–2 mm flush and 4 mm non-flush; M12 2–4 and 4–8 mm; M18 5–8 and 8–12 mm; M30 10–15 and 15–22 mm. Always confirm against the datasheet.