Proximity sensor for industrial automation, Proximity sensor for safety systems, Photosensor for motion detection