I’m looking for a “Wait for Arc” macro

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

I’m looking for a “Wait for Arc” macro

Postby The-Meerkat » Sat Jun 19, 2021 2:31 am

For plasma, does anyone have a reliable “Wait for Arc” macro you can share here?

Thanks in advance,

Scott
The-Meerkat
 
Posts: 37
Joined: Wed Apr 01, 2020 1:23 am
Location: North County San Diego

Re: I’m looking for a “Wait for Arc” macro

Postby Robertspark » Sat Jun 19, 2021 6:53 am

uccnc does that automatically with thc enabled
Robertspark
 
Posts: 1852
Joined: Sat Sep 03, 2016 4:27 pm

Re: I’m looking for a “Wait for Arc” macro

Postby The-Meerkat » Sat Jun 19, 2021 6:16 pm

I’m having trouble with it. My Price AVHC10 THC nose dives into the material when the UCCNC THC is on. When I turn it off, the motion starts before the arc starts. On a different subject, I absolutely love the “Parts Extent” macro of yours I got ahold of recently. Great stuff.
The-Meerkat
 
Posts: 37
Joined: Wed Apr 01, 2020 1:23 am
Location: North County San Diego

Re: I’m looking for a “Wait for Arc” macro

Postby Robertspark » Sat Jun 19, 2021 9:42 pm

save your profile *.pro file here

you will need to save it as a txt file

or copy and paste the contents into a code block
Robertspark
 
Posts: 1852
Joined: Sat Sep 03, 2016 4:27 pm

Re: I’m looking for a “Wait for Arc” macro

Postby laki » Sat Jun 19, 2021 11:13 pm

When THC is on, you should also turn on THC Delay. The THC delay serves to prevent the movement of the Z axis until the plasma arc stabilizes.
There is the following problem with the ARC OK signal. The dwell timer (pierce delay) starts before the ARC OK signal is triggered.
To prevent this, you can add this macro, it works for me.
Dezsoe wrote this macro.
Code: Select all
int ArcOKInputLED = 97; // Port 3 pin 12

while (!exec.GetLED(ArcOKInputLED) && !exec.Ismacrostopped())
{
  // Lets wait hear until we get ARC OK
  exec.Wait(10);
}

// End and proceed to pierce delay
laki
 
Posts: 109
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: I’m looking for a “Wait for Arc” macro

Postby The-Meerkat » Sun Jun 20, 2021 12:42 am

RobertSpark, I attached the profile.
Attachments
Plasma.pro.txt
(35.23 KiB) Downloaded 59 times
The-Meerkat
 
Posts: 37
Joined: Wed Apr 01, 2020 1:23 am
Location: North County San Diego

Re: I’m looking for a “Wait for Arc” macro

Postby The-Meerkat » Sun Jun 20, 2021 12:46 am

Laki. Thanks. I'll try it.
The-Meerkat
 
Posts: 37
Joined: Wed Apr 01, 2020 1:23 am
Location: North County San Diego

Re: I’m looking for a “Wait for Arc” macro

Postby dezsoe » Mon Jun 21, 2021 6:30 am

Robertspark wrote:save your profile *.pro file here

you will need to save it as a txt file

or copy and paste the contents into a code block

*.pro files can be attached without any manipulation since I enabled it in the forum settings (more than a year ago).
dezsoe
 
Posts: 1508
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: I’m looking for a “Wait for Arc” macro

Postby The-Meerkat » Sat Jun 26, 2021 3:51 am

In SheetCam I changed the pierce delay to milliseconds. That fixed my delay problem. Who Hoo.
The-Meerkat
 
Posts: 37
Joined: Wed Apr 01, 2020 1:23 am
Location: North County San Diego


Return to Macros

Who is online

Users browsing this forum: No registered users and 3 guests