摘要 |
<P>PROBLEM TO BE SOLVED: To provide an input method of an encoder signal capable of surely detecting an encoder signal by use of an input period and frequency of the encoder signal to a microcomputer. <P>SOLUTION: An input method of an encoder signal sets a period of an interruption signal output from a microcomputer shorter than an output period of the encoder signal. An input period of the encoder signal to the microcomputer by operation of an encoder is determined, and control is performed based on determination of a continuous/discontinuous input. When the encoder signal is continuous input, input frequency is counted, and sensitivity of the encoder signal is adjusted so that an item of a following state can be selected from an initial state. <P>COPYRIGHT: (C)2012,JPO&INPIT |