Check encoder connections. Check set screw on encoder wheel.
Check that iencoder grounded.
Check all terminals on drive and cpu