I'm having trouble trying to get this code to work out properly. The machine in question is a Mori Seiki NL2500 lathe and the material is 316 stainless. The threads i need to cut are 1/4-18 NPT and start 0.1" into the part and needs to go .55 in. its drilled to .4219 and bored with the appropriate taper.
I'm not totally savvy with G76 since we've never had to use it, but for the life of me, I cant get it to behave like an internal threading op.
I can get the taper down, but it always retracts to the X value I started with before the G76 and if I go lower than x.502, it alarms out with a "P204 VALUE ERR(MRC) 0 0"
N5(THREADER)
G97 S550 M3 T0505
G0 X.502 Z.2 M8
Z.05
G76 P030060
G76 X.42 Z-.59 R.02 P-.041 Q.010 F.0556
G0 Z.2
Z.05
X6. Z6. M9
M1
I'm not totally savvy with G76 since we've never had to use it, but for the life of me, I cant get it to behave like an internal threading op.
I can get the taper down, but it always retracts to the X value I started with before the G76 and if I go lower than x.502, it alarms out with a "P204 VALUE ERR(MRC) 0 0"
N5(THREADER)
G97 S550 M3 T0505
G0 X.502 Z.2 M8
Z.05
G76 P030060
G76 X.42 Z-.59 R.02 P-.041 Q.010 F.0556
G0 Z.2
Z.05
X6. Z6. M9
M1