3040T/tool-job-begin.ngc
2023-02-05 18:45:48 +01:00

13 lines
531 B
Plaintext

O<tool-job-begin> 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 <tool-change> for the first time )
#<_IgnoreFirstTool> = 0
#<_ToolDidReferance> = 0
G49 ( clear tool height adjustment )
O<tool-job-begin> ENDSUB
M2