I post my programs to multiple size mills. I would like to use a common sub routine call that "moves to a operator select location at the machine" .
What I currently do is move to a suitable location for part change or clearance and capture it in my offsets page under G110. The common sub routine call at the end of the programs will use that as it part change location without the operator having to edit the program or manually inputting some locational values . This works pretty well unless I do a program mid start. It doesn't reread the part/program WPC at the top of the program, so it proceeds milling at some odd location based around G110. Is there an easy way to send tool to a temporary random location and still have it retain the main program work coordinate, I don't only use G54 when posting programs.
Can anyone tell me a better method of doing this? I have a Haas mill by the way.
Thanks in advance.
Robert Flores
%
O777
G54 G17 G90
N7
G90 G40 G80
T7 D7 M6
(T7 .257 DIA F DR)
/M8
G90 G0 X0. Y1.65
G43 H7 G0 Z0.3
S978 F2.4
M3
G73 X0. Y1.65 Z-0.3 Q0.09 K0.09 R0.1 P0.03 F2.4 G99 (MAY RETURN TO -R PLANE)
G80
G0 Z-0.3
G73 X0. Y0. Z-0.863 Q0.09 K0.09 R-0.463 P0.03 F2.4 G99 (MAY RETURN TO -R PLANE)
X0.0743 Y-0.8493
G80
G0 Z0.3
N100
M98 P89995 (EXIT SUB PROG -EDIT AT MACHINE)
(/M9 )(COOLANT OFF)
(M5 )(SPINDLE OFF)
(G91 G0 Z3.0)
(G91 G0 X0. Y0.0 )(EDIT AS NEEDED)
(G110 G90 G40 G80 G0 X0. Y0. Z0.0)(ABS CANCEL ALL)
M1
T7 M6
M30
%