It's been done.

Have a read of this thread - http://www.machsupport.com/forum/ind...c,18323.0.html

Just had a quick scan, and look at the exchanges between me and Dickeybird starting around page 3. He implemented it on his lathe.