Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: MechanoMan on July 29, 2015, 06:57:19 PM

Title: Machine goes wild with uncontrolled jog
Post by: MechanoMan on July 29, 2015, 06:57:19 PM
I noticed several times that Mach3 (with an Ethernet SmoothStepper) went crazy and kept jogging after hitting an arrow until the machine hit a limit. 

Upon testing, I realized this is coming from holding the shift for Rapid, then releasing the shift BEFORE releasing the arrow.  After releasing shift THEN arrow, the machine keeps doing a rapid without any input.

Was this an intended feature?  If so, how do I disable it?

If it's a bug, how do I fix it?  It's super-dangerous, IMHO.
Title: Re: Machine goes wild with uncontrolled jog
Post by: garyhlucas on July 29, 2015, 08:14:28 PM
This is a known repeatable bug in Mach 3 unrelated to the SmoothStepper.  I have a different motion controller and it does the same thing.  I understand it even happens with the parallel port for some people.  First time it did it I was trying to teach my 11 year old grandson how to pick up an edge.  It ran away breaking off the edge finder against the vise, and then ran until the X axis hit the limit switch, which on my machine actually disconnects power from the stepper drivers.  So it didn't crash against the ends stops and break anything.  However it scared hell out me and my grandson thought he did something wrong so he won't work on the machine with me anymore.  I built it to teach him about building things, so that is a real bummer.  Keep your hand on the big red button if you use the shift key!
Title: Re: Machine goes wild with uncontrolled jog
Post by: geh7552 on July 29, 2015, 08:40:30 PM
It's a known bug in Mach 3 and won't be fixed by ArtSoft... actually any problems/bugs/improvements with Mach 3 won't be addressed now that Mach 4 is released. ArtSoft is having enough problems trying to get Mach 4 to work right and expecting people to pay $200 for the privilege of using a half developed product. Hitting the E-stop will stop the locked on jog function.  
Title: Re: Machine goes wild with uncontrolled jog
Post by: DICKEYBIRD on July 30, 2015, 10:05:57 AM
WOW! :o  That's surprising.  Does it happen in Turn as well?  I use shift/arrow keys multiple times during every session on my lathe and have never had the problem.  Maybe I just naturally hold down the shift key and therefore don't see the problem.  Thanks for the heads up.  I'll need to do some testing now.
Title: Re: Machine goes wild with uncontrolled jog
Post by: Hood on July 30, 2015, 10:48:23 AM
It is either a problem with the pugin or the way the plugin handles things from Mach.

I am sure this problem was flagged up before, probably by Gary and I tried it out on the Chiron with the CSMIO/IP-A and got it. I contacted CS-Lab and they had it fixed within a day or two. If this is not the same problem that CS-Lab fixed then it is very similar. In any case I have just this minute tested on my Chiron and it worked as expected, no run away at all.
Hood
Title: Re: Machine goes wild with uncontrolled jog
Post by: Hood on July 30, 2015, 10:58:25 AM
I have also fired up the Beaver mill for the first time in a year or more and tested it. The Beaver uses the USB SmoothStepper and there is no problem as above. I tried, like I did on the Chiron, with both releasing the Shift key First and Last and neither run away. Releasing the shift first  and the axis continues to jog until the arrow is released, it then stops. Releasing the  arrow first stops the jogging right away.

Maybe a plugin or Mach version issue or maybe it is something I am not doing exactly right to see the issue.
Hood
Title: Re: Machine goes wild with uncontrolled jog
Post by: geh7552 on July 30, 2015, 11:36:56 AM
I've duplicated the problem when I was using the PP to Gecko 540 then again when I went to ESS SmoothStepper to 540. So it's not a plug in problem. I just learned not to use the shift and arrow keys to jog and chalk it up to another Mach 3 unfixable bug.... one of many.
Title: Re: Machine goes wild with uncontrolled jog
Post by: Hood on July 30, 2015, 11:44:07 AM
Then there must be more to it than simply releasing the Shift key before the arrow key. I have tried on 2 machines and it does not happen.
Tell me a repeatable way to get it to happen and I will test, until then I say it is plugin or the way the plugin interprets Mach.
Hood
Title: Re: Machine goes wild with uncontrolled jog
Post by: Overloaded on July 30, 2015, 12:31:50 PM
What version of M3 does this go nutty on ? May have been fixed in later releases. ? ? ? ?
I've never seen it on 3 machines here.

Russ
Title: Re: Machine goes wild with uncontrolled jog
Post by: Mogal on July 30, 2015, 01:02:09 PM
I have been running Mach3 for many years now, and NEVER heard of this.... (Cuz I've never had the problem)
I use shift arrows all the time.

But now that I know about it, I'm sure it'll happen next time I flash up the machine...
Curious as the the version as well...
Title: Re: Machine goes wild with uncontrolled jog
Post by: BR549 on July 30, 2015, 01:27:54 PM
Shift arrow jogging done here everyday the plasma machine runs. No problems here and I have  NEVER heard of it OTHER than with a plugin based controller/pendant.

(;-) TP
Title: Re: Machine goes wild with uncontrolled jog
Post by: slowtwitch on July 30, 2015, 01:53:03 PM
It happens when you leave it in step mode and hit shift and an arrow key.
Title: Re: Machine goes wild with uncontrolled jog
Post by: BR549 on July 30, 2015, 02:16:49 PM
OK I just tested it again . Same thing it follows all functions exactly. Set for Step JOg and each arrow down jogs the step. Prees shift and it runs in Cont just as it should any combination of press hold with Shift and arrow works fine. ????

Now that is Version v.062 running the LPT driver. NO plugins active.

NOW just a note, SOME pc's /keyboards have a weird repeat feature THAT CAN cause what you are seeing. Normally you can turn it off , sometimes you cannot.  SOme Remote keyboards(wireless) can do that IF the batteries run LOW.

(;-) TP
Title: Re: Machine goes wild with uncontrolled jog
Post by: Overloaded on July 30, 2015, 02:33:40 PM
It happens when you leave it in step mode and hit shift and an arrow key.

Version R3.043.022 - PP



Can't make it happen here. Works perfectly.
Title: Re: Machine goes wild with uncontrolled jog
Post by: slowtwitch on July 30, 2015, 02:36:47 PM
Yea, it must be a plugin thing. I'm using ESS on the mill. I've taught myself to be sure I'm out of step mode before making any fast moves :)
Title: Re: Machine goes wild with uncontrolled jog
Post by: MechanoMan on July 30, 2015, 02:37:31 PM
Shift arrow jogging done here everyday the plasma machine runs. No problems here and I have  NEVER heard of it OTHER than with a plugin based controller/pendant.

(;-) TP

I do have a pendant.  IIRC it's a problem on the other machine I have too, which does not have a pendant hooked up to it.
Title: Re: Machine goes wild with uncontrolled jog
Post by: Overloaded on July 30, 2015, 05:52:08 PM
What version of M3 does this go nutty on ? 

Russ


Might make no difference ... just curious .... if you don't mind.
Russ
Title: Re: Machine goes wild with uncontrolled jog
Post by: slowtwitch on July 30, 2015, 06:36:24 PM
On
What version of M3 does this go nutty on ? 

Russ


Might make no difference ... just curious .... if you don't mind.
Russ

On my mill, I have .062
Title: Re: Machine goes wild with uncontrolled jog
Post by: Sam on August 01, 2015, 07:56:19 AM
Runaway has been a problem for a LONG while now. I always use the keyboard for input, so it has bit me many times. It bothers me so much, I will not let anybody run the machine, unless it's just **open vise, change part, hit GO button. Rinse. Repeat.** I HATE this bug. http://www.machsupport.com/forum/index.php/topic,24665.10.html
Title: Re: Machine goes wild with uncontrolled jog
Post by: Hood on August 01, 2015, 01:58:35 PM
Ok looked at the old post Sam linked to and tried it out and indeed it does continue if you release the shift first but only if  in  Step mode.

Can someone with the PP also try that to see if it also happens with it or whether it is just external devices?
Title: Re: Machine goes wild with uncontrolled jog
Post by: BR549 on August 01, 2015, 03:23:59 PM
Just tried it here with LPT and it works fine no surprises. No combination of shift /  jog caused a runaway. I believe that is a SS bug. I thought that there had been a fix for that ???

(;-) TP
Title: Re: Machine goes wild with uncontrolled jog
Post by: Sam on August 01, 2015, 03:59:00 PM
It did not happen to me, when using PP.
Title: Re: Machine goes wild with uncontrolled jog
Post by: Hood on August 01, 2015, 04:22:08 PM
Thanks TP, so  it seems to be external controllers that are vulnerable to this.
It is not just the SS or ESS, my CSMIO/IP-A did it today and I see in the post Sam linked to that it also did it way back then.
So looks like it is not an easy fix and is likely Mach itself sending bad info to the  plugins.

Hood
Title: Re: Machine goes wild with uncontrolled jog
Post by: MechanoMan on March 31, 2016, 02:00:01 AM
Any update on this?  Any workaround?  It's basically a machine-killer. 

I've seen this on my two machines with ESS.