Arc Ok won't work

This is the place to talk about and share things related to CNC plasma machines using UCCNC

Arc Ok won't work

Postby Pyruu » Tue May 26, 2020 8:22 pm

I had some trouble with the arc ok on my table.
First of all it work during the cutting operation.
The software interrupts the operation when the arc is loss.

But i tried to make some pierce holes for later drill by hand.
The axis moves without waiting for arc ok input.
The follwing sample g code wont stop at M03.

Code: Select all
N0010 M205
N0020 G01 Z5.0
N0030 M03
N0050 G04 P200
N0060 Z2.5
N0070 M05


I tried this code with a new uccnc installation
what is wrong with the g code?
Attachments
THC_on.PNG
Pyruu
 
Posts: 6
Joined: Tue May 26, 2020 8:01 pm

Re: Arc Ok won't work

Postby cncdrive » Thu May 28, 2020 6:00 pm

Dezsoe, please test this and let me know...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Arc Ok won't work

Postby dezsoe » Fri May 29, 2020 10:04 am

It works fine. However, in demo mode it won't stop, but that's OK, because in demo mode you cannot change an input level. (I tested with UC100.)
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Arc Ok won't work

Postby Pyruu » Sat Jun 20, 2020 6:47 pm

had to do some similar stuff again.

I made a video for better understanding
below is the g-code from the video
https://streamable.com/8sazg8

Is this problem related to my g-code?
from line N0870 the arc ok is working.


thanks in advance


Code: Select all
N0010 (Filename: Stuhl_Kreis235-195_einzel.tap)
N0020 (Post processor: UCCNC plasma with scriber.scpost)
N0030 (Date: 05/06/2020)
N0040 G21 (Units: Metric)
N0050 F1
N0060 G53 G90 G40
N0070 (Part: Stuhl_Kreis235-195)
N0080 (Operation: Drill, hole, T9: 8mm Stahl 60A hole, 0 mm Deep)
N0090 G00 X117.5000 Y225.0000
N0100 M1031
N0110 G00 Z4.0000
N0120 M03
N0130 G04 P0.1
N0140 G01 Z4.0000 F3000.0
N0150 M05
N0160 G00
N0170 X64.3301 Y210.9302
N0180 M1031
N0190 G00 Z4.0000
N0200 M03
N0210 G04 P0.1
N0220 G01
N0230 M05
N0240 G00
N0250 X24.6921 Y171.7488
N0260 M1031
N0270 G00 Z4.0000
N0280 M03
N0290 G04 P0.1
N0300 G01
N0310 M05
N0320 G00
N0330 X23.2408 Y65.8140
N0340 M1031
N0350 G00 Z4.0000
N0360 M03
N0370 G04 P0.1
N0380 G01
N0390 M05
N0400 G00
N0410 X55.7069 Y29.5349
N0420 M1031
N0430 G00 Z4.0000
N0440 M03
N0450 G04 P0.1
N0460 G01
N0470 M05
N0480 G00
N0490 X117.5000 Y10.0000
N0500 M1031
N0510 G00 Z4.0000
N0520 M03
N0530 G04 P0.1
N0540 G01
N0550 M05
N0560 G00
N0570 X211.7592 Y65.8140
N0580 M1031
N0590 G00 Z4.0000
N0600 M03
N0610 G04 P0.1
N0620 G01
N0630 M05
N0640 G00
N0650 X224.9912 Y116.1209
N0660 M1031
N0670 G00 Z4.0000
N0680 M03
N0690 G04 P0.1
N0700 G01
N0710 M05
N0720 G00
N0730 X210.3079 Y171.7488
N0740 M1031
N0750 G00 Z4.0000
N0760 M03
N0770 G04 P0.1
N0780 G01
N0790 M05
N0800 G00
N0810 (Operation: Inside Offset, inside, T2: 8mm Stahl 60A)
N0820 G00 X210.3079 Y171.7488
N0830 X49.4410 Y176.5081
N0840 M212
N0850 M1031
N0860 G00 Z6.0000
N0870 M03
N0880 G04 P2.4
N0890 G01 Z4.0000 F2970.0
N0900 G02 X47.5665 Y181.0070 I4.5255 J4.5255 F841.5
N0910 X49.4410 Y185.5590 I6.3999 J0.0265 F850.0
N0920 X43.3836 Y178.9070 I68.0590 J-68.0590
N0930 M211
N0940 X49.4410 Y185.5590 I74.1164 J-61.4070 F807.5
N0950 X50.1517 Y186.2624 I68.0590 J-68.0590
N0960 (Operation: Outside Offset, outside, T2: 8mm Stahl 60A)
N0970 M05
N0980 G00 Z20.0000
N0990 X210.5199 Y201.4689
N1000 M212
N1010 M1031
N1020 G00 Z6.0000
N1030 M03
N1040 G04 P2.4
N1050 G01 Z4.0000 F2970.0
N1060 G02 X206.0210 Y199.5945 I-4.5255 J4.5255 F841.5
N1070 X201.4689 Y201.4689 I-0.0265 J6.3999 F850.0
N1080 G03 X205.5919 Y197.1328 I-83.9689 J-83.9689
N1090 M211
N1100 X201.4689 Y201.4689 I-88.0919 J-79.6328 F807.5
N1110 X200.7589 Y202.1731 I-83.9689 J-83.9689
N1120 G02 X200.7360 Y204.8882 I1.3462 J1.3690
N1130 M05
N1140 G00 Z20.0000
N1150 M05 M30
Pyruu
 
Posts: 6
Joined: Tue May 26, 2020 8:01 pm

Re: Arc Ok won't work

Postby laki » Sat Jun 20, 2020 7:26 pm

The video shows that THC delay is on.
The value for THC delay is 1s.
Turn off the THC delay and try.
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: Arc Ok won't work

Postby Pyruu » Mon Jun 22, 2020 4:56 am

No difference.
I thought thc delay executes after M3 detects an arc ok signal.
Thc delay blocks only up/down motion.
Pyruu
 
Posts: 6
Joined: Tue May 26, 2020 8:01 pm

Re: Arc Ok won't work

Postby laki » Mon Jun 22, 2020 1:26 pm

Why do you turn on THC for piercing holes?
In your code I see that this drilling of holes takes only 0.1 sec.
During this time, the THC function does not make sense, and cannot work properly (it takes some time for the plasma arc voltage to stabilize and later THC corrects the height of the plasma torch based on this voltage).
The THC delay serves to delay the THC response time until a stable arc voltage is established.
The use of THC makes sense as the machine moves along the X and Y axes (THC corrects the height of the plasma torch because the sheet metal plate is already deformed or heats up and bends due to plasma cutting). The use of THC does not make sense until the machine moves along the x and y axes.
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: Arc Ok won't work

Postby Pyruu » Mon Jun 22, 2020 5:51 pm

the time between executing m3 and get the arc transferred to the metall is different
every single pirce in my setup. So im using the THC function to wait for the arc ok ( arc is transferd).
Without THC and fixed pierce delay some hole were burned too much and others have no marks.
Pyruu
 
Posts: 6
Joined: Tue May 26, 2020 8:01 pm

Re: Arc Ok won't work

Postby laki » Mon Jun 22, 2020 8:48 pm

OK, try to make some machine movement between M3 and M5.
Let's say instead of:
N0080 (Operation: Drill, hole, T9: 8mm Stahl 60A hole, 0 mm Deep)
N0090 G00 X117.5000 Y225.0000
N0100 M1031
N0110 G00 Z4.0000
N0120 M03
N0130 G04 P0.1
N0140 G01 Z4.0000 F3000.0
N0150 M05

Try this:
N0080 (Operation: Drill, hole, T9: 8mm Stahl 60A hole, 0 mm Deep)
N0090 G00 X117.5000 Y225.0000
N0100 M1031
N0110 G00 Z4.0000
N0120 M03
N0130 G04 P0.1
N0140 G01 Z4.1000 F3000.0 (Z axis up for 0.1)
N0150 M05

I think the program interprets the Arc OK signal properly, but since there is no machine movement between M3 and M5, after M5 the machine is just continuing to execute the G-code.
By inserting the Z axis movement up, you will make sure that the machine must have the Arc OK signal activated before this movement. This should get the job done.
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: Arc Ok won't work

Postby beefy » Mon Jun 22, 2020 9:47 pm

Regarding the video there seems to be some really weird stuff going on. Example, lines:

N870 M3 ARC OK LED DOES NOT TURN ON
N880 G04 P2.4 ARC OK LED STILL DOES NOT TURN ON
N890 G01 Z4.0000 F2970.0 THC TURNS OFF AT END OF N880 G04 P2.4

Before doing anything else I'd look into these issues. Something is not right.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Next

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 2 guests