Highly reliable and versatile cylindrical photoelectric sensor with adjustable switching threshold and visible red light.