Good day all.

My jobs are now starting to need a number of tools changes per run.

Each tool change is done manualy, and I have to jog to a point where I can reach or have room to access the spindle.

I would like some help adjusting the Mach3 tool change macro scripts.

Here is the default Mach3 M6 tool change macro scripts.

C:\Mach3\macros\Mach3Mill\M6Start.m1s
Code:
  tool = GetSelectedTool()
  SetCurrentTool( tool )
C:\Mach3\macros\Mach3Mill\M6End.m1s
Code:
x = GetToolChangeStart( 0 )
y = GetToolChangeStart( 1 )
z = GetToolChangeStart( 2 )
a = GetToolChangeStart( 3 )
b = GetToolChangeStart( 4 )
c = GetToolChangeStart( 5 )
if(IsSafeZ() = 1) Then
   SafeZ = GetSafeZ()
   if  SafeZ  > z then StraightTraverse x, y,SafeZ, a, b, c 
      StraightFeed  x, y,  z  , a, b, c
else
Code"G00 X" & x & "Y" & y
end if
What I would like to happen when the tool change is called, is for Z to go up to home, Y to goto the center point, and X to goto the front.

What is needed to be added to the Mach3 M6 tool change macro scripts to do this?

Thanks for your time.

Best Regards.