Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Kai on September 25, 2012, 09:51:52 AM

Title: Tool change
Post by: Kai on September 25, 2012, 09:51:52 AM
I know I have read some posts on here re tool change and codeing I have had a good and I mean good look through post and done a few searches but sofar nothing.
Does anyone know of a tread or remember one as at the moment I am having a few little issues and wanted to look through old post to see how others were doing it or if its my post doing the code wrong?
Title: Re: Tool change
Post by: Hood on September 25, 2012, 02:22:03 PM
What are you trying to do?
Hood
Title: Re: Tool change
Post by: Kai on September 25, 2012, 06:43:18 PM
just run the machine with the tool offset I have set in the tool table weird thing is its not getting them right it sets them or calls them but they just end up way out?
Not sure why? I was looking a for a basic code to look at to check against mine
Title: Re: Tool change
Post by: Hood on September 26, 2012, 03:02:05 AM
Doing a search for radius comp or height comp should bring up something but there is also the explanation in Mach itself when you click on the G Code button on screen.
Hood
Title: Re: Tool change
Post by: Kai on September 26, 2012, 08:05:21 PM
Yeh been there lol it was more to see a peice of code as a sample for where to put the G49 and where mach wants the G43. If that makeso sense Hood had a few weird things happen and not sure why just looking for insperation really
Title: Re: Tool change
Post by: Hood on September 27, 2012, 01:33:35 AM
G43H* is all you need,  what the G43 does is look at the tool table for the length offset that you have called.
So for example  G43H1   would look at the tool table for tool 1's length offset and apply it.

Having a G49 in the code will cancel the offset and set to zero offset.

If thats not what you are asking then just shout.
Hood
Title: Re: Tool change
Post by: Kai on September 27, 2012, 04:16:06 AM
Thanks Hood that will still need a z somthing in there for it to apply the offset
G49
T1 M06
G43 Z10 H1
somthing like this?
Title: Re: Tool change
Post by: Hood on September 27, 2012, 04:16:52 AM
No Z needed.
Hood