reset z to zero

Post anything you want to discuss with others about the software.

Re: reset z to zero

Postby Robertspark » Sat Jun 09, 2018 10:17 am

To edit the sheetcam post processor search for the section that says "function OnPenDown()"

and edit as follows (this presumes that you will be using the M777.txt macro I posted earlier)

Code: Select all
function OnPenDown()
   post.Text (" M777\n")   -- touch off Macro
   post.Text (" M03\n")    -- fire torch M-code

      if (pierceDelay > 0) then    -- if required .... Pierce delay {need to add it for your plasma tool}
         post.Text (" G4 P")
         post.Number (pierceDelay * 100,"0.###")
         post.Eol()
      end
end
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite.
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 726
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: reset z to zero

Postby asuratman » Sat Jun 09, 2018 2:47 pm

Hi Rob,
Thanks for your help. I am still learning your question and the last macro. I have UCCNC, I did not find on sheetcam yet. I will be back soon.
asuratman
 
Posts: 22
Joined: Sun Jan 28, 2018 1:50 pm

Re: reset z to zero

Postby asuratman » Sun Jun 10, 2018 5:12 am

Hello guys and Rob,
Excuse me, can I continue in here ?
I have learned your question. I found that the pp is Mach3 flame with THC-G31. This one the closest pp to my UCCNC. I found "function OnPenDown()" in sheetcam to edit.
What I need is to touch off the material, found the the surface as zero. Then retract 2 inch to ignite the flame torch manually. Run sheetcam, since we know the zero, go to pierce height, then cut material at cut height. I want to use flame to cut thick material, I do not have big electricity here for plasma. Is this OK ? I got pics my machine attached. Now, I know what automatic in sheetcam PP, but still I need to learn how to write macro. Thanks in advance.
Attachments
20180607_150335_resize.jpg
Z axis with limit switch as floating head connected to P12 on CNC BOB.
20180607_150234_resize.jpg
I will replace z axis with the floating head, use the flame torch.
20180607_150107_resize.jpg
The controller use cheap chinese BOB, chinese M860 tested OK on milling and oxy plasma table
asuratman
 
Posts: 22
Joined: Sun Jan 28, 2018 1:50 pm

Re: reset z to zero

Postby Robertspark » Sun Jun 10, 2018 8:07 am

I've not done oxy-acetylene before.

Can you explain how you are going to control the cutting torch sequence?

Its been +25 years since I've used a cutting torch

how are you going to operate the torch for preheat?

how are you goiung to operte the torch for cutting?

do you have 3x valves?

{retracting the torch to 2" and having it wait for you to ignite the torh is easy..... I've just not figured out how you are going to switch from pre-heat to cutting operation}
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite.
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 726
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: reset z to zero

Postby asuratman » Sun Jun 10, 2018 8:57 am

Hello,
Actually, I just want the torch to get surface as zero point like probing. After probing, then retract to a certain height maybe 2" above surface to ignite the torch. Then after all, sheetcam will handle the program to cut. I assume that the surface is flat. It will be good if there is program to probe and to save some point coordinate in case surface not flat. I don't use solenoids or valves. The valves are only on the torch to open and close gases. I only know to operate but do not know how to make program for machine, that's all I know.
asuratman
 
Posts: 22
Joined: Sun Jan 28, 2018 1:50 pm

Re: reset z to zero

Postby Robertspark » Sun Jun 10, 2018 9:21 am

Once the torch is adjusted, how do you switch from preheat to cut?

On a hand torch using the cutting torch oxygen lever?
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite.
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 726
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: reset z to zero

Postby Robertspark » Sun Jun 10, 2018 9:24 am

Look at the schematic here
http://neuroncnc.com/products/005
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite.
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 726
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: reset z to zero

Postby asuratman » Sun Jun 10, 2018 10:27 am

Hello,
I do not use the one on neuron. I just want simple one.

[url]Once the torch is adjusted, how do you switch from preheat to cut?

On a hand torch using the cutting torch oxygen lever?[/url]

I use machine torch G31, not a hand torch. Open and close valve on the torch to control gas oxy/acethylene.
asuratman
 
Posts: 22
Joined: Sun Jan 28, 2018 1:50 pm

Re: reset z to zero

Postby Robertspark » Sun Jun 10, 2018 12:27 pm

M0
(Light torch >> press "start")
G0 Zxxx (drop to pierce height)
G4 Pxxx (wait for pierce time delay)
G0 Zxxx (drop to cut height)
.... Continue with cut motion (X&Y)
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite.
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 726
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: reset z to zero

Postby asuratman » Sun Jun 10, 2018 1:49 pm

Hello,
So first thing to do is to edit post processor on sheetcam as follow :

function OnPenDown()
post.Text (" M777\n") -- touch off Macro
end

Then after the torch found the surface and retract to 5" above material followed by :
M0
(Light torch >> press "start")

Start sheetcam with following constant, as follow :

G0 Zxxx (drop to pierce height)
G4 Pxxx (wait for pierce time delay)
G0 Zxxx (drop to cut height)
.... Continue with cut motion (X&Y)

I will find constant for pierce height, pierce time delay, cut height.

I will install my z axis and try this matter.
asuratman
 
Posts: 22
Joined: Sun Jan 28, 2018 1:50 pm

PreviousNext

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 1 guest