I am trying to use the Hass G150 command to mill a Pocket 6 inches by 5 inches with an island in the middle of the pocket that is 3 inches by 2 inches.
I keep getting a pocket geometry error, but i can't find it. Is there a way to ask the controller to tell me the exact line of the subprogram that has the error? The program appears fine to me, but apparently isn't!
This is the program:
Main Program
%
O02010
T1 M06 (Tool is a 0.500” diameter endmill)
G90 G54 G00 X1.5 Y1.5 (XY Start Point)
S2500 M03
G43 H01 Z0.1 M08
G01 Z0.01 F30.
G150 P2020 X1.5 Y1.5 Z-0.5 Q0.5 R0.01 I0.3 K0.01 G41 D01 F10.
G40 G01 X1.5 Y1.5
G00 Z1.0 M09
G53 G49 Y0. Z0.
M30
%
O02020 (Subprogram for G150 in O02010
G01 Y1.0
X6.
Y5.
X1.
Y3.
X2.
Y4.
X5
Y2.
X2.
Y3.5
X1.
Y1.
X2.
M99 (Return to Main Program)
%
x0 and y0 are in the lower left hand corner.
If you have any ideas I would really appreciate hearing them!