What's new
What's new

G71 for slot milling on lathe

Rockbobster

Plastic
Joined
Aug 9, 2023
machine NL6000 XLM
fanuc series oi-tf

PS0325N CIOMMAND NOT IN SHAPE

im attempting to use G71 cycle to slot out key ways on the shaft work we do here but when i use g28 to send
the machine home after completing the canned cycle im getting an out of shape alarm making it seem the the cycle isnt ending?
as of right now the code runs perfectly except for faulting out in between the 2 tool paths when sent home
i tried running without the G28U0. but even then it faults on me calling out my c position and locking it.
the dimensions on the slot are irrelevant as i intend to turn it into a macro after i get this fault worked out.
also the machine wont accept the other formatting

:example:
G71U.2R.05
G71P10Q20U.03W.003F.01

at all despite it being in the programing manual formatted that way.
this code did run just have to reset and start on 2nd toolpath so the G28 line seems to be the culprit but im not sure how to avoid it


%
O3001(keyway program)
(ROUGH SLOT)
G0G28U0.
G0T0707
M45
G0G28H0.
G0C0.
G98M68

G97S300M13

G01X8.0 Z1.25 F30.0 (START POSITION)

G71 P100 Q200 D500 U.01 W.005 F2.0

N100
G01 W0.0 X6.388 (START OF KEY .25 CLEARANCE)
Z-10.263 (END OF KEY)
X8.0 (RETACT)
N200

M15
M46
G99M67
G0G28U0.

M1

(finish slot)
(change to on size EM)
G0G28U0.
G0T0707
M45
G0G28H0.
G0C0.
G98M68

G97S300M13

G01X8.0 Z1.25 F30.0 (START POSITION)

G71 P300 Q400 D500 U.0 W.0 F2.0

N300
G01 W0.0 X6.388 (START OF KEY .25 CLEARANCE)
Z-10.188 (END OF KEY)
X8.0 (RETACT)
N400

M15
M46
G99M67
G0G28U0.

M1
M30
%
 
G01X8.0 Z1.25 F30.0 (START POSITION)

G71 P100 Q200 D500 U.01 W.005 F2.0

N100 G01 W0.0 X6.388 (START OF KEY .25 CLEARANCE)
Z-10.263 (END OF KEY)
N200 X8.0 (RETACT)

writing it this way seems to have fixed it seems it wanted the data on the same lines as the number
thank you for your help
 








 
Back
Top