You can get to the encoder DRO's in Mach3, do a search in this document for them; http://www.machsupport.com/forum/ind...0;attach=27839
Then you might be able to write a Mach3 'Brain' to achieve what you want.