Hello Guest it is March 28, 2024, 05:55:39 PM

Author Topic: Mach3 wont apply offset?  (Read 3429 times)

0 Members and 1 Guest are viewing this topic.

Mach3 wont apply offset?
« on: November 29, 2010, 06:46:44 PM »
Im having a odd problem.. After running several operations without any problems I went ahead and shut down the system and figured i would finish the part the next day.

After i rebooted and positioned and located part i loaded the new gcode file and started to cut, as soon as the cutter touched i noticed a problem.

Cutter offsets are not being applied at all (dont know if its related but the toolpath in the mach screen is gone) Ive tried several different gcode files, different cutter dia, and gcode files from the previous day that worked, and nothing has worked.. The gcode should be fine please help

.25" dia tool gcode

%
O5000 (3.TAP)
( MCV-OP ) (29-NOV-2010)
(SUBROUTINES: O2 .. O0)
G90 G17
G80 G49 G40
G54
G91 G28 Z0
G90
M01
N1 M6 T4
(TOOL -4- MILL DIA 0.25 R0. MM )
G90 G00 G40 G54
G43 H4 D34 G0 X2.952 Y1.115 Z1. S4000 M3
M8
(-----------------------)
(F-CONTOUR4-T4 - PROFILE)
(-----------------------)
X2.952 Y1.115 Z0.125
Z0.079
G1 Z-0.062 F8
G42 G1 X2.904 Y0.999 F10
G2 X2.401 Y1.752 R0.814
X3.113 Y2.56 R0.814
G1 X4.027
G2 X4.738 Y1.752 R0.814
X3.924 Y0.937 R0.814
G1 X3.215
G2 X2.904 Y0.999 R0.814
G40 G1 X2.952 Y1.115
G0 Z0.125
X6.494
Z0.079
G1 Z-0.062 F8
G42 G1 X6.446 Y0.999 F10
G2 X5.945 Y1.752 R0.813
X6.758 Y2.567 R0.813
G1 X7.468
G2 X8.281 Y1.752 R0.813
X7.468 Y0.937 R0.813
G1 X6.758
G2 X6.446 Y0.999 R0.813
G40 G1 X6.494 Y1.115
G0 Z0.125
X10.037
Z0.079
G1 Z-0.062 F8
G42 G1 X9.99 Y0.999 F10
G2 X9.488 Y1.752 R0.813
X10.301 Y2.567 R0.813
G1 X11.012
G2 X11.825 Y1.752 R0.813
X11.012 Y0.937 R0.813
G1 X10.301
G2 X9.99 Y0.999 R0.813
G40 G1 X10.037 Y1.115
G0 Z0.125
X13.581
Z0.079
G1 Z-0.062 F8
G42 G1 X13.533 Y0.999 F10
G2 X13.031 Y1.752 R0.813
X13.844 Y2.567 R0.813
G1 X14.555
G2 X15.368 Y1.751 R0.813
X14.549 Y0.935 R0.813
G1 X13.844 Y0.937
G2 X13.533 Y0.999 R0.813
G40 G1 X13.581 Y1.115
G0 Z0.125
M30
%
Re: Mach3 wont apply offset?
« Reply #1 on: November 29, 2010, 09:35:21 PM »
Got it nevermind  ;)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Mach3 wont apply offset?
« Reply #2 on: November 29, 2010, 09:37:26 PM »
It was the G91 I don't think Mach will run the G28 in inc mode.It should have thrown an error
« Last Edit: November 29, 2010, 09:39:29 PM by BR549 »
Re: Mach3 wont apply offset?
« Reply #3 on: November 29, 2010, 09:47:37 PM »
The G91 was fine, solidcam wasn't applying the tool values correctly, i had to restart SW/SC and reload my tool index, regenerate all tool paths and it worked go figure

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Mach3 wont apply offset?
« Reply #4 on: November 29, 2010, 09:52:46 PM »
HUM I ran it here AND the problem was the G91 used with the G28.

Yes the D34 called the tool 34 offset instead of the T4 offset but I simply added the tool Radius to tool 34 as used to test the rest of the code.

IF I commented out the G91 (G91)  it ran ok .

OH well as long as you are running that is all that matters

(;-) TP
Re: Mach3 wont apply offset?
« Reply #5 on: November 29, 2010, 09:56:05 PM »
Yeah I was certain it was on the controller side, but after cross referencing other .taps from a few weeks ago i saw that beginning gcode was all the same, which got me looking into the software...