Flame cutter questions

Having problems with or questions about SheetCam? Post them here.
Post Reply
f_armer
Posts: 2
Joined: Mon Dec 22, 2014 6:27 pm

Flame cutter questions

Post by f_armer » Mon Mar 09, 2015 2:23 am

I have a 2 hose oxy setup on my plasma table. The problem i'm having is that after I light the torch, the Z axis will to its touch off(floating Z)and snuff out the torch. I have mach setup so I can adjust the Z axis with the keyboard while its cutting.
So I was wondering, is it possible to set it up so that:
- when I hit run, it'll move to the start point, then pause, without lowering the Z
- then I could light the torch and manually lower it, wait for it to preheat, flip the lever to cut, then press run to make it go
- when its done its cut, lift, move to next cut, then pause again, until i hit run again when its ready

Would it be a custom post? What would be the best way to accomplish this?
Thanks!

User avatar
Les Newell
Site Admin
Posts: 2054
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell » Wed Mar 11, 2015 11:46 am

First of all use the Mach3 plasma post as it doesn't try to reference. Edit the post (use the 'edit post' button in Options->machine->post processor) and look for function OnPenDown()
You will see this bit of code:

Code: Select all

function OnPenDown()
   if (preheat > 0.001) then
      post.ModalText (" G00")
      post.ModalNumber (" Z", cutHeight * scale, "0.0000")
      post.Text ("\n G04 P")
      post.Number (preheat,"0.###")
      post.Eol()
   end
Change it to

Code: Select all

function OnPenDown()
   if (preheat > 0.001) then
      post.ModalText (" G00")
      post.ModalNumber (" Z", cutHeight * scale, "0.0000")
      post.Text ("\n M0")
      post.Eol()
   end
That will put in a stop after it has moved to cut height so you can preheat and switch on the cutting oxygen. Note that you must specify a preheat delay in your tool definition for the stop to appear.

f_armer
Posts: 2
Joined: Mon Dec 22, 2014 6:27 pm

Post by f_armer » Wed Mar 11, 2015 6:48 pm

I'll give it a try, thanks Les!

asuratman
Posts: 7
Joined: Sat Dec 06, 2014 8:19 am

Re: Flame cutter questions

Post by asuratman » Sat Jul 07, 2018 3:57 pm

Hello Les,
Sorry for using this long time thread. I have the same oxy system and step as above, but I use UCCNC. Is the same macro you changed can be used ?

asuratman
Posts: 7
Joined: Sat Dec 06, 2014 8:19 am

Re: Flame cutter questions

Post by asuratman » Sun Jul 08, 2018 11:29 am

Hello,
Again one more question here. I found my post no numerical as seen bellow :

function OnPenDown()
if (preheat > 0.001) then
post.ModalText (" G00")
post.ModalNumber (" Z", cutHeight * scale, "0.0000")
post.Text ("\n G04 P")
post.Number (preheat,"0.###")
post.Eol()
end

Should I change with your post processor and delete the numerical in it ?

Thanks.

User avatar
Les Newell
Site Admin
Posts: 2054
Joined: Thu May 11, 2006 8:12 pm

Re: Flame cutter questions

Post by Les Newell » Mon Jul 09, 2018 1:24 pm

It is better to start a new thread rather than resurrect an old one. Note that for some reason the formatting in the posted code is messed up. The code you need should look something like this:

Code: Select all

function OnPenDown()
   if (preheat > 0.001) then
      post.ModalText (" G00")
      post.ModalNumber (" Z", cutHeight * scale, "0.0000")
      post.Text ("\n M0\n")
   end

Post Reply