High-accuracy proximity sensor for CNC machining centers and tool changers, resistant to oils and cooling lubricants.