This Square D XS9C2A2A1M12 is a miniature background rejection photoelectric sensor — sealed to IP67 so washdowns and dust won't shut it down. Runs on 12 to 24 VDC, gives you a PNP signal, and senses from 30 to 110 mm with a 3 microsecond response. That speed means it'll catch small parts zipping past on a production machine without missing a beat.
Connector and mounting
M8 4-pin male connector keeps the wiring clean on a miniature body — no bulky pigtail. Plastic housing and IP67 sealing mean it'll hold up in plant-floor conditions. Mount it tight; the small footprint fits tight spots on conveyor or pick-and-place stations.
