I think I got it but it sort of came across as way over my head. If it is wired to mach3 now on the button I have can this just be told to rotate untill it is at the tool post I want?
Yes, just call the coolant on and use a pause for the time it needs to be on, then call coolant off. So it would be
M8
g04p?
M9
Set the time in place of the ?
M8 starts the toolchange, g04p? sets the time it has to rotate to get past the ratchet, and M9 cancels the toolchange.
When the toolchange is cancelled by the M9 command the toolpost reverses and locks in position, then use multiple commands to move the changer more than one position, or work out the time it takes to move to 2,3 or more changes and enter that time.
There are people working on the code/vb script needed to use the denford control of the toolpost but i don't think anything has appeared yet.