Access tool diameter in tooltable from gcode

More
20 Oct 2010 19:10 #4758 by acondit
Is it possible to access the tool diameter of a specified tool as a variable from gcode.

I am writing some wizards for converting dxf files to gcode. It would be great if the gcode could determine the diameter of the specified tool at runtime. Sometimes it is difficult to properly program entry and exit routines for tool compensation when doing a conversion of a dxf file.

It would be great for example, if the code that was going to cut a pocket could look at a tool table value and determine how much to inset to compensate for the radius of the tool.

Alan

Please Log in or Create an account to join the conversation.

More
20 Oct 2010 23:13 - 20 Oct 2010 23:15 #4759 by BigJohnT
You bet Allen, it is #5410. I just used the other day for the same thing. Take a look in the subroutines section at the taper od one for an example.

www.linuxcnc.org/docview/html//common_ma....html#sub:Parameters

and

www.linuxcnc.org/docview/html//gcode_ove...:Numbered-Parameters

John
Last edit: 20 Oct 2010 23:15 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
20 Oct 2010 23:57 - 21 Oct 2010 00:00 #4765 by acondit
John,

Thanks a lot. I tried to find it in the pdf docs without any success. Maybe I was just looking in the wrong place. Is that info in the pdfs or just on the web?

Never mind I found it! Duh!

Alan
Last edit: 21 Oct 2010 00:00 by acondit.

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum