Show the program.
When I program our vertical mill to mill a 2" x 2" block with rounded corners I use one main program which calls 2 subprograms. 1 subprogram is for the rough-mill and the 2nd subprogram is for the finish-mill. Note that both subprograms are practically identical with the exception of a smaller compensation for the finish end-mill.
In an effort to simplify, i tried programming the G41 command within the main program so that I can use 1 subprogram for both the rough and finish end-mills. However, when i do so, the endmill doesn't travel where programmed for the first couple G1 and G2 commands, however it eventually follows the correct path.
Question, why doesn't the end-mill follow the correct path for the first couple movements?
Thank you in advance.
Show the program.
An open mind is a virtue...so long as all the common sense has not leaked out.
So to machine the block with the Rough Mill with G41 in the main program, the main program looks like this (keep in mind this is a 2" x 2" piece with 1/2" Radii corners.
01111
G0 G40 G49 G80 G90
G92 X5.0 Y5.0
X-0.5 Y1.0 T1 M6
S3000 M3
G43 Z-1.0 H1
G1 G41 Y0.0 H17 F15.0
M98 P30001
G40 Y1.0
G92 X -6.5
G1 X-0.5
G1 G41 Y0.0 H18 F15.0
M98 P30001
G40 Y1.0
G92 X-6.5
M5
G0 G28 G49 Z0 H0
G28 G49 G91 X0 Y0
G90 M30
and the subprogram looks like this:
O0001
X-0.5 Y0.0
Z-0.5
G2 X0.0 Y-0.5 R0.5 F10.0
G1 Y-1.5
G2 X-0.5 Y-2.0 R0.5
G1 X-1.5
G2 X-2 Y-1.5 R0.5
G1 Y-0.5
G2 X-1.5 Y0 R0.5
G1 X-0.5
Y1.0
G92 G0 X2.5
M99