I've picked up a used 4th axis that I would like to adapt to my Kogna retrofitted Milltronics VMC. It is missing its motor, which is fine for my purposes, because I can adapt whatever motor/drive combination I choose. This 4th axis has a large pneumatic brake. I would like to be able to use it both as a true 4th axis with coordinated motion, but also be able to use the brake to lock the axis in place for heavy cuts and off center drilling. Preferably without resorting to using 2 different machine configurations for indexing/true 4th axis.
I'm looking for advice on how to control a servo that will sometimes be restrained by the brake without making the servo motor angry. I've though of a couple approaches so far, but I'm not confident in them, and there may be a better way that I'm just unaware of.
Approach 1: Use a large enough dead band that the servo loop won't try to correct any errors while the brake is clamped. I don't like this approach, because it's equivalent to mechanical backlash and I want good positioning accuracy.
Approach 2: Limit I gain to some tiny value so the servo loop never tries hard enough to cause a problem trying to correct any error that exists while the brake is clamped. Once again, I am worried I wouldn't be able to achieve good positioning accuracy with this approach especially under cutting forces.
Approach 3: Use an M code to run a C program to both activate/release the brake and also change the servo loop parameters only while the brake is active. Is it possible to change servo tuning parameters on a coordinated motion axis on the fly while running a Gcode program?
I appreciate any advice on this problem.
-Nate