on mine i made 10 text fields on the screen.(simple 2 minute edit) i update the text boxes with the tool number which can also be saved to profile.
text fields made it simple as these can be edited simply on screen when tools are inserted manually into the rack ready for the job to be run.
in destructor macro i also save all these text fields to profile so they can be re read at startup by constructor macro and re populated with the correct tools.
has worked very well .
in the m6 macro these text fields are queried for matching numbers of old tool and new tool so the correct drop off and pick up slots are found simply. this also allows any tool number to be used, not just 1 to 10 so im not constantly updating tool settings in my cam system.