Delay between THCarcon_emulation and start of the motion

If you think you've found a bug post it here.

Re: Delay between THCarcon_emulation and start of the motion

Postby cncdrive » Fri Nov 25, 2016 8:14 pm

shad wrote:This is the short video.
https://www.dropbox.com/s/6ym4uw1vkqfbwpl/TestPauseBeforeMotion_edit.wmv?dl=0
In this cutting pierce delay set to 0.3 second, but the delay occurs after the pierce. It is clearly seen that the controller has already passed in the cutting mode, but the motion has not yet begun.
First cut is correct because in my opinion there is a delay between M3 and THCarconsignalon_emulation (time for initial Height sensing procedure).
On the next cuts was Skip IHS function and torch moved on the cut height immediately after M3.


I've checked the video, but the g-code view is too small and video quality is too low, so I can't see what's in the g-code lines. :(
Could you please post a small part of this code? It would be enough to post a few lines only where the pause happens and also please let me know the number of line where the pause happens.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Fri Nov 25, 2016 8:32 pm

Thank you Balazs!
This is the video from my customer. Tomorrow I will try to send code to you.
it is not clear for me why this problem issue very rarely on my PC and constantly on the my customer PC.
I understand that this problem is very difficult to identify and solve.
I will continue testing tomorrow.
One question - buttons 536/537 are momentary or triggered? I mean if I am push on the 536 button and hold - ArcOK emulated and if I am release button - ArckOK stop emulated? If yes, what is the best way to call this buttons for start/stop emulating - repeatedly or one time when need to make emulation?
Thank you!
Also can you check - Cyrillic font (Russian) does not display correctly in the G-code editor and in the GCode box.
The name of the program was "Крепление двигателя 6 мм" :)

Code: Select all
N0010 (Filename: ��������� ��������� 6 ��.tap)
N0020 (Post processor: Mach3 plasma no Z.scpost)
N0030 (Date: 25/09/2016)
N0040 G21 (Units: Metric)
N0050 G53 G90 G91.1 G40
N0060 F1
N0070 S500
N0080 (Part: ��������� ��������� 6 ��)
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Sat Nov 26, 2016 7:50 am

Hello Balazs!
I am make the video on my CNC PC. For the purity of the experiment, I remove the Neuron plugin from plugin folder. https://www.dropbox.com/s/q6qvzfem57zd0q2/Test.wmv?dl=0
On the screen there is a rect BLUE LED "ArcOnEmuLED" number 237 "THCarcon_emulation". This LED lit when I am push on the 536 "THCarconsignalon_emulation" hotkey button and turn off if I am release this button.

I am load program and start with THCON. You can see pauses between LED ON and start of the moves. On the hole I am any times release and then push on the 536 button. Motion was stopped and then continued without pauses.
But pauses always present on the start of the every cut (M3 command). Also if I click on the 536 button in 2-3 seconds after then M3 issue - no pauses.
Interesting fact:
This video was captured with program CamStudio. If I try to use to capture another program (FastStone), rendering of the ToolPathView slow down during program execution, but the pauses disappear. They appear again after then I am turn off capture and restart the UCCNC. :shock:

This is the program:
Code: Select all
N0010 (Filename: пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 6 пїЅпїЅ.tap)
N0020 (Post processor: Mach3 plasma no Z.scpost)
N0030 (Date: 25/09/2016)
N0040 G21 (Units: Metric)
N0050 G53 G90 G91.1 G40
N0060 F1
N0070 S500
N0080 (Part: пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 6 пїЅпїЅ)
N0090 (Operation: Outside Offset, 0_VIEW0, T11: Plasma, 1,5 mm kerf)
N0100 G00 X12.8000 Y10.7000
N0110 M03
N0120 G03 X16.0000 Y7.5000 I3.2000 J0.0000 F1400.0
N0130 X16.0000 Y12.5000 I0.0000 J2.5000
N0140 G01 X10.0000
N0150 G03 X10.0000 Y7.5000 I0.0000 J-2.5000
N0160 G01 X16.0000
N0170 M05
N0180 G00 X12.8000 Y45.7000
N0190 M03
N0200 G03 X16.0000 Y42.5000 I3.2000 J0.0000
N0210 X16.0000 Y47.5000 I0.0000 J2.5000
N0220 G01 X10.0000
N0230 G03 X10.0000 Y42.5000 I0.0000 J-2.5000
N0240 G01 X16.0000
N0250 M05
N0260 G00 X53.8000 Y21.1500
N0270 M03
N0280 G03 X57.0000 Y17.9500 I3.2000 J0.0000
N0290 X57.0000 Y17.9500 I0.0000 J12.0500
N0300 M05
N0310 G00 X-3.9500 Y6.8000
N0320 M03
N0330 G03 X-0.7500 Y10.0000 I0.0000 J3.2000
N0340 G01 Y47.0000
N0350 G02 X10.0000 Y57.7500 I10.7500 J0.0000
N0360 G01 X57.0000
N0370 G02 X84.7500 Y30.0000 I0.0000 J-27.7500
N0380 G01 Y10.0000
N0390 G02 X74.0000 Y-0.7500 I-10.7500 J0.0000
N0400 G01 X10.0000
N0410 G02 X-0.7500 Y10.0000 I0.0000 J10.7500
N0420 M05
N0430 M05 M30
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby cncdrive » Sat Nov 26, 2016 12:19 pm

Andrew,

Thanks for the infos.
I've tried to reproduce the issue on my system, but it seems I can't, I mean there is no pause on my system with your code.

Can you try one more thing please is to configure the THC arcon emulation signal (code 536) to a hotkey and press that hotkey button down and keep it pressed and run your g-code,
so the THC arcon simulation signal will be always on, because you will keep that button pressed.
And check if the M3's still causing a pause this way?
What I would like to see from this is if the M3 causes this pause, because if it will still pause with the THC arcon simulation signal is always on then the M3 itself is causing the pause and not the THC arcok simulation signal.

And I've asked this one already, but could you please verify that the spindle on M3 time is set to Zero?
I've attached a printscreen and marked that setting, because that setting is by default 1000msec and with that the M3 waits for 1second before reacting to the THC arcon emulation signal,
so please make sure to set this to 0.
Attachments
spindleM3time.png
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Sat Nov 26, 2016 1:16 pm

No changes. I am constantly pushed on the 536 button. Look on this video. Delay value ~ 3 seconds
https://www.dropbox.com/s/qxr6gmk54kpc6mj/Test2.avi?dl=0
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby cncdrive » Sat Nov 26, 2016 2:04 pm

One thing I do not see yet and forgot to ask about, sorry is could you place a SpindleCW LED (LED number:50) on the screen next to the THC emulation signal LED.
And also place a LED with LED number:21 which is the dwell to see and make sure the issue is not that a dwell is going on.
I would like to see if the spindle goes on slowly or if the controller waits after the spindle already went on.
Could you please make this and shot a video?
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Sat Nov 26, 2016 3:14 pm

I am added LED 50 and 21. Now from TOP to Down - ArcONEmulation Led - SpindleCW LED - LED number:21 which is the dwell
https://www.dropbox.com/s/nt5dqzrcfsvb09c/Test3.avi?dl=0
CpindleCW Led turned on on the M3.
No dwell time - led 21 always turned off
As I said, this problem occurs intermittently on my CNC PC, but always on the my customer CNC PC.
I am just start FastStone Capture program for prepare capture and after that all works fine. I am not understand why????
Look: https://www.dropbox.com/s/w1ws3ps79xedlst/%D0%92%D0%B8%D0%B4%D0%B5%D0%BE_2016-11-26_181927.wmv?dl=0
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Sat Nov 26, 2016 7:19 pm

Balazs, this is the video how I can solve this issue. This is a Magic. :)
When I am start capture via FastStone problem gone. (It just was found out by accident when I wanted to record video of the problem)
https://www.dropbox.com/s/9p9v79h93yddo4u/Test5.avi?dl=0

Also Pauses issued when THC future disabled.
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby cncdrive » Sat Nov 26, 2016 8:56 pm

Andrew,

Wow, that is strange.
I've talked to my API developer collegue and we agreed that this looks like somekind of timing issue.
I mean what could the capture software change for the UCCNC is basicly nothing, but the capture software probably loads the CPU,
so what could happen is that something happens slower than without the capture software running.

My collegue asked if you could add also the idle LED (LED code 18.) and the Buffer field (number 884.) on the front screen?
He said it would be useful information for him to know what is exactly happening, if the controller went back to idle and if the motion buffer is empty or not when the system is pausing.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Delay between THCarcon_emulation and start of the motion

Postby shad » Sun Nov 27, 2016 8:24 pm

Hello Balazs!
The video ready https://www.dropbox.com/s/41ed89b1pab392w/Test6.avi?dl=0
Bottom LED is IDLE (code 18) and on the right Buffer field.
As always when I am start capture program issue gone, when I am close capture program the issue is back.
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

PreviousNext

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 12 guests