The Cylinder, Threaded - M8 package already includes it for your convenience. When the operating temperature is -25°C~80°C TA, proximity sensors will work well.
ICS08S30N40M5PO Features
ICS Series Operating Temperature: -25°C~80°C TA Sensing Distance: 0.157 (4mm) Voltage - Supply: 10V~30V Response Frequency: 2kHz Package / Case: Cylinder, Threaded - M8 Moisture Sensitivity Level (MSL): Not Applicable
ICS08S30N40M5PO Applications
There are a lot of Carlo Gavazzi Inc. ICS08S30N40M5PO Proximity Sensors applications.