You enjoyed that didn't you?
Yup!
As soon as you said 200 steps per rev, I was done thinking about it. Why the 10:1 belt drive (I assume cogged timing belt)?
I mentioned the belt drive and reduction for two reasons. It's usually easier to mount a motor to something and not worry about alignment. Although my little motor on the small rotary table is direct drive. But then I didn't want to the nearest 1 second accuracy. Not even sure the table worm and gear has that level of accuracy.
Even at 400 and 10:1 it was 0.0025 degree positioning. Let's say I want to make metric change gears for my lathe. 100 and 127 tooth. The 127 tooth is a tooth every 2.834645669291339 degrees. With the 0.0025 positioning that means 1133.858267716535 steps (or encoder edges if just counting an encoder on the hand wheel at 10:1.
Counting lines on the hand wheel and turning it enough to move the table 2.834645669291339 degrees is virtually impossible but lining up the pin into a hole on a disk that is one of 127 holes is very accurate.
Or in my case I'd set my ELS to jog the correct distance (within the math resolution inside) and then on each press of the jog button it would turn the hand wheel as close as physically possible to 2.834645669291339 degrees.
Nope. Unless it accumulates in constant turning applications.
Ah yes. Good call. Which is why you set the Z home position for the first tooth. Then after the 127th tooth you don't start again but return to the home position.
My only concern with automating the positioning is the impact of forgetting to lock or unlock the spindle as each tooth is cut.
Too true. If I was adding a custom rotary table feature I'd want to also add a solenoid or even the X axis motor to operate the locking lever. Motor drivers are so cheap nowadays (along with BoBs) I'd just make a dedicated power unit for it and then unplug plug the lathe DB-25 cable and plug in the Rotary Table cable.
I've see youtube videos of people driving the table directly via toothed belt. They make the assumption that the belt and motor are stiff enough to hold the table. Of that I'm not sure. I'd still want to lock it manually.
OTOH, my Harmonic Drive 4th axis (project #42) is supposed to be stiff enough when held in position to not need a manual lock. Don't know yet. Seems like it is.