Through-beam mode is a sensor function for contactless object detection. The signal sent by the sensor is interrupted by the object to be detected and no longer reaches the receiver. With this mode, an object can be detected independent of color, shape and surface characteristics.