|
Hi Guys
I have built a router, and am now using Mach3 and Kflop/Kanalog boards.
I have set up limits on the gantry, at either end of the tables extents (width wise), but I have a rack style toolchanger set up at the extreme left hand end of the gantries travel, which means I need to travel past the limit switch to perform a toolchange. I need to have the limits where they are, so as to stop the Z axis from crashing into the tool rack during normal operation
.
My thought is that in my M6start macro, I add the following functionality.
1. Move to a position in X a few mm off my limit. ie G53 X???
2. Somehow disable my limits on the kflop boards,
3. move to my X toolchange position, and change tools
4. Move back to within my tables working area.
5. Re-enable limits on the kflop board.
Can someone please explain how to achieve the disabling and re-enabling of limits from within my mach3 macro.
I am pretty sure I would do this within my NotifyMach.c, but not sure how.
Or is there a better way of doing what I want?
Thanks
Andrew
|