I know very little about commercial CNC software, but is this running under Windows? Windows will occasionally go off and do something else for a while suspending all other programs.

Under XP you can latch on to a regular interrupt set at 1000 per second but you can't mess with the timer settings.