<mpg>  
   <function>Touch off selected axis<gcode>O&lt;mytouch&gt;call</gcode></function>
   <function>Return to safe Z<gcode>G53 G0 Z0</gcode></function>
   <function>Return to home<gcode>G53 G0 X0 Y0 Z0</gcode></function>
</mpg>