Diffuse-mode photoelectric sensors with background suppression emit a focused light beam toward a distant target. Part of the beam is reflected from the target and returns to the sensor, striking a position-sensitive receiver. The receiver distinguishes between reflections from the target and reflections from background objects, only triggering the sensor when the signal reaches a value that corresponds to the preset target distance.