Just a thought but only the index signal needs to be one per rev for the thread start point The Controller would have no idea that the encoder was geared to the spindle as only the count per rev would change with gearing.
10,000 /2 = 5000 rpm at the encoder.
Add a seperate indexer signal on the spindle. One per rev.
(;-) TP