摘要 |
Provided is a photoelectric sensor that enables intuitive sensitivity adjustment while ensuring a wide dynamic range, and ease grasp of an adjustment state. The photoelectric sensor includes: an adjusting device having a variable resistor embedded in at least one of a driving circuit and a light receiving circuit, and configured to change a resistance value of the variable resistor according to a rotational position of a rotatable adjusting element; an evaluator configured to generate a determination signal based on a comparison result between a light receiving signal superimposed on a reference level and a threshold value; a margin ration calculator configured to calculate a ratio of an amount of a light receiving signal in the light receiving signal superimposed on the reference level and a difference between the threshold value and the reference level as a margin ratio to be displayed. |