Thats my plan too, an index pulse for accurate lathe RPM, and do the threading that way.