I am having trouble with the beginning of the file. The spindle will go below the Z0 position, while moving to its starting position. This destroys much of the stock in the process.
I am using Fusion 360,
Here is my Gcode
(T1 D=25.4 CR=0 - ZMIN=-0.02 - FACE MILL)
N10 G90 G94 G17 G91.1
N15 G21
N20 G53 G0 Z0
(FACE3)
(T1)
N25 S5000 M3
N30 G54
N35 G0 X10.999 Y321.31
N40 G43 Z16 H1
N45 G0 Z6
N50 G1 Z2.52 F2032
N55 Y321.302 Z2.321
etc…
I have found the problem code to be this line
N20 G53 G0 Z0
This brings the spindle to Z0 in machine coordinates, which happen to be lower than Z0 in the file coordinates.
If this is removed then the spindle doesn’t go below the specified Z0.
I see 2 ways to solve this. One way is to remove this line from the post processor in fusion. This is not as preferred, as the other way, which would be to change the Z0 on the machine to the highest point that the spindle can go to.