My machine is now up and working, end of travel limits function, home index works with only a single 5 micron home pulse BLDC drives are well behaved .. everything is just as it ought to be... except.

I wish to implement a linear array of tool holder cups on the work table of the machine. The spindle has air activated collet to hold and release 1/8" bits.

My problem is how to in fact implement the solution.

Is there a solution within EMC2 or do I need to write some G code and associate it with each tool change position?

If so how to recognise M6/Tn combination and react to it ?
I am open to suggestions (of the polite kind).

Zig