Continuous jogging won't stop on Reset.
Posted: Thu Jan 25, 2018 6:41 pm
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
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