Ultrasonic sensors are suitable for detecting transparent, dark, glossy, reflective or porous surfaces. They can detect objects or liquids despite the presence of dirt, dust, mist or extraneous light. The measured values are determined by transmitting and receiving ultrasonic waves which are output as voltage or via IO-Link.