Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 08:48:28 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
tool offsets when writing your own gcode
Pages:
1
2
Go Down
« previous
next »
Author
Topic: tool offsets when writing your own gcode (Read 808 times)
0 Members and 1 Guest are viewing this topic.
angel tech
Active Member
Offline
Posts: 259
tool offsets when writing your own gcode
«
on:
April 26, 2011, 06:38:32 AM »
Ok, i'm just starting with tool offsets and i've got an 8 station tool changer. When i write gcode manually and have to make a tool change what do i have to put in to make the change and get mach to see the offset.
i can get the change done with m6txx but how do i get the offset to apply. Do i have to add g43 hxx before the m6txx.
If that works how do i get the second tool offset for tool 1 to work.?
Logged
Mishawaka
Active Member
Offline
Posts: 25
Re: tool offsets when writing your own gcode
«
Reply #1 on:
April 26, 2011, 01:33:27 PM »
I don't have a multiple tool setup but you should be able to save offsets in the "Offset" tab in Mach. Then just call up the tool you need in the program code as usual.
Logged
derekbpcnc
Active Member
Offline
Posts: 194
Re: tool offsets when writing your own gcode
«
Reply #2 on:
April 26, 2011, 02:28:42 PM »
Quote from: angel tech on April 26, 2011, 06:38:32 AM
Ok, i'm just starting with tool offsets and i've got an 8 station tool changer. When i write gcode manually and have to make a tool change what do i have to put in to make the change and get mach to see the offset.
i can get the change done with m6txx but how do i get the offset to apply. Do i have to add g43 hxx before the m6txx.
If that works how do i get the second tool offset for tool 1 to work.?
Hi,
Normaly I put:-
T1 M06
G43 H1
There was a bug in a previous version of mach that didn't like the tool change and apply offsets on the same block line.
You will need to set the tool length values in the tool table either manually or by using the settings page.
Not sure what you mean by "the second tool offset for tool 1 to work"
ATB
Derek
«
Last Edit: April 26, 2011, 02:30:48 PM by derekbpcnc
»
Logged
You can "chop it off" but can't "chop it on"
angel tech
Active Member
Offline
Posts: 259
Re: tool offsets when writing your own gcode
«
Reply #3 on:
April 26, 2011, 03:11:38 PM »
Thanks Derek, i have the tool offsets stored and the g43 seems to work. The second tool offset is the multiple offsets on each tool position (m6 t0101) (m6 t0102), i take it you call them with the h1, h2, h3 ect.
«
Last Edit: April 26, 2011, 03:15:52 PM by angel tech
»
Logged
derekbpcnc
Active Member
Offline
Posts: 194
Re: tool offsets when writing your own gcode
«
Reply #4 on:
April 26, 2011, 03:44:58 PM »
Quote from: angel tech on April 26, 2011, 03:11:38 PM
Thanks Derek, i have the tool offsets stored and the g43 seems to work. The second tool offset is the multiple offsets on each tool position (m6 t0101) (m6 t0102), i take it you call them with the h1, h2, h3 ect.
Hi,
I think I see - you are using a lathe :-) I'm only the "milling department" so better hand you over to a lathe expert as i'd be more guessing than giving info based on experience.
As I understand though, each turret position can have multiple tools, so the T6 tool change calls the turret position then the tool and offset are then applied for the particular tool in use.
ATB
Derek
Logged
You can "chop it off" but can't "chop it on"
angel tech
Active Member
Offline
Posts: 259
Re: tool offsets when writing your own gcode
«
Reply #5 on:
April 26, 2011, 03:47:58 PM »
No, i'm using a mill, it has an 8 station carousel. So i have 8 tool positions but i will have more than 8 tools the second 8 will have to be given the second offset, and the third set of eight ect.
Logged
BR549
Active Member
Online
Posts: 2,557
Re: tool offsets when writing your own gcode
«
Reply #6 on:
April 26, 2011, 05:19:44 PM »
OK , IF you have an 8 tool changer then you only have 8 slots available to use when running code.
To use the offsets the PROGRAMER must apply the offsets via Gcode G43 applies the height correction and the G41/42 applies the inside and outside radius correction.
To use the tool change you must add the tool corrections to the tool table tool1 will be slot1 tool2 will be toll slot 2 etc etc.
Once the tool table is up to date on all 8 slots then you tool change code and offset code can use these values for correction.
BUT you are the one responcible to add the correction via Gcode.
M6 T2 tool change for slot#2
G43 H2 appllies the height correction for slot#2
G1 Z0.000
G41 applies the Radius correct for the current tool (tool#2)
G1 X1Y0 required leadin to comp the tool.
working code
Hope that helps, I would suggest the Peter Smit book for more info.
(;-) TP
Logged
angel tech
Active Member
Offline
Posts: 259
Re: tool offsets when writing your own gcode
«
Reply #7 on:
April 27, 2011, 03:43:09 AM »
ok, if i want to use a different set of eight tools in the carousel, i would call them as m6t1 to m6t8 for teh tool position and g43h9 to g43h16 for teh z offset to identify the offset.
Logged
angel tech
Active Member
Offline
Posts: 259
Re: tool offsets when writing your own gcode
«
Reply #8 on:
April 27, 2011, 03:53:07 AM »
And g41 applies the stored tool diameter of the called g43hxx. To cancel this you call g40 before the next toolchange.?
Do you have to cancel the g43 before every toolchange, or does the next g43 override the previous one.
Logged
Mishawaka
Active Member
Offline
Posts: 25
Re: tool offsets when writing your own gcode
«
Reply #9 on:
April 27, 2011, 10:59:04 AM »
G40 cancels all tool compensation. You will have to put the G41 and G43 for the next tool.
Logged
Pages:
1
2
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...