摘要 |
PROBLEM TO BE SOLVED: To provide a photoelectric sensor capable of reducing the size of a detection range of an object to be detected to be smaller than a predetermined size. ! SOLUTION: A photoelectric sensor includes a light source, a lens, a light reception part, a first diaphragm, and a second diaphragm. The light source emits detection light. The lens collects the light emitted from the light source on a detection region. The light reception part receives passing light having passed through the detection region. The first diaphragm and the second diaphragm are provided between the light source and the lens. The first diaphragm is arranged closer to the light source than the second diaphragm. The aperture size of the first diaphragm in a cross-section including the optical axis of the lens is larger than the aperture size of the second diaphragm in a cross-section including the optical axis. The effective size of the light source is larger than the aperture size of the first diaphragm. The effective si |