The Square D / Telemecanique XUB0BPSNM12 is an 18 mm threaded metal-barrel photoelectric sensor with a PNP output, rated 12–24 VDC, and a 100 mA max load. It covers four sensing modes in one housing: diffuse out to 30 cm, background suppression at 12 cm, polarized retroreflective to 2 m, and through-beam to 15 m. The 2 ms on/off response and 250 Hz switching frequency handle high-speed container or part detection on packaging lines.
Key ratings at a glance
The 12 cm background suppression (BGS) is the feature that saves you a second sensor on close-range applications – it ignores objects beyond the set cutoff, so no false triggers from the conveyor frame behind the target. The M12 4-pin male connector makes it a direct plug-in on pre-wired harnesses; you're not splicing cable. IP67 and NEMA 4X/12 plus nickel-plated brass enclosure mean it lives through washdown and coolant spray. Output is programmable NO/NC, so it can drop into a panel that expected normally-open or normally-closed logic.
Sibling comparison – PNP vs NPN
The only real alternative in the same connector format is the XUB0BNSNM12 – same 18 mm body, same M12 plug, same sensing distances and response, but NPN output instead of PNP. If your PLC input card sinks current (common input), you go NPN; if your card sources current, you stay PNP. Everything else – mechanical footprint, wiring pinout (3-wire, same colors), IP rating, approvals – is identical. So a panel wired for XUB0BNSNM12 can take this part after swapping the output polarity configuration (or vice versa). No rewiring, just a logic reversal at the sensor's own NO/NC selector.
