Hello Guest it is April 17, 2024, 08:08:27 PM

Author Topic: Hanging up on a M03 after installing version 2.2914 ??  (Read 6501 times)

0 Members and 1 Guest are viewing this topic.

Offline Pedio

*
  •  200 200
    • View Profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #10 on: May 09, 2016, 01:48:14 PM »
The problem occurs when I can see the toolpath on the screen. I did load the Gcode file before I zeroed out the axis so the toolpaths were off from where they should be.
I will play with this some more and see if I can replicate the problem.
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #11 on: May 09, 2016, 11:55:08 PM »
The program runs to this line, turns the spindle on and gets stuck there. It seems as if it is putting a 2000 sec delay on the M03 S2000 command. I dont understand why it would do this ??? I suppose if i wait 33 minutes it would start running the program! If anyone can solve this i will give you a big virtual high five !!!
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #12 on: May 10, 2016, 01:16:34 AM »
Look at the spindle config tab (Configure->Mach, then click on the "Spindle" tab).  What are your "MaxRPM", "Accel Time" and "Decel Time" values set to (on the top line, labeled "0")?  Do you have some Lua code and screen button that changes the spindle range?  Better yet, can you post your Machine.INI file (or even a "profile package").

FYI - If the "Accel Time" is non-zero, Mach4 calculates how long to delay after an M3 or S command by something like this:

   delay = ((NewSpeed - OldSpeed)/MaxRPM) * AccelTime (or DecelTime, as appropriate).

So, for example, if your MaxRPM = 10000 and Accel Time is 5 seconds, your "M3 S2000" command will delay ((2000 - 0) / 10000) * 5 = 1 second.

Bob

Offline Pedio

*
  •  200 200
    • View Profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #13 on: May 10, 2016, 12:42:47 PM »
This is what I have for my set up.
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #14 on: May 10, 2016, 01:14:50 PM »
OK - I am confused.  I had presumed that the previous post by Vandabrackin was him trying to help Pedio and he had somehow gotten config and GCode files from you (Pedio).  Is that the case?  Or are there (still) 2 threads of conversation in this topic - one from Vandabrackin and the other from Pedio?  Sorry - it's been a long week.

Because...  the post from Vandabrackin shows an "S2000" command, while Pedio's spindle config shows a max RPM of 100.  While it won't (well, *shouldn't*) cause any harm to issue an "S2000" with max RPM at 100 (Mach4 will limit the RPM to the max value), there should never be a speed request of 2000 if your max in 100.

So before I try to offer any (hopefully) helpful suggestions, is this 2 problems from 2 people?  Or is the latter part of this thread solely about Pedio's problem?

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #15 on: May 10, 2016, 01:42:40 PM »
I was gettin confused as well, but vandabrakins log shows that its waiting for 2000 seconds this can cause windows to think that mach4 is not responding.

perhaps the wait for spindle is set to 2000 instead of max rpm but without the machine ini its hard to say, most problems can be sorted with this one file so others dont have to guess??

DazTheGas
New For 2022 - Instagram: dazthegas
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #16 on: May 10, 2016, 02:33:59 PM »
This appears to be two people who have similar problems, Vandabrackin started this thread and provided screenshots.  It would appear that is is waiting on the spindle for 2000 seconds, unclear what he has in his configuration, however it might be just coincidence that the speed requested was 2000 RPM and it is waiting 2000 seconds.  Pedio seems to have a problem is this area as well but his seems be be slightly different.  They should have been in separate threads so people don't get confused, at least that is my take.

 

Offline Pedio

*
  •  200 200
    • View Profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #17 on: May 10, 2016, 03:51:12 PM »
Two problems and two people. I chimed in because I am having the same problem - Pedio.

I have my M4 logging to see if I can catch the same thing as Vandabrackin. So far it has been behaving and has not locked up.

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #18 on: May 10, 2016, 05:08:02 PM »
Pedio you should have started your own thread, it makes it easier to help, and always post your ini or profile
Re: Hanging up on a M03 after installing version 2.2914 ??
« Reply #19 on: May 15, 2016, 02:01:25 PM »
Thanks bob, a virtual high five to you for your insight. There was some insanely large number populating the accel time box. I'm not sure how it got there, maybe i feel asleep on the keyboard. I really am curious as to how it got there because i did not change any settings after updating to version 2.2914. Either way it is fixed and up and running. Thanks to all who contributed!