Hello Guest it is March 29, 2024, 01:04:11 AM

Author Topic: Toolchange position  (Read 5462 times)

0 Members and 1 Guest are viewing this topic.

Toolchange position
« on: December 21, 2005, 07:40:26 AM »
Hi, with the latest version of Mach3 .37 my toolchange position changed from machine zero to work zero.
I use home switches and the tool change option is set to 'stop spindle and wait for cycle start'.
Then I noticed a new function under home and limit settings for setting tool change position, but if I typed
in a value for X,Y and Z then it was gone the next time I looked even if I restarted the program after the settings.

Another thing  is there a release note to read, because it's hard to know whats new after a release update.

Best regards
Roger
Re: Toolchange position
« Reply #1 on: December 21, 2005, 01:06:29 PM »
Sorry about that I didn't know there were any changes made to the tool change...  have had my tool change macro overwritten during an install. IF you would like I can give you the tool change macro that I use. And we can change it to do what you would like it to do
Hope that helps
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Toolchange position
« Reply #2 on: December 21, 2005, 04:24:31 PM »
This is the same macro I used in the other thread :) I am going to add in a few things to help you with the tool change Pos...

Hope that Helps :)
Brian

'M6Start.m1s
  tool = GetSelectedTool()
  x = GetToolChangeStart( 0 )
  y = GetToolChangeStart( 1 )
  z = GetToolChangeStart( 2 )
  a = GetToolChangeStart( 3 )
  b = GetToolChangeStart( 4 )
  c = GetToolChangeStart( 5 )

 
  Code "G00 G53 Z-.1000"  'Pick the Z Axis up to Machine Cord Z-.1
  Code "G00 G53 X0.0 Y0.0" 'Put in Tool change Pos HERE in Machine Cord...
  SetCurrentTool( tool )



'M6End.m1s
  x = GetToolChangeStart( 0 )
  y = GetToolChangeStart( 1 )
  z = GetToolChangeStart( 2 )
  a = GetToolChangeStart( 3 )
  b = GetToolChangeStart( 4 )
  c = GetToolChangeStart( 5 )

Code "G00 G53 Z-.1000" 'Pick the Z Axis back up to Machine Cord Z-.1 if it had been moved

Code "G00 X" & x & " Y" & y  'Move the tool back to where the tool change was activated if it has been moved **FIXED***
« Last Edit: December 21, 2005, 06:55:37 PM by Barker806 »
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Toolchange position
« Reply #3 on: December 21, 2005, 06:15:03 PM »
Hi Brian,
I added your macro with help of VB script editor but I get a syntax error on the last line
in M6End.m1s

Code "G00 X"&x&" Y"&y  'Move the tool back to where the tool change was activated if it has been moved
         
Roger         
Re: Toolchange position
« Reply #4 on: December 21, 2005, 06:54:38 PM »
Sorry about that

Code "G00 G53 X" & x & "Y" & y

The old VB scripter did not need the spaces in the lines

I will fix it in the post too

Thank you for setting me straight
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Toolchange position
« Reply #5 on: December 22, 2005, 02:53:18 PM »
Thanks Brian,
That did the trick. ;D
Now I can put my tool change position whatever I want.

Roger