For anyone who uses ClearPath servos with Mesa Anything IO cards in quadrature mode ...
I've verified with a Teknic engineer that the ClearPath motors count 4 for every complete quadrature cycle - the rising and falling edges of A and B.
Since one step in Mesa stepgen is one complete quadrature cycle. So if the encoder resolution is 6,400/rev (for the enhanced version of the servos) set the step resolution in MSP to 4x6,400 = 24,800, so that every 4 counts (called 'quad count' in MSP) rotates the motor one encoder tick.
The regular version has encoder resolution of 800/rev.
This way, in the math to calculate scale use the servo encoder resolution as the steps/rev. And each Mesa stepgen count equals one motor step rotation. I think this is way easier to visualize and understand. If you run into max rpm issues on the motors, just set the steps/rev to the maximum without rpm limits (say 8000) and in the step/rev on linuxCNC side enter 2000. Tested this on actual hardware and it seems to work correctly.