Quote Originally Posted by Ram123 View Post
hi sir
we get alaram stock removal in G71 PS0325UNAVAILABLE COMMAND IN SHAPE PROGRAM
G71U1.R1.
G71P10Q20U.3W.2F.25
N10GOX77
G1G42X78..F.15
Z0.02
X80.W-1.F0.05
Z120.F.2
X128.
X130.W-1.F0.05
X140
N20G0G40U2.Z2.
I see 2 problems as posted. Block N10 has the letter O instead of number 0. X78 has 2 decimal points after it. I've never used G41/G42 so I don't know if there is a problem with that. I assume you have used G71 cycles on this lathe before. If not, maybe it takes a 1-block instead of a 2-block call. How old is the lathe? All newer ones I've ever programmed all use the 2-block call.