Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: BluePinnacle on May 31, 2010, 02:18:04 PM

Title: tool offsets questions - G41/G42 and G43 behaviour
Post by: BluePinnacle on May 31, 2010, 02:18:04 PM
Hi,

If a manual toolchange is called (M6 T2) and G41 and G43 are already in effect, after a lead-out and lead-in move to get the spindle in position for actual toolchanging, will the new offsets be applied for the following cuts?

I know G41 and G42 use the values of the tool in the spindle (as shown on the "run" screen) if no offsets are specified in the code, but does G43 use a similar strategy or do i have to tell it which tool slot to get its length offset from? As ever, thanks in advance :)
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: ger21 on May 31, 2010, 03:31:38 PM
You should do a G40 before a tool change, and re-call the G41/G42 after. You're asking for trouble if you don't. It may not even work.

Not sure, but the G43 may stay in effect, but I believe it will be with the previous offset.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: BluePinnacle on May 31, 2010, 03:36:34 PM
best to cancel before toolchanges and reapply afterwards then - both tool diameters and lengths. ok :)
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 07, 2011, 11:27:59 AM
i HAVE TRIED TO ACTIVATE G41/G42  AND IT WILL NOT TAKE
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: BluePinnacle on February 07, 2011, 11:36:06 AM
bit of an old one to dig up, but here goes. Have you programmed your tool diameter and length in the tool table and told the machine which tool to use?

should go something like

g40 g49 (cancels radius and length offsets)

M6 T7 (calls a toolchange to tool 7 in the table. may pause here if you have told it to, or call a macro, or just charge through - your settings)

g43 h7 (activates a length (H for Height) offset based on the dimensions of tool 7

g41 or G40 (activates radius offset right or left, based on tool 7's dimensions.

Quick introductory move and you're there :) I'd be surprised if you're not.

the tool change is the surest way to make sure your program knows what tool it's using. Pop it in there and it's done, no messing about in future.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 07, 2011, 11:36:58 AM
HELLO AS YOU CAN SEE IN MY POST THAT i AM HAVING PROBLEMS USING THE CUTTER COMP GCODE i TRIED ADDING IT IN ON THE GCODE EDIT AND IT WON'T WORK. PLEASE HELP  THANKS
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: BluePinnacle on February 07, 2011, 11:37:58 AM
hi there

post the code you're trying to run and I'll have a look.
Title: Re: tool offsets questions - g54
Post by: jzak3 on February 14, 2011, 12:53:40 PM
can you give me any ideas why when I home my machine it constantly gives me a different number and why can't I save a g54 fixture even when i save it it always goes to a different location. Thanks
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 02:32:31 PM
Can you attach your xml please, sounds like a config issue.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 03:39:40 PM
are you asking for my xml? and if so, please forgive me I am new to this so where would I find it.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 03:44:08 PM
It will be in the main mach3 folder and will have the name of the profile you use, for example if you use Mach3Mill profile then the xml will have that name. You will need to copy it to another location on your drive and rename to something like jzak3.xml so that the forum will accept it as the forum only accepts a file name once.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 04:03:34 PM
jims cncprofile
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 04:14:40 PM
I think that is the Mach3 exe you have attached, it is the xml for your profile that has your config settings.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 04:22:56 PM
yes it should be, if not please advise.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 04:27:14 PM
You have attached the exe file, it is the xml I need to look at. If you start Mach and look at the lower right of the main page you will see the name of the profile you are using, it is a file with that name and a xml file extension you need to attach.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 04:51:31 PM
sorry but I am unable to locate any xml file, I even did a file search and found none, question for you is it possible since I created a profile in the machloader file and not in mach mill that I may be having these problems?
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 04:56:34 PM
It should be fine making a new xml from the loader, the file you are looking for will have the name of the profile you created. It will be in the main Mach3 folder on your drive. There has to be a xml as if not then you would not be able to open Mach as it needs you to load a profile.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 05:19:47 PM
I think I found it, Thanks for your patience
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 05:20:45 PM
I think I found it
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 05:36:00 PM
Ok go to Config menu then General Config and un tick the box shown in the pic below and see if that helps.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 06:40:42 PM
That box is cheched but I still have to enter  my offset numbers into the system each time I start it up
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 06:44:33 PM
I said to uncheck it, what that is doing is entering the value for offset 253 into the G54 offset each time you start. Because you are likely to have 0 for the 253 offset then that is what you will get, ie no G54 offset.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 07:27:25 PM
I'm sorry that is my misunderstanding I thought that when the box is checked that is what you preffer. Thanks and I will try it
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 14, 2011, 07:48:55 PM
No probs, probably because I said "untick" as thats what we say this side of the pond, where you guys will say uncheck :)
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 14, 2011, 09:03:04 PM
Thanks' again I will find out if it saved when I turn on my cpu and machine.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 15, 2011, 03:50:38 PM
Hello again, I tried  un checking the box to save my fixture but it would not save and I did try saving it in the pull down menu at the top of the mach3 window, and yet it didn't save.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 15, 2011, 04:06:04 PM
Ok, just to be clear what you are meaning, if you home the machine then jog to where you want zero to be in G54 then zero each axis DRO that will mean you have just set the G54 offset (its the default) You then can close Mach and it will ask if you wish to save the fixture offset, you click OK and next time you start Mach you home and then if you command a move to zero it should go to the previously saved position.
Is that not happening?
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 15, 2011, 04:44:32 PM
I jog my machine to the set coordinates of x7.9303 y 3.3100 that is the machine coordinates and 0,0 work area and I save thes  the fixture set up and when i home the machine it goes to the home position and then and each time I still have to enter the coordinates in the MIDI screen for it to go  G54G00X0Y0 and then it will go to that work area and after I am done I home it back into place and when I am shutting it down it does ask want to save fixture and I click YES but it never does.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 15, 2011, 04:52:33 PM
Try this to see what happens
Start Mach and home by pressing the Ref All button, your machine should move to the home switches and set machine coords zero. Now either move via MDI or jogging the position you want G54 zero to be then zero the DROs with the button. Close Mach then restart and home and then command a G0X0Y0 and see if it goes to G54 Zero position.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 15, 2011, 05:05:58 PM
tHANKS i WILL GIVE IT A GO AND i WILL LET YOU KNOW LATER.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 15, 2011, 05:43:53 PM
yes it moved out to the 0,0 work area and the coordinates were correct  huh go figure  but I will have to repeat the same process to create a g55- g56 correct? and is there any way to turn on the cutter comp by chance? would this one be located in the port and pins menu under mill options and then I would have to uncheck that box also for the g41/42 to work? Thanks again.
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 15, 2011, 06:39:22 PM
No you should be able to type into the offset DROs I would think. I never do it that way but will load the standard screenset and mess around with them in a bit to make sure, busy testing something else at the moment.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 15, 2011, 07:05:03 PM
Ok just tested the offsets on the offset page and they seem to work fine.
Pressed the G55 button then entered values into the X and Y DRO and then shut down Mach, restarted Mach and MDI G55 and the Offset Position in the DROs were correct.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 15, 2011, 08:35:38 PM
Thank you very much I do appreciate all your help, One last thing, why is it when ever I download a DXF file from this web site you receive the file but when it comes time for cutting it's all garbbled or distortted or you are only able to cut half the part?
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: Hood on February 16, 2011, 02:57:26 AM
Not sure what you are meaning exactly, dxf needs to be converted to code via CAM but I presume you are doing that. If you are only seeing half of  a part in Mach then it could be you dont have a licence, the demo of Mach is restricted to 500 lines of code.
Hood
Title: Re: tool offsets questions - G41/G42 and G43 behaviour
Post by: jzak3 on February 17, 2011, 09:22:04 AM
Actually I use the vectric software so I can run a simulation in it and see how it turns out and that i have the settings correct before I waste the material, It will show the whole part but for some reason it will not send over the entire g-code for it I figured that there might be some licencing deal. Oh well Thanks A million.