Adding cooldown pauses - SOLVED

Having problems with or questions about SheetCam? Post them here.
Post Reply
holla2040
Posts: 2
Joined: Thu Aug 31, 2023 3:19 am

Adding cooldown pauses - SOLVED

Post by holla2040 »

CAMers,
I'm cutting this piece on a Crossfire Pro with a 0.8mm tip, 22ga steel. It has 333 pierces and has serious warping.
20230806_140625.jpg
20230806_140625.jpg (250.62 KiB) Viewed 2891 times
Here's my question, I want a 10 second cooldown pause before or after each cut. I've tried all the rules (on start, before end, lead in and out, etc) and can't get sheetcam to insert my code snippet when the torch is off. Can I do this with rules or will I have to modify my post code?
Thanks,
Craig
ps. its a porch light shade
Attachments
20230806_120057.jpg
20230806_120057.jpg (173.14 KiB) Viewed 2891 times
Last edited by holla2040 on Thu Aug 31, 2023 6:10 pm, edited 1 time in total.
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Adding cooldown pauses

Post by Les Newell »

In your cut operation go to the 'cut path' tab and enable 'minimise thermal distortion' and set the distance to something like half the width of your part.
If that doesn't fix it I can modify the post for you.
holla2040
Posts: 2
Joined: Thu Aug 31, 2023 3:19 am

Re: Adding cooldown pauses - SOLVED

Post by holla2040 »

I have that enabled already.
Screenshot 2023-08-31 085014.png
Screenshot 2023-08-31 085014.png (20.42 KiB) Viewed 2873 times




I looked at the Crossfire Firecontrol post and there's a provision for adding this delay in onPenUp()

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 (endDelay > 0) then
      post.Text ("G4 P")
      post.Number (endDelay,"0.###")
      post.Eol()
   end
   if (ihs) then
      post.TextDirect ("G0 Z" .. post.FormatNumber(25.4 * scale, "0.0##") .. "\n") -- Z to rapid height
   end
   post.CancelModalNumbers()
end
However setting a post variable endDelay didn't work right. Then I found this, Thanks for your help. I hope that others find this useful as well.
Screenshot 2023-08-31 090048.png
Screenshot 2023-08-31 090048.png (43.78 KiB) Viewed 2873 times






Which does exactly what I want.

Code: Select all

G92 Z0.
G38.2 Z-5.0 F100.0
G38.4 Z0.5 F20.0
G92 Z0.0
G0 Z0.02 (IHS Backlash)
G92 Z0.0
G0 Z0.118 (Pierce Height)
M3
G4 P0.1
G1 Z0.059 F5.0 (Cut Height)
H1
G2 X11.2629 Y4.8595 I-0.0189 J-0.0173 F200.0
...
G2 X11.244 Y4.8904 I0.0061 J0.0249
H0
M5
G4 P10000         <<<<< yay!
G0 Z1.0
G0 X7.4506 Y10.3929
So I'm good and ready to try again.

NOTE: "Pause at end of cut" should be seconds, 10, not 10000.
Post Reply