Re: new to sheetcam, need help
Posted: Tue Mar 26, 2024 11:30 am
Langmuire systems Fire Control
Code: Select all
function OnPenUp()
ihs = pierceHeight ~= 0 and cutHeight ~= 0 --enable IHS if both pierce and cut are non-zero
post.Text ("H0\n") -- thc OFF, Machine in control of Z
post.Text ("M5\n")
if (ihs) then
post.TextDirect ("G0 Z" .. post.FormatNumber(25.4 * scale, "0.0##") .. "\n") -- Z to rapid height
end
if (endDelay > 0) then
post.Text ("G4 P")
post.Number (endDelay,"0.###")
post.Eol()
end
post.CancelModalNumbers()
end