The Cylinder, Threaded - M18 package already includes it for your convenience. When the operating temperature is -25°C~70°C TA, proximity sensors can function well.
ICB18S30F05PC Features
ICB Series Operating Temperature: -25°C~70°C TA Sensing Distance: 0.197 (5mm) Voltage - Supply: 10V~36V Response Frequency: 1.5kHz Package / Case: Cylinder, Threaded - M18 Moisture Sensitivity Level (MSL): Not Applicable
ICB18S30F05PC Applications
There are a lot of Carlo Gavazzi Inc. ICB18S30F05PC Proximity Sensors applications.