Photoelectric proximity sensor with background suppression, suitable for various automation applications.