High-performance photoelectric proximity sensor with background suppression and adjustable switching.