I have a Tormach CNC mill and use PathPilot. The code shown by JasonB is similar to what I use when using tool tables. My code for a tool change is:
Nxx T01 G43 H01 M06
The command G43 tells the machine to use the positive tool length offset H01 (for tool 1) relative to the master tool, tool zero in my case.
For cases where I use only one tool, and don’t use tool length offsets, the code is:
Nxx T01 M06
There is no H number selection, and it is not needed.
So, again, if the OP is only using one tool and not using a tool table no H number selection needs to appear in the code.
Julie