Are you checking for G91 mode?
Noise shouldn't drive the tool into the table. Noise will make Mach3 think the tool touched the plate before it actually does, and the macro will finish before it even gets to the plate.

G91 can cause the tool to be driven into the table.