Hello Guest it is May 20, 2019, 01:05:14 PM

Author Topic: G52 with Tool Radius Comp (G41)  (Read 2771 times)

0 Members and 1 Guest are viewing this topic.

G52 with Tool Radius Comp (G41)
« on: June 22, 2008, 12:58:20 PM »
Hi All,

I am new to Mach3 and I am trying to get tool radius comps working within a G52 offset.  I have reviewed some posts here and understand that the display in Mach3 does not show true G52 offsets during a cycle run.  However, the issue I am having occurs in the machine coords and does happen during a real machine run.  I have slammed the limits :-[ .  Basically, for this exercise I am trying to machine a series of 4 circles in wood at 4 locations.  When I run the code below without G41/G40 everything works fine.  However, when the tool comps are included in the cut code, the first part runs fine but the parts run under G52 offsets have a shuttle in X just after G41 is activated.  The tool does a rapid shuttle to the original offset position and back before running through the circle code. You can see the event in the graphics window and by watching the machine coords.   I appreciate any comments.

Thanks,

Eric.

%
(CIRCLE CUTOUTS)
G20 G17 G90 G94 G40
G64
G54
G52 X0 Y0
T1 M6
G00 X0 Y0
G00 X1.0 Y-2.0 Z0.5
M3
M98 P1
G52 X4.0 Y0.0 z0.0
G00 X0 Y0
X1.0 Y-2.0 Z0.5 F100
M98 P1
G52 X0 Y0
(SECOND ROW)
G52 X0 Y5.0 Z0.0
G00 X0 Y0
X1.0 Y-2.0 Z0.5 F100
M98 P1
G52 X0 Y0
G52 X4.0 Y5.0 Z0
G00 X0 Y0
X1.0 Y-2.0 Z0.5 F100
M98 P1
G52 X0.0 Y0.0 Z0.0
G28
M5
M30

(CIRCLE SUBROUTINE)
O1
G01 G41 X0.5 Y-1.75 Z0.5 F100
G01 Z-0.375 F100
G01 X0 Y-1.75
G02 X-1.75 Y0 R1.75 F100
G02 X0 Y1.75 R1.75 F100
G02 X1.75 Y0 R1.75 F50
G02 X0 Y-1.75 R1.75 F100
G02 X-1.75 Y0 Z-0.7 R1.75 F50
G02 X0 Y1.75 R1.75 F100
G02 X1.75 Y0 R1.75 F50
G02 X0 Y-1.75 R1.75 F100
G02 X-1.75 Y0 R1.75 F50
G01 G40 X-2 Y1.0 Z0.5
M99
%

Offline Graham Waterworth

*
  • *
  •  1,853 1,853
  • West Yorkshire, England
    • View Profile
Re: G52 with Tool Radius Comp (G41)
« Reply #1 on: June 23, 2008, 06:03:22 PM »
Hi Eric,

this is a known bug and is on the fix list, I reported it to Brian a few weeks back, if you recode your tool path without the G41/42's all will be fine.

Graham.
America gave us powered flight, England the steam train and Germany the car.  Who invented the first boat?
Re: G52 with Tool Radius Comp (G41)
« Reply #2 on: June 23, 2008, 09:00:39 PM »
Hi Graham,

Thanks for confirming it is a bug.  I have read your posts from a few weeks ago and I was under the impression that the bug only affected the graphics display and not the actual tool movement as I have found.  I know I can recode without G41/G42 but it can get rather cumbersome with tool sharpening and writing without offsets makes for bulky code.  Thanks again.  I appreciate your contributions to this forum.

Eric.
Re: G52 with Tool Radius Comp (G41)
« Reply #3 on: October 12, 2008, 03:20:10 PM »
Has this been fixed?????

Same problem - the program reuses the first set of offsets which are set as absolute after the during the load offset pass.

This can be verified in the plot by looking at the white lines between the start of the second copy and the original first plot.