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