Dwell starts before ARC ON / ARC OK

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

Dwell starts before ARC ON / ARC OK

Postby mechcnc » Tue Jan 30, 2024 10:51 pm

I have an AXBB-E and use UCCNC version 1.2111, and I ran into an issue regarding dwelling before moving after recieving arc ok signal. The program below is an example code from a job, where it cuts the first profile fine and waits for arc ok before starting the dwell timer. The second profile however turns on M3, starts dwell timer without waiting for arc on, and moves to cut regardless of arc on status. This program turns on anti-dive M211 because I dont want the torch to plummet into the work while cutting small holes and such, but keeps THC on at all times because otherwise arc on doesn't work.

Code: Select all
N10 G90
N15 G71
N20 M205
N25 M211

(2D Profile1)
N30 G0 X46.66 Y123.337
N35 M31
N40 Z3.5
N45 M3
N50 G4 P400
N55 G1 Z3.5 F1650.
N60 G3 X43.16 Y129.399 I-1.75 J3.031
N65 G1 X40.009 Y127.58
N70 G3 X39.81 Y127.236 I-0.079 J-0.184
N75 G1 X39.81 Y119.958
N80 G3 X40.009 Y119.614 I0.12 J-0.16
N85 G1 X46.312 Y115.975
N90 G3 X46.709 Y115.975 I0.198 J0.024
N95 G1 X53.012 Y119.614
N100 G3 X53.21 Y119.958 I0.079 J0.184
N105 G1 X53.21 Y127.236
N110 G3 X53.012 Y127.58 I-0.119 J0.16
N115 G1 X46.709 Y131.219
N120 G3 X46.312 Y131.219 I-0.199 J-0.024
N125 G1 X43.16 Y129.399
N130 G1 X42.294 Y128.899
N135 G3 X41.794 Y128.549 I1.75 J-3.031
N140 M5
N145 G0 Z5.

N150 M212

(2D Profile2)
N155 G0 X29.161 Y136.295
N160 M31
N165 Z3.5
N170 M3
N175 G4 P400
N180 G1 Z3.5 F2750.
N185 G3 X34.808 Y135.3 I3.172 J1.479
.........


I have seen more people with the same issue. @xnaron had the same issue in this thread it seems https://www.forum.cncdrive.com/viewtopic.php?f=4&t=2717 but I dont think they found a solution.
Can it be related to spindle on/off delays? They are set to the default 1000ms, but it doesnt seem like it waits a second before M3/M5.

Br,
mechcnc
mechcnc
 
Posts: 5
Joined: Tue Jan 30, 2024 10:31 pm

Re: Dwell starts before ARC ON / ARC OK

Postby mechcnc » Wed Jan 31, 2024 10:14 am

I maybe should clarify that the desired result is:
1. M3 command is sent, UCCNC waits for arc OK
2. Arc OK is recieved, dwell timer starts (torch has started piercing)
3. Dwell timer set time has lapsed, torch moves to cut profile

Current undesired result is:
1. M3 command is sent, dwell timer starts
2. The dwell timer set time usually has lapsed, torch moves to cutting
3. Arc OK is recieved, torch has started piercing
mechcnc
 
Posts: 5
Joined: Tue Jan 30, 2024 10:31 pm

Re: Dwell starts before ARC ON / ARC OK

Postby cncdrive » Wed Jan 31, 2024 10:20 am

Dezsoe, please test this.
cncdrive
Site Admin
 
Posts: 4665
Joined: Tue Aug 12, 2014 11:17 pm

Re: Dwell starts before ARC ON / ARC OK

Postby mechcnc » Wed Jan 31, 2024 1:33 pm

I just found this video by Xnaron, where he describes his workaround with a macro. Ive linked it below as a reference, maybe it gives a clue to what the source of the problem could be.
https://www.youtube.com/watch?v=IlPplq0UAgw&ab_channel=Xnaron
mechcnc
 
Posts: 5
Joined: Tue Jan 30, 2024 10:31 pm

Re: Dwell starts before ARC ON / ARC OK

Postby dezsoe » Wed Jan 31, 2024 3:06 pm

Could you, please, upload your profile?
dezsoe
 
Posts: 2038
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Dwell starts before ARC ON / ARC OK

Postby mechcnc » Wed Jan 31, 2024 4:33 pm

Dezsoe,
I have attached my profile.
Br,
mechcnc
Attachments
Plasma.pro
(34.65 KiB) Downloaded 28 times
mechcnc
 
Posts: 5
Joined: Tue Jan 30, 2024 10:31 pm

Re: Dwell starts before ARC ON / ARC OK

Postby dezsoe » Wed Jan 31, 2024 4:39 pm

Thanks! I'll be back soon.
dezsoe
 
Posts: 2038
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Dwell starts before ARC ON / ARC OK

Postby dezsoe » Wed Jan 31, 2024 7:03 pm

OK, I could reproduce it. We'll be back later.
dezsoe
 
Posts: 2038
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Dwell starts before ARC ON / ARC OK

Postby mechcnc » Mon Feb 05, 2024 10:12 am

Has there been any discoveries about the source of the issue?
mechcnc
 
Posts: 5
Joined: Tue Jan 30, 2024 10:31 pm

Re: Dwell starts before ARC ON / ARC OK

Postby cncdrive » Mon Feb 05, 2024 1:27 pm

Not yet, sorry, we will work on checking the issue in details soon and will fix it asap.
cncdrive
Site Admin
 
Posts: 4665
Joined: Tue Aug 12, 2014 11:17 pm


Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 2 guests