I've searched the net looking for info on how to tell my CNC mill to move to a safe tool change position. Going in I thought it would be easy but I found out that most of what I found was either incomplete or I needed a doctorate in computer programming to get what I needed.
I did find the following macro language that the author swears works as intended but no further explanation. It didn't work for me.
Code("G53G0Z3.5")
While IsMoving()
Sleep 100
Wend
Code("G53G0X48Y0")
While IsMoving()
Sleep 100
Wend
I copied this into Mach3/macros/"My Mill Profile"/M6Start.m1s. Should it go in the "End" macro instead? Is there a flaw in the macro itself? Is it me assuming this is M6 macro language? Maybe it's button script?
Thank you in advance and looking forward to your responses.
I did find the following macro language that the author swears works as intended but no further explanation. It didn't work for me.
Code("G53G0Z3.5")
While IsMoving()
Sleep 100
Wend
Code("G53G0X48Y0")
While IsMoving()
Sleep 100
Wend
I copied this into Mach3/macros/"My Mill Profile"/M6Start.m1s. Should it go in the "End" macro instead? Is there a flaw in the macro itself? Is it me assuming this is M6 macro language? Maybe it's button script?
Thank you in advance and looking forward to your responses.