I am running a Citizen A20 with a Fanuc control and am trying to get a G71 stock removal cycle to work and am having trouble with it. The part has a radius on the end which transitions into a 8.5 degree taper and then into a .75 degree taper in a Z.528 long segment. I am not clear how to use the G71 but this is what I tried with the information I had.

(ROUGH FIRST SEGMENT)
G0 X.5 Z-.03
G71 U.04 R.02
G71 P1000 Q1010 U.003 W0 S1=#102 F#112 T02
N1000 G0 G41 X-.05
G1 Z0
X0
G2 X.0561 Z.0237 R.0278
G1 X.1226 Z.2463
X.12998 Z.52800
N1010 G40 X.5
T0

I am getting an alarm on the second G71 line that says, "PS0325 UNAVAILABLE COMMAND IS IN SHAPE PROGRAM " . I put a parenthesis around the G71 line to test the numbers and it ran just fine but I want the stock removal cycle so it doesnt take it all in one pass.

Does anyone have any suggestions for me or see something wrong with my code?

Jason