Inductive proximity sensor. Omron E2E-X3D1-N. 2M bare end Cable. Length of Sensor 43mm. UK product !
eBay