Photoelectric Sensors detect photo-optical workpieces. OMRON provides many varieties of Sensor, including diffuse-reflective, through-beam, retro-reflective, and distance-settable Sensors, as well as Sensors with either built-in or separate amplifiers.
A proximity sensor MODEL NUMBER IS E2B-SO8KN04-WP-B1