With a Fadal 6030
When program is finished it wants to go to the work offset '0' before going to machine home.
The concern is the tool hitting any fixtures along the way.
It looks like the g28 code is telling it to jog around to the 0 position of XYZ of the work offset, then gradually make it's way to the machine home position.
What I'd like it to do is:
Program complete
Rapid Z to safe location
Turn off coolant and spindle
Then work it's way back to XYZ 0 of the home position.
(See code below) I've tried adding a couple of inches to the N85 Z position, but this causes Z to over travel and hit the limits when it finally makes it to 0 (as if it's adding those inches to the final Z position.
I've tried taking out 628, changing G90 to G91, changing the code to G0Z0H0,G0X0Y0, AND G91 H0 ZO.
E0 X0. Y0. I've tried all sorts of options, but nothing gets Z out of the way.
Once this is finally resolved, is there a way to add this to all programs, so that it doesn't have to be manually inputted for each program?
Thanks in advance for your help.
%
O1001
(MACHINE)
( VENDOR: AUTODESK)
( MODEL: GENERIC 3-AXIS)
( DESCRIPTION: THIS MACHINE HAS XY AXIS ON THE TABLE AND Z AXIS ON THE HEAD)
(T1 D=0.25 CR=0. TAPER=90DEG - ZMIN=-0.64 - SPOT DRILL)
N10 G90 G94 G17
N15 G20
N20 G28 G91 Z0.
N25 G90
(DRILL2)
N30 T1 M6
N35 S1527.9 M3
N40 G4 P118
N45 G90 G94 G17
N50 M8
N55 G0 E1 X-5.4835 Y2.1742
N60 G43 Z0.6 H1
N65 Z0.2
N70 G98 G81 X-5.4835 Y2.1742 Z-0.64 R0+0.16 F3.06
N75 X-6.4835
N80 G80
N85 Z0.6
N90 M9
N95 G28 G91 Z0.
N100 G90
N105 G53 X0. Y0.
N110 M30
%