Hello Guest it is April 25, 2024, 09:42:12 AM

Author Topic: Strange tool offset problem  (Read 8489 times)

0 Members and 1 Guest are viewing this topic.

Strange tool offset problem
« on: August 19, 2009, 09:37:03 AM »
I am running MastercamX and am using the post found on this site for Mach3.   I have all my tools in quick change collets and have them all ref.  But whan I run a program it ignores the tool length offset.  From reading here and the manual it seems that the post processor isn't putting in the H~ call out for the tool # after the G44.  Can some one please help.

OR I am missing something....
I am running the latest lockdown

Thanks

Tom
« Last Edit: August 20, 2009, 03:10:53 PM by tesart »
Re: Need a post edited... I think
« Reply #1 on: August 19, 2009, 11:02:51 AM »
OK thats not it,  I think I am missing something simple.  here is my work-around,  start the program>Asks for tool>then I go to offsets, Tool Offset led is on but the DRO is wrong, I turn it off and it changes the DRO, I turn it back on and it is correct, I go back to the program screen and hit cycle start and every thing is fine.

???  any Ideas

Thanks

Tom

vmax549

*
Re: Need a post edited... I think
« Reply #2 on: August 19, 2009, 04:32:37 PM »
You are correct you gcode does not have the G43 H# in it . It has been forever since I played in a MC post but I think this is the secton you need to look at:

# Toolchange / NC output Variable Formats
# --------------------------------------------------------------------------
fmt  T  4   t$           #Tool No
fmt  T  4   first_tool$  #First Tool Used
fmt  T  4   next_tool$   #Next Tool Used 
fmt  D  4   tloffno$     #Diameter Offset No    >>>>>> Change to Tloffyes$
fmt  H  4   tlngno$      #Length Offset No      >>>>>> Change to Tlngyes$
fmt  G  4   g_wcs       #WCS G address
fmt  P  4   p_wcs       #WCS P address
fmt  S  4   speed       #Spindle Speed
fmt  M  4   gear        #Gear range
# ---------------------------------------------------

Just a thought, (;-) TP
Re: Need a post edited... I think
« Reply #3 on: August 20, 2009, 03:09:06 PM »
Thanks,  I tried your suggestion but it still does the same thing.   It seems that for some reason Mach isn't automatically recognizing the Z/tool offset.

Tom

vmax549

*
Re: Strange tool offset problem
« Reply #4 on: August 20, 2009, 10:47:28 PM »
From the copde you posted there is NO code to call the tool offsets into play.

(;-) TP
Re: Strange tool offset problem
« Reply #5 on: August 21, 2009, 08:28:21 AM »
Shouldn't the G44 do it?...

Tom

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Strange tool offset problem
« Reply #6 on: August 21, 2009, 01:41:17 PM »
The manual says to use G44 if G43 gives negative offsets, so they apparently are not the same. Also, the manual is a few years old, so hard to say if it's still correct. But I think you should be using G43.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Strange tool offset problem
« Reply #7 on: August 21, 2009, 02:08:24 PM »
I've tried it both ways with the same results.

Tom

vmax549

*
Re: Strange tool offset problem
« Reply #8 on: August 21, 2009, 02:28:42 PM »
I don't think you understand the TLO gcode convention. You can't just call the G43/44 as a modal call in the preamble.


THe code would look like this after each tool change

M6t1               >>>>>>>> this calls the tool#
m3 s1000 f10
G43 H1>>>>>>>>>>>>> this calls the tool length offset
Z0 >>>>>>>>>>>>>>>> this is a prep move to allow Mach room to apply the comp
*****
*****

Just a thought, (;-) TP
Re: Strange tool offset problem
« Reply #9 on: August 21, 2009, 02:59:29 PM »
Your right on there :-[  A year ago I didn't know how to run a CNC  and now(thanks to this forum and a bit of insanity) I have rebuilt one.  I'm just trying to work out the last few kinks.   Thanks for the info,  now I can play with the post and see if I can make output something similar.

Thanks agian,

Tom