Hello,
We have CNC ATC with LNC controler, if we used Gerber postprocesor, dont work drill.
How we can solwent this problem.
Thank you for help.
Best regards
Danilo DBK
Hello,
We have CNC ATC with LNC controler, if we used Gerber postprocesor, dont work drill.
How we can solwent this problem.
Thank you for help.
Best regards
Danilo DBK
add this OnDrill() function from Mach3.scpost pp…
function OnDrill()
OnRapid()
depth = drillStart
buffer = plungeSafety
endZ = depth + buffer
OnRapid()
if(drillRetract < buffer) then
buffer = drillRetract
end
while depth > drillZ do
OnRapid()
depth = depth - drillPeck
if (depth < drillZ) then
depth = drillZ
end
endZ = depth
OnMove()
if (depth > drillZ) then --retract if we need to take another bite
endZ = endZ + drillRetract
if (endZ > safeZ) then
endZ = safeZ
end
OnRapid()
endZ = depth + buffer
end
end
if (endZ < safeZ) then
endZ = safeZ
OnRapid()
end
end