Not enough information, some pictures would help and a bit more info like do you have it tool changing now or are you wanting a M6Start.m1s macro to control your tool changer.
If yes we need to know Lathe, mill, router, something else, how it works, what outputs it uses, what inputs check what, then we may be able to help.