Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: bw on January 27, 2012, 02:34:21 PM
-
This has been an ongoing issue for me and I usually solve it by editing the code. Today I did a drawing and forgot to edit it, and ended up with a crash.
Say tool #1 is 1” long and tool #2 is 2” long. When it stops to change to #2 tool, Z goes to the safe Z of tool #1. Once I change the tool and hit start the Z goes way below the safe height of tool #2 and crashes into the part. I don’t know if it is a setting I changed in Mach or if I need to edit my post processor.
I am attaching the code I used with the hope that someone may see something I don’t. I have no issue until it gets to the spotting drill tool #75.
Thanks
-
Do you have the tools height offsets set correctly in the tool table?
Hood
-
Yes I double checked everything and it has been an ongoing problem.
-
are you cancelling the first tool offset before you call the second. G49
-
Not sure why its going wrong then as you seem to have the G43H75 there. If you MDI
M6T1
G43H1
Then lower tool 1 down to a surface and zero the DRO then MDI
M6T75
G43H75
and then lower the spot drill down does it go to the same place for its zero?
Hood
-
Hood,
If I enter it with MDI it works fine, however when it is running it does not. I just tried it several times with the same result. If I add in a G49 like Angel tech suggested it does fix the problem.
I am not sure why the post possessor does not add that in. Is there a way to edit the P.P. to add the G49 in?
-
I figured it out, added the G49 to the P.P. and it is working fine now.
Thanks