O SUB ( Filename: tool-job-begin.ngc ) ( LinuxCNC Manual Tool-Change Subroutines for Milling Machines version 1.1: subroutine 2/2 ) ( Intended to be run as a remapped M600 command. Used to indicate that the next tool change, M6, is the first tool of a job. ) #<_ToolDidFirst> = 0 ( new job, we haven't yet called for the first time ) #<_IgnoreFirstTool> = 0 #<_ToolDidReferance> = 0 G49 ( clear tool height adjustment ) O ENDSUB M2