Photosensor in automation, Proximity sensor technology, Proximity sensor in manufacturing