Page 1 of 1

Continuous jogging won't stop on Reset.

PostPosted: Thu Jan 25, 2018 6:41 pm
by Haik
Problem: Continuous jogging won't stop on Reset.
Affected/tested UCCNC Version(s):
v1.2046 (.net2)
v1.2102 (.net4)

1.) The steps you've made to produce the issue.
Fast jogging by holding down any Arrow Key and then Clicking the Reset Button.

2.) The symptoms you got.
Jogging does not stop and remains moving at same (velocity) rate.
Releasing the Arrow Key does not stop motion.
Toggling the Reset Button 2 times stops motion.

3.) Post as many additional information as possible to let us clearly see the issue.
Calling Buttons Jog[axis]plusoff 229 thru 240 has no affect and will not stop jogging/motion.

I haven't found any good workarounds for this problem. The code below works, but is not a proper fix and I have not tested it using a hardware reset button.

Can you please help?

public void Buttonpress_event(int buttonnumber, bool onscreen)
{
if (onscreen)
{
if (buttonnumber == 144 && UC.IsMoving())
{
UC.Callbutton(512);
UC.Callbutton(513);
}
}
}


-Haik

Re: Continuous jogging won't stop on Reset.

PostPosted: Thu Jan 25, 2018 10:47 pm
by cncdrive
Hi,

I've just tested what you wrote in point 1. and I can't reproduce the issue.
I pressed different jog keys kept the keys down, pressed the Reset button and the jogging always stopped.
I have tested version 1.2102 and I've tested with UC100 and with UC300ETH-5LPT, I had these at hands now.
I could not reproduce the issue with any of the mentioned controllers.

Please tell me which motion controller you using and post your profile file to let me test using your settings.

Re: Continuous jogging won't stop on Reset.

PostPosted: Fri Jan 26, 2018 12:50 am
by Haik
I should have mentioned the problem was in Demo Mode. Apologies All!

I was dev'ing when I found this. So maybe this is a Demo Mode only thing/problem?/behavior.

Kind Regards,
-H

Re: Continuous jogging won't stop on Reset.

PostPosted: Fri Jan 26, 2018 7:21 am
by cncdrive
Oh, yes. I've just tested it in demo mode after you told that it happens in demo mode and I confirm that this is really a bug in the demo mode now.
So, this issue seems to only happen in demo mode, but not in licensed mode.
We will fix it soon.

Re: Continuous jogging won't stop on Reset.

PostPosted: Fri Jan 26, 2018 4:12 pm
by Haik
Thanks!
EOF :geek:

All my best!
-Haik