Patent ID: 8115914

Claim:
A multi-optical axis photoelectronic sensor including a light projector in which a plurality of light emitting elements is arranged in a line, a light receiver in which a light receiving element of the same number as each light emitting element is arranged in a line at an interval corresponding to each light emitting element, a measurement unit for measuring, while lighting each light emitting element by turns, a light receiving quantity of the light receiving element corresponding to a lighted light emitting element, and a determination unit for determining light entering/light shielding of each optical axis based on the light receiving quantity measured from each light receiving element; the multi-optical axis photoelectronic sensor comprising: a representative value acquiring unit for obtaining a representative light receiving quantity of all optical axes using the light receiving quantity measured while a measurement process on each light receiving element is executed for at least one cycle; a peak value storage unit for storing a peak value of the light receiving quantity; a peak value updating unit for comparing the representative light receiving quantity obtained by the representative value acquiring unit with the peak value stored by the peak value storage unit, and rewriting the peak value with the representative light receiving quantity if the representative light receiving quantity is greater than the peak value; and an output unit for outputting information indicating a relationship between the representative light receiving quantity and the peak value.