Compact, high-accuracy photoelectric sensor with visible red light and adjustable sensing range for detecting transparent objects.