Ultrasonic sensors detect all sound-reflecting objects and measures the time from transmission to reception of a sound signal. The target's color, transparency and surface reflectivity are irrelevant. ifm offers variants in M18 and M30 designs with sensing range up to 8 m.
With the IO-Link enabled version, setup is achieved in a few minutes using the moneo | configure software on a laptop or the moneo | blue app that runs on a mobile device.