There's a couple ways to do this. You can also use a G32 (tapered thread) cycle. My notes on how to do these are on my blog:

www.cnccookbook.com

Search "Higbee".

Best,

BW