Ok, getting smart here...

I want to insert a code snippet in Sheet-Cam that will run the tool to my park position (M883) and then pause for me to dive in and change the work clamps etc for the final processes.

It seems to be posting the code wrong though as shown here:

Code:
N24280 G01 X116.2500 Z-5.200
N24290 G02 X117.7500 Y70.7123 Z-5.2000 I0.0000 J-1.5000
N24300 G01 Y40.2123 Z-5.200
N24310 G02 X116.2500 Y38.7123 Z-5.2000 I-1.5000 J0.0000
N24320 G01 X104.9616 Z-5.200
N24330 G03 X103.6816 Y37.4323 Z-5.2000 I0.0000 J-1.2800
N24340 (Operation: Insert code snippet Code: Wait For Clamping Change)
N24350 G00 Z20.0000
N24360 M883 (Go to park position)
N24370 M0 (Change The Clamps Now)
N24380 (Operation: Inside Offset, Part To Cut Last, T4: 5.0mm Carbide 1 Flute YG, 5.2 mm Deep)
N24390 S18000 M05
N24400 (5.0mm Carbide 1 Flute YG)
N24410 T4 M06
N24420 G43 H4
N24430 S18000 M03
N24440 G00 X82.7074 Y370.0327
N24450 Z1.0000
N24460 G01 Z0.000 F475.0
N24470 G03 X81.4274 Y371.3127 Z-0.1054 I-1.2800 J0.0000


Unless I am wrong, this will lift the tool (line 24350) then go to park (line 24360) then pause (line 24370) BUT the spindle will still be running as the M05 is not until AFTER the pause (line 24390)??

Seems wrong and dangerous?

Looks a bit messed up but all I am doing is inserting a code snippet that has two lines :

M883 (Go to park)
M0 (Change the clamps)

Any ideas, I have posted on the Sheet-Cam forum but???