Miniature photoelectric proximity sensor with energetic functional principle, ≤ 250mm sensing range, and visible red type of light.