Hello Rogue_Machinist,
The code above is not going to work well for you, or at best, will take a month of Sundays to complete the Threading operation. You have a minimum DOC set via "Q" in the first G76 Block of 0.003" and a First DOC specified in the second G76 Block of 0.002". Accordingly, all Threading passes, with exception of the finishing passes, will be made using the 0.003" DOC.
Rule of Thumb, the First Pass DOC specified in the second G76 Block should be as much as the Threading Insert and the workpiece set up can consistently handle. Typically, I start with a 0.020" (0.5mm) value on most threads.
Disregarding the error in the taper that is introduced by a tool tip angle other than Zero being used, which I've already mentioned, your R value is incorrect for the total Z travel of 1.45". Based on that travel, the R value in the second G76 Block should be R-0.0453"
The X value used in the second G76 Block should be the Minor Diameter at the large diameter of the Thread (Male Thread). Without looking up the precise numbers, that would be circa 3.7". However, disregarding that incorrect number, and using the numbers you have plugged in, the Major Diameter calculated by the control for the large end of the Thread, will be 4.116". This is larger by 0.016" than you X Start Position of X4.1" and will have an affect on the G76 Threading Cycle.
Regards,
Bill