Miniature photoelectric sensor with a sensing range of 0 to 40 meters, suitable for industrial applications.