Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

byers5EKHB
298 Vistas, 2 Respuestas

Bad G-Code Output

Why is FC outputting this erroneous roughing code?

Finish bore is .895". Roughing op programmed to leave 0.01" for finish.

 

N0200 (MAIN SPINDLE, TURNING)
(ROUGH BORE BORE1)
M22
G18 G40 G54 G80 G97 G99
G28 V0.0
G28 U0.0
G00 Z5.0
(WN_B_0625_80_RH_015)
T0202
M75
M42
(ROUGH BORE BORE1)
G50 S2500
G97 S1424 M03 P11
(RAPID TURN CUSTOM)
G00 Z0.1114
X0.885 Y0.0
/ M8
G96 S330
G01 Z-1.1815 F0.01 "ROUGHS BORE HERE AT X0.885 TO DEPTH"
X0.7125
(RAPID TURN)
G00 Z0.1114
G01 X0.9544
Z-0.0043
X0.885 Z-0.0392 "ROUGHS CHAMFER HERE"
X0.886 Z-1.1815 "ERRONEOUS CUT ON 0.001" OVERSIZE TAPER TO DEPTH"
X0.785
(RAPID TURN)
G00 Z0.1

(TOOL CHANGE)
M05 P11 S0 G97 M9
G28 V0.0
G28 U0.0
G00 Z5.0
(OPTION STOP)
M01

jeff_brower
en respuesta a: byers5EKHB

That code appears to be turning a slight (.001) taper from Z-.0392 to Z-1.1815, maybe the line or curve is not parallel to the Z axis?

byers5EKHB
en respuesta a: jeff_brower

The cut curve is parallel to Z. It already took the rough pass at X0.885 to the Z-1.1815 (see a few lines up). It should have retracted after roughing the chamfer at X0.885 Z-0.0392.