Mach3 automatic tool change macro free download - something is
Mach3 automatic tool change macro free download - topic
Tool Change Macro
Thanks for your comments. I am no gcode expert either. I understand the Z, X and Y moves (I changed the numbers to reflect my mill run in inches) in the macro but I don't see or understand where it cancels work offsets. G53 moves the axis relative to machine coordinates, this I understand. I do Home my machine on startup. So how to I re-enable work offsets?Boswell said:
I am in no way an expert in Gcode but I do have some programing background although I have never created a macro for Mach3, never needed to.
Some simple observations
1. This looks like it does two things when called
a) Cancles any work offsets, note that it does not put turn any work offsets back on when finished)
b) Moves to Z 3.5, X48 and Y0
2. I would expect that you would need to put this in some place that it would be called when you need to do a tool change. Putting it at the startup or end of some other process does not make sense to me but I may not understand how macros are called in Mach3
3. In order for any tool change process to move the spindle to a specific place it you MUST HOME the mill each time you use it. This way the G53 makes sure that the moves given are relative to the HOME Position and not the zero of the part you are working on. You must re-enable the Part offset or else the next moves will also be relative to the HOME and not the part with possibly disastrous results.
4. I was able to tell MACH3 to always go to Z5 for tool changes without using a macro. Now of course I don't home my mill and so this is Z6 relative to the Part Zero that I am working on. If I am working on a very tall part it could be too high and trip the Z Limit switch.
Some things to think about.Click to expand...
Maybe I'm over-thinking this and there is a more simple way to accomplish the same thing. What did you do to get Mach3 to go to Z5 without a macro?
Источник: [https://torrent-igruha.org/3551-portal.html]
-