I use G1..Like this:
G0Z approach a least .5 away from part X0
G1 Z-Depth of thread F 1 divided by pitch (some times I decrease feed 20%)
Z.25F your feed plus 20% more
Your RPM will be base in what you cut and...
save yourself some trouble use "floating holder" if possible
It works for me