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