Diffuse photoelectric sensor with background suppression, suitable for various industrial applications.