Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 08:48:42 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  tool offsets when writing your own gcode
Pages: « 1 2   Go Down
Print
Author Topic: tool offsets when writing your own gcode  (Read 808 times)
0 Members and 2 Guests are viewing this topic.
BluePinnacle
Active Member

Offline Offline

Posts: 229



View Profile
« Reply #10 on: April 27, 2011, 03:09:31 PM »

I thought it was g40 for tool radius offset cancellation and g49 to cancel the length offset. Or have I been wasting ink?
Logged
angel tech
Active Member

Offline Offline

Posts: 259


View Profile
« Reply #11 on: April 27, 2011, 03:51:45 PM »

I thought it was g40 for tool radius offset cancellation and g49 to cancel the length offset. Or have I been wasting ink?

I thought it was that way too.
Logged
Mishawaka
Active Member

Offline Offline

Posts: 25


View Profile
« Reply #12 on: April 27, 2011, 04:06:36 PM »

Sorry, your right about that G49. I thought G40 canceled all tool comp. as they never had us use a G49 in class. Next time I will check the cheat sheet.
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #13 on: April 27, 2011, 04:28:33 PM »

And g41 applies the stored tool diameter of the called g43hxx.

No.

G41 offsets by the radius of the current tool called with M6 Txx.

G41 Dx offsets by the radius of tool #x

G41 Px.xx offsets by radius x.xx

Call G40 to cancel the G41/G42 offset.
Logged

BR549
Active Member

Online Online

Posts: 2,557


View Profile
« Reply #14 on: April 27, 2011, 05:33:50 PM »

How you use tool#s in you case will depend on HOW the person  wrote the code to run the tool changer, whether it is ladder logic in a plc and or VB macro in mach.

Remeber you have to write in a leadout on each comped move as well. Yes cancel the ToolComp Before you go to the tool change routine then reapply it after the tool change is complete.   IF NOT then strange things will happen as you come OUT of the tool change mode and mach tries to recomp the first position point.(;-)

(;-) TP
Logged
angel tech
Active Member

Offline Offline

Posts: 259


View Profile
« Reply #15 on: April 27, 2011, 10:24:05 PM »

the vb script for the toolchanger is an ongoing thing, and can be upgraded as problems occur. I thought the offsets would be called by the last two numbers on the m6 call. eg. M6T0101 with the red 01 as the offset, but it seems Mach doesn't see this.
« Last Edit: April 27, 2011, 10:30:15 PM by angel tech » Logged
BR549
Active Member

Online Online

Posts: 2,557


View Profile
« Reply #16 on: April 28, 2011, 09:09:40 PM »

The M6T0101 is a tool change call for a lathe not a mill.

(;-) TP
Logged
derekbpcnc
Active Member

Offline Offline

Posts: 194


View Profile
« Reply #17 on: April 29, 2011, 02:13:41 AM »

The M6T0101 is a tool change call for a lathe not a mill.

(;-) TP

All the way back to post no.#4

The tool numbering stratergy will have to be well controlled if you use multiple tools with the same tool number but different offset numbers.
I dont think I would do it that way, as it's an accident waiting to happen, and for me I'd not have to wait long :-)

Maybe better set up the auto tool length measuring macro - at the start of your job, put in the tools for that particular job, let the machine measure the TLO's and then run the job.

ATB
Derek
Logged

You can "chop it off" but can't "chop it on"
angel tech
Active Member

Offline Offline

Posts: 259


View Profile
« Reply #18 on: April 29, 2011, 04:15:21 AM »

The M6T0101 is a tool change call for a lathe not a mill.

(;-) TP

Ah i see, i'd never have thought of that.

The more you get into gcode the more you notice the seperation between the lathe and mill.
Logged
angel tech
Active Member

Offline Offline

Posts: 259


View Profile
« Reply #19 on: April 29, 2011, 04:19:52 AM »

I noticed you went down the lathe route in that post, but with my limited knowledge it never occured to me it was based solely on the lathe...doh.

To avoid confusion all tools would have been numbered with tool number and offset number
Logged
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!