stevestice wrote:Hi Thanks for the help so far. I am going to try setting A as my spindle and C as my rotary axis with two seperate stepper drivers and one 1600 ozin motor. I will use m101 to activate the spindle and m102 to activate the C axis using a interlocked relay (reversing contactor) to switch between the drives. with the encoder on the motor tied to the spindle and C axis it should always know its position. Does this sound workable?
No. Most drives will complain in a puff-of-smoke-and-dark-brown-smell way if you disconnect them from the motor while powered up.
Much better (and cheaper) to have only one stepper drive, one stepper motor and do the switchover in software (i.e. in HAL).
I am convinced that this ought to be moderately straightforward.
It isn't usual to use an encoder with a stepper drive, but it can be done and might help in this case.
Get your machine running with the spindle as an axis, then post your HAL file here and I will sort out a switchover config for you.