Hi DAZ,
What I exactly want to do is, to eliminate the highlighted part in the screen capture image.
(Or if there is no problem, I just want to eliminate from line 68 to 78.
I have my own M6 macro in my profile / Macro folder.
(I could do it with your video help.

)
But I can't find where I should go and edit....
When I enter "T#(2,3....) M6" in the MDI, I always have to press Cycle Start MDI once more...
Mach pops up a message window, but I think this should not be popped up to run M6 in actual G-code.