Baumer FZAM 18P1150/S14 photoelectric sensor. It is swiss made and it is a diffuse sensor that uses the principle of intensity difference for object detection.
The sensor has a sensing distance between 60 to 430 mm.
It features a M12, 4-pin connector and is protected against reverse polarity and short circuits.
The device uses a pulsed infrared diode as its light source and has a yellow LED indicator.