11
MachPro General Discussion / Re: RC ATC Dustboot
« Last post by cd_edwards on May 20, 2026, 12:54:33 PM »-- Dustshoe Entry Settings
local inst = mc.mcGetInstance()
local DustBootX = 45.85
local DustBootY = 36.4
local DustBootZ = -4.3513
local DustBootRateY = 100
local DustBootRateZ = 50
local DustBootYSlide = 5
local DustBootSafeZ = -0.1
-- ============================================================ PICKUP DUST SHOE ==========================================================================
function m2223()
local toolnum, rc = mc.mcToolGetCurrent(inst)
if (toolnum == 0 or rc ~= 0) then
do return end
end
GCode = string.format("G00 G90 G53 Z%.4f\n", DustBootSafeZ) ------ Z UP
mc.mcCntlGcodeExecuteWait(inst, GCode) ------ Z UP
GCode = string.format("G00 G90 G53 X%.4f Y%.4f\n", DustBootX, DustBootY-DustBootYSlide) ------ To DustShoe Entry X
mc.mcCntlGcodeExecuteWait(inst, GCode)
GCode = string.format("G00 G90 G53 Z%.4f\n", DustBootZ+0.75) ------ G00 Quick down to 20mm above DustShoe Pick Up
mc.mcCntlGcodeExecuteWait(inst, GCode)
GCode = string.format("G00 G90 G53 Z%.4f F%.4f\n", DustBootZ,DustBootRateZ/2) ------ DustShoe Pick Up
mc.mcCntlGcodeExecuteWait(inst, GCode)
GCode = string.format("G00 G90 G53 Y%.4f F%.4f\n", DustBootY,DustBootRateY) ------ DustShoe SlideOutY
mc.mcCntlGcodeExecuteWait(inst, GCode)
GCode = string.format("G00 G90 G53 Z%.4f\n", DustBootSafeZ) ------ PICK UP Z --- DROP SHOE IN HOLDER --
mc.mcCntlGcodeExecuteWait(inst, GCode)
end
I need to move to a specific location in XYZ, then slide forward 5 inches and finally raise Z up to remove my dust boot. To pick it up, I need to go to a specific XYZ, drop Z down ontop of the boot, and slide backwards. It's magnetically attached to the spindle shoe and can not be on the spindle when doing a tool change. is it hicky? maybe, but it's what I've got on my home built machine.

Recent Posts