Detection sensors, photoelectric proximity sensors for automation