5191
General Mach Discussion / Re: very simple tool chnage setting help needed
« on: May 03, 2013, 01:28:53 PM »
What I think I would do is use Auto Toolchange option in General Config and have something like the following in the m6start macro.
Tool= GetSelectedTool()
Code"G0 G53 Z0" ' Enter Z machine coord you wish if not zero
While IsMoving()
Wend
Code"G0 G53 X0 Y0" ' Enter X and Y machine coords you wish if not zero
While IsMoving()
Wend
Code" M5 M9"
Code "M1"
SetCurrentTool(Tool)
You would have to make sure your code after the tool call has the height offset called and also a M3.
Hood
Tool= GetSelectedTool()
Code"G0 G53 Z0" ' Enter Z machine coord you wish if not zero
While IsMoving()
Wend
Code"G0 G53 X0 Y0" ' Enter X and Y machine coords you wish if not zero
While IsMoving()
Wend
Code" M5 M9"
Code "M1"
SetCurrentTool(Tool)
You would have to make sure your code after the tool call has the height offset called and also a M3.
Hood