This is no HOW TO for doing this . Does your machine have home switches to establish a home position ? Does you spindle have an automatic drawbar system for tool changes ? Do you have a picture of teh spindle assy.
First the machine must have a home reference position so it knows WHERE it is in 3d space. Then you need to know exactly where each tool change position is in Machine Coordinates.
The machine must have an auto drawbar system to release and grip teh tool on command. You will need to know what outputs drive this function on the machine. Is there already a macro(Mcode) or button to do this ?
What TYPE of tool changer is it. Linear Rack ?, Carrosell ?? Chain, other ?? Picture (;-)
(;-) TP