Hello Guest it is January 19, 2020, 01:34:33 PM

Author Topic: G43 BREAKING TOOLS  (Read 8175 times)

0 Members and 1 Guest are viewing this topic.

Re: G43 BREAKING TOOLS
« Reply #10 on: January 22, 2008, 11:56:48 AM »
Thanks,

Sure, again, You'll have to wait for later tonight.
I do remember customizing the M6 macros...
Now if I could just remember where they are... (been a while)

Erich
Re: G43 BREAKING TOOLS
« Reply #11 on: January 22, 2008, 01:27:34 PM »
They will be in the Mach3\Macros\ <your profile> folder...

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: G43 BREAKING TOOLS
« Reply #12 on: January 22, 2008, 01:29:28 PM »
Sorry Brian, never saw this until now and I am at home :(  Will test it out tomorrow if no one else has.

Hood
Re: G43 BREAKING TOOLS
« Reply #13 on: January 22, 2008, 11:20:03 PM »
M6 Start
  tool = GetSelectedTool()
  SetCurrentTool( tool )

M6end
REM The default script here moves the tool back to m6start if any movement has occured during the tool change..

x = GetToolChangeStart( 0 )
y = GetToolChangeStart( 1 )
z = GetToolChangeStart( 2 )
a = GetToolChangeStart( 3 )
b = GetToolChangeStart( 4 )
c = GetToolChangeStart( 5 )
SafeZ = GetSafeZ()
if  SafeZ  > z then StraightTraverse x, y,SafeZ, a, b, c
 StraightFeed  x, y,  z  , a, b, c
Re: G43 BREAKING TOOLS
« Reply #14 on: January 22, 2008, 11:24:27 PM »
Try this

M6end
REM The default script here moves the tool back to m6start if any movement has occured during the tool change..

x = GetToolChangeStart( 0 )
y = GetToolChangeStart( 1 )
z = GetToolChangeStart( 2 )
a = GetToolChangeStart( 3 )
b = GetToolChangeStart( 4 )
c = GetToolChangeStart( 5 )
'SafeZ = GetSafeZ()
'if  SafeZ  > z then StraightTraverse x, y,SafeZ, a, b, c
'StraightFeed  x, y,  z  , a, b, c
Code("G0X" & x & "Y" & y" & "A" & a )

I don't like the Safe Z and you have it set to a bad number... I would take it out of the tool change and if you would please turn it off .
thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: G43 BREAKING TOOLS
« Reply #15 on: January 23, 2008, 06:47:52 AM »
Brian did the tool change with offsets as Erich stated and it to works fine for me.
Hood
Re: G43 BREAKING TOOLS
« Reply #16 on: January 23, 2008, 08:35:21 AM »
I think we will find that the problem is the toolchange  macro and not mach3...

Thanks hood for the test (Nice to see you made it to work today ;)  )

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: G43 BREAKING TOOLS
« Reply #17 on: January 24, 2008, 12:12:33 PM »
Thanks I haven't had a chance yet to test the modified macro...

I didn't write my M6 macro. I don't know what it does or how it works. I got it from someone in the forums about 4-5 years ago(?) back then when Mach 2 did, in fact, move the tool when a hight offset was applied. I was trying to make mill behavior more safe.

I remember my lament of crashing and broken tools appeared to inspire Art to modify Mach's behavior overnight. The new build worked great and I forgot about what was in the macro. His prompt response made me an advocate.

Now if I could just get over this new hitch...

What are the standard M6 Macros?

How do I do a totally clean uninstall - reinstall?
 
« Last Edit: January 24, 2008, 12:14:54 PM by Erichtg »
Re: G43 BREAKING TOOLS
« Reply #18 on: January 24, 2008, 12:33:08 PM »
You can use the old macro but you need to have a look at your safe Z settings...

Config / SafeZ

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: G43 BREAKING TOOLS
« Reply #19 on: January 27, 2008, 04:03:49 PM »
Thanks Guys,

The modified M6end macro appears to work great. No Z axis movement at all on tool changes.

I'm curious, what is the default M6end macro that comes with the install?

Erich