Pepperl+Fuchs NBN4-12GM50-E0-V1 inductive proximity sensor.
This is an industrial-grade inductive proximity switch that detects metallic objects without physical contact.
It has a detection range of 4 mm.
The sensor has a normally open (NO) switching function and an NPN output type.
It operates with a supply voltage of 5 to 36 V DC.