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.
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
Adding cooldown pauses - SOLVED
Adding cooldown pauses - SOLVED
- Attachments
-
- 20230806_120057.jpg (173.14 KiB) Viewed 2892 times
Last edited by holla2040 on Thu Aug 31, 2023 6:10 pm, edited 1 time in total.
- Les Newell
- Site Admin
- Posts: 3668
- Joined: Thu May 11, 2006 8:12 pm
Re: Adding cooldown pauses
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.
If that doesn't fix it I can modify the post for you.
Re: Adding cooldown pauses - SOLVED
I have that enabled already.
I looked at the Crossfire Firecontrol post and there's a provision for adding this delay in onPenUp()
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.
Which does exactly what I want.
So I'm good and ready to try again.
NOTE: "Pause at end of cut" should be seconds, 10, not 10000.
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
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
NOTE: "Pause at end of cut" should be seconds, 10, not 10000.