Mounting brackets for cylindrical sensors enable simple and rapid replacement of cylindrical sensors. Slots for fixing screws facilitate flexible alignment and precise adjustment of the detection distance. Models with internal fixed stops allow the exact sensor position to be retained after replacement, making re-checking of the detection distance unnecessary.