No 1, you need an encoder driven off the final spindle shaft.
If you take a look at commercial systems like Mitsubishi and Fanuc etc, they use tight control of the spindle, although the drive is basically a AC Vector rated motor & VFD, the system usually has a pulse generator or encoder of some kind on the motor back to the VFD for accurate control of the motor, as well as the encoder on the final shaft to gear the Z axis to.
I have found so far that the Galil gearing feature works well, you would need to confirm with Camsoft as to how well it works with their system.
You may have a problem integrating a resolver with Galil however.
Al..
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.