We have the same problem with QT 20 , we changed x axis drive with one from scrap machine and it worked OK for a while. We then got errors in both axis, we slowed down rapids in parameters and it is working fine. On another machine we were getting same problem and found that drive shaft for encoder in end of X axis ballscrew was loose, fixed that and it was OK.