The Cylinder, Threaded - M18 package already includes it for your convenience. If the proximity sensors are operated at a temperature of -25°C~70°C TA, they will perform well.
ICB18S30N08PA Features
ICB Series Operating Temperature: -25°C~70°C TA Sensing Distance: 0.315 (8mm) Voltage - Supply: 10V~36V Response Frequency: 1.5kHz Package / Case: Cylinder, Threaded - M18 Moisture Sensitivity Level (MSL): Not Applicable
ICB18S30N08PA Applications
There are a lot of Carlo Gavazzi Inc. ICB18S30N08PA Proximity Sensors applications.