new to sheetcam, need help
-
- Posts: 4
- Joined: Wed Mar 06, 2024 5:40 pm
Re: new to sheetcam, need help
Langmuire systems Fire Control
- Attachments
-
- FireControl-v1.6.scpost
- (5 KiB) Downloaded 67 times
- Les Newell
- Site Admin
- Posts: 3679
- Joined: Thu May 11, 2006 8:12 pm
Re: new to sheetcam, need help
In SheetCam go to Options->machine->post processor and click on the 'Edit post' button.
Look for function OnPenUp() near the end of the file. Replace the function with this version:
Look for function OnPenUp() near the end of the file. Replace the function with this version:
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