Tool Change Brain
I used the mach command for the M92.
1. On the TC LED the z is sent to zero.
2. If spindle is on, tc motor can't run FWD
3. If spindle is on, tc motor can't run REV
4. On tc wait led and z homed DRO (will this work?) and clamp input motor will run FWD
5. On tc wait led and z homed DRO (will this work?) and unclamp input motor will run REV
6. If motor runs in either direction clutch will engage
7. If input 12 PROX goes high clutch will disengage
Modified Ajax Spindle Brain
1. I modified this brain from AJAX to (hopefully) output a local variable "v0" when the spindle is enabled.
Hurco Manual Spindle Brain
1. It looks for the v0 (enable) and for a rpm call below 250 from mach and then turns on the low speed relay.
2. If the low speed relay is on and mach wants the spindle to be CW (mod:803) then it reverses the spindle direction (my machine has a low back gear)
3. If the v0 is set and the rpm from mach is 250 or greater then it turns on my high speed relay
4. If v0 is set and the rpm from mach is above 250 and mach wants the spindle reversed (mod:803 =1) then the spindle is reversed ( mod:8 output)
This is what I have so far. If anyone wants to use what I have for their KMC3 please feel free. These brains will allow a auto braw bar tool change without the changer, and allow the user to operate the auto vari drive with the RPM+/- switch on the front of the machine. I hope!

Thanks