Hello Guest it is April 26, 2024, 12:00:33 PM

Author Topic: Programs stop at M3 and will not continue  (Read 987 times)

0 Members and 1 Guest are viewing this topic.

Programs stop at M3 and will not continue
« on: November 21, 2022, 09:20:57 AM »
I finally got my m6 macro working and have put together a short program to test my tool heights and offsets.
When I first ran the program, I had to stop a few times to make adjustments to heights and other things.
The program runs through 5 tool changes, and moves around a foam block. Just to check that the offsets are staying the same and consistant through different tools and heights.
The first couple times I ran it, it was a slow process of getting through the first couple changes trying to adjust the offset for my tool heights.
I got to where I was making it through three or four changes successfuly.
All of the sudden, out of nowhere, upon exiting the third tool change the program stops on the m3.
I have tried everything I could think of. re-writing and re-ordering the gcodes and layout with no success.
I can place different lines in front of the m3, such as spindle speed or ytoo offset. The RPM's and offsets may work but it will stop on the m3, even if it's in the same line.
All the gcode is a copy and paste, one after the other, with only changing the tool numbers. Minus the beginning and end.
I just cannot understand why it would be working just fine  and then just stop working.
There is no errors or comunication in the history or error bar. It just stops and will not continue.

Has anyone dealt with or seen this before? Maybe have some ideas for me to try?

I would greatly appreciate some feedback.
I will attach the program as well.

Thanks in advance

Offline Stuart

*
  •  311 311
    • View Profile
Re: Programs stop at M3 and will not continue
« Reply #1 on: November 21, 2022, 11:31:57 AM »
you posted the M6 errata in the Mach4 section are you talking about mach3 now ?

if you are posting about Mach4 it should be in the Mach4 section
Re: Programs stop at M3 and will not continue
« Reply #2 on: November 21, 2022, 12:16:23 PM »
My mistake.  >:D
yes, this was supposed to be in the Mach4 section.

How might I move this?
or do I need to delete it and start a new post?

Offline Stuart

*
  •  311 311
    • View Profile
Re: Programs stop at M3 and will not continue
« Reply #3 on: November 21, 2022, 12:32:24 PM »
a mod will come along and move it shortly
Re: Programs stop at M3 and will not continue
« Reply #4 on: November 22, 2022, 06:47:44 AM »
Update:
I read somewhere, yesterday, that someone experienced something similar to this situation.
This person mentioned they got results from unchecking the "Wait For Spindle to Stabalize" check box in the control/spindle tab.
So, I went home and tried it last night.
Low & behold, it worked!
I ran through my program, (4 tool changes & other moves), about 6 times. No issues what so ever.
I am super shocked that something so simple would cause such a head ache.

I hope that this little tid bit will help someone else out in the future too.

Happy tooling!