摘要 |
<p>PROBLEM TO BE SOLVED: To provide a photoelectric sensor capable of easily setting a threshold corresponding to a desired tolerance. SOLUTION: When a jog switch 16 is pressed, a character corresponding to the currently set shift ratio is displayed on an LCD 20. When the jog switch 16 is operated to a plus side once (Yes in step S21), the character displayed on the LCD 20 is changed to, for example, '20P' (steps S22 and S23), and when it is operated to a minus side once (No in step S21 and Yes in step S24), the character displayed on the LCD 20 is changed (steps S25 and S23). When a pressing operation is performed after changing the display value on the LCD 20 to a character corresponding to a desired shift ratio by such an operation (Yes in step S26), a shift ratio corresponding to the currently displayed character displayed is set from a display circuit 18 (step S27).</p> |