Let’s add a "Park Z" button that moves Z to a safe height.
Edit Button ScriptCode "G0 Z2.0" ' move Z to 2 inches
While IsMoving()
Wend
Code "G0 X0 Y0" ' optional: home X/Y
Want a button that moves Z to the top and turns off the spindle? Create a macro.
Let’s add a “Park Z” button that raises Z to machine top.