There is a really good video by Dr Jacob Tal on the Galil Motion site that explains the problem of having a servo encoder together with a scale, particularly where there is slight backlash on the servo axis.
The PID loop has to be divided between the Encoder and scale.
Al.