Photosensor for quality control, Proximity sensor for industrial automation