See Littelfuse Commercial Vehicle Products Products
This is an M30 cylindrical unshielded inductive proximity sensor with an 18 mm sensing distance and a PNP normally-open output via an M12 connector.