another option would be to do a swap axis, have a macro that when your ready to switch from you current Z to the secondary, swap axis of your Z and A, then you A will continue to run your Z code but with the other bit in it, just remember to do and Offset in the Y or X direction that the other Z is from where it should be when it comes into play.
scott