摘要 |
PURPOSE:To obtain discrimination information of a rotation direction in addition to information about the number of revolutions by adding a logic circuit having a simple constitution and an up/down counter to a rotary encoder. CONSTITUTION:Output pulse signals 1 and 2 different in phase are applied from a rotary encoder 10 to terminals A and B. Waveforms 3 and 4 are obtained as output waveforms of an R-S flip flop 30 consisting of NAND circuits 21 and 22, and the signal 3 which is outputted to a terminal C at a leading edge (a) of an output signal 5 of a NAND circuit 23 has logical level ''O'' in case of application of a clockwise rotation pulse and has logicl level ''1'' in case of application of a counterclockwise rotation pulse. The up/down mode of an up/down counter 11 is set by the output of the terminal C, and the output of a terminal D is used as a count input to count pulses. |