I know this is probably considered a general gcode question but it seems to

I know this is probably considered a general gcode question but it seems to also pertain to the operation of the TinyG so I gotta ask.

I’ve been working on a tool change macro that will fit my current workflow and will be fairly easily adaptable when I finally get the chance to make it automatic and to do so I’m using the pause that accompanies M6 twice, once to replace the tool, the second time is after I have repositioned X & Y over the work piece in hopes of then using my Z touch plate in place of using the tool height offset for the time being. The problem is that once I switch back to G90 and have issued G0X0Y0 and then M6, I’m completely unable to use the touch plate function for whatever reason. It says it’s running but the TinyG seems to become unresponsive to any commands after that.

Here’s what I’ve got…

G91 (relative mode since it’s better for this type of thing)
G0Z40(move far enough above work piece to keep me comfortable)
G0X-60(move X far enough that I can actually change tools)
M6(pause for actual tool change)
G90(don’t need G91 any more)
G0X0Y0(position back over work piece where no cuts have been made and it will hence be safe to use the touch plate)
M6(pause for me to actually use the touch plate)

On starting the program when the first pause comes up I can use the touch plate, so why am I having trouble with that in the actual tool change portion? M00 is completely ignored so that won’t help.

Any ideas? Am I doing something majorly wrong and just don’t realize it?