Sorted it out

Just use an output in Mach for each profile - active low, no other use. It comes on as soon as Mach loads and stays on regardless of reset state etc - this output can then control the respective contactor for the VFD needed for that profile.
The supplies will also go through the E-Stop system but this means that the whole startup is now just a matter of clicking on the correct Mach profile

Now, lets look at the Z axis...
I am intending to bolt the aux spindle onto the main quill shaft, this means that my Z travel will be reduced but not drastically i think.
It also means I need two Z home positions - can I use ONE Z home switch at the lower position and use the Z home-offset to tell the system where the home is respective to the profile in use??
Questions-
If i have one home switch in the lower position and the head is already above that switch, what happens when i ref-all??
Is there a smart fix for Z upper limit switch or do I have to try and fit TWO limits switches in at the top??
Getting there
