Lets see....
Spindle fully working under LinuxCNC control, check.
Tool changer figured out from turret unclamping and two different speeds of spinning the tools, to all the pinouts for all 12 tools and when the turret is clamped properly! YAYYYYYYY

Also has two separate pins, 171 normal tools and 172 for round tools, besides 12 pins for each tool, so that makes 15 inputs on the mesa just for the tool changer, thinking of it i did not check for index pin! Damn it, more spaghetti chase!

Then again, i am pretty sure it works without it...
So now i have to do some hal stuff, like on the console there is a switch to change the turret rotation speed and based on that energize one of the two relays, and a push button named "revolver" (how neat) so when that button is pressed, something like this has to happen:
-Unclamp turret>wait a bit>spin turret depending on speed selector>wait for button to be released>wait for turret to get to a known position>stop spinning>wait>clamp
That is as simple as i can get it for the manual change, pretty much the same procedure has to be done for automatic changes.
And for good measure, see if you can figure anything from my scramblings: