The narrow beam path enables the confocal sensors to measure in recesses. With the confocal measuring principle, measurements on liquids are possible, e.g. for precise filling level control in trays.