Abstract: A control device for indexing a stepping rotatable member, such as a turret of an NC lathe, comprising a means for generating code signals which generates different code signals at every stop position of the stepping rotatable member (TR), a means for generating strobe signals which generates the strobe signals used for reading said code signals at every stop position of the stepping rotatable member, a first comparator circuit which compares an indexing command value and the code signal, a counter which is preset by the code signal and which counts the strobe signal, and a second comparator circuit which compares a count value of the counter and the code signal value, the control device for indexing a stepping rotatable member outputs an end of indexing signal when both the comparator circuits detect coincidences.