Machine moves when you stop program in the middle

More
2 years 2 weeks ago #312538 by btvpimill
I am satisfied that it has something to do with this program. I have no idea what it could be. 100% it will exhibit the described behavior every time. But when I change to any other program it is fine. I even tried making a program over 256K just to see if it is some size issue.That ran fine.
I can say that it seems to depend on where I stop it as to how it moves. So if I hit stop just as it is lowering Z before it starts the spindle, it mostly goes Y+ and Z-. Close to the same amount every time. (approx 3 inches in X and 2 in Z)
If I stop it when it is ramping up the spindle, it moves mostly X+ and Y+ about 4 inches each. Z moves a very small amount in Z-.
For now I am making it into 2 programs that both run fine. Again makes no sense to me but the job needs to be done.

Have fun and good luck. If anyone does find something PLEASE let me and the rest of the community know.
LinuxCNC ver 2.7.14
Debian

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #312539 by btvpimill
Not sure the file attached, trying agaain

Please Log in or Create an account to join the conversation.

More
2 years 1 week ago #312783 by btvpimill
Ok, I have no idea what is going on here. The program attached above just bores a series of holes. I removed holes from the CAM and tested until it didn't drift after pressing stop. When it did I thought I found the issue, but then adding back another hole brought the issue back again. So then I thought it was a program size issue. So I made a program much bigger and it worked just fine. So then I split my original program into 2 and tested each. Both seemed fine.
Until just now. I had a part that was a little too deep, so I pressed stop and guess what? It plowed through my part before stopping. So that was a $2000 part before we machine it. Turned to trash because something is not right.

Does anybody have any thoughts?
I will point out again, this is both servos and stepper, so can't be an encoder issue. It does not loose its position - it knows where it is when it stops.
It mostly makes the same move every time if I stop in the same place in the program. But stopping in a different place will have a different move.

I am at my wits end here. I can't imagine this is a bug, but it really feels like it.Could it be a RAM issue somehow?

Please Log in or Create an account to join the conversation.

More
2 years 1 week ago #312796 by tommylight

I had a part that was a little too deep, so I pressed stop and guess what? It plowed through my part before stopping. So that was a $2000 part before we machine it. Turned to trash because something is not right.
To late, but, never ever do production work on a machine that is not tried and tested to function properly.
Can you please attach the hal and ini file you are using here?
In the meantime, check the ini file for "pause_position or tollchange_position" or something similar that would cause such an issue.
Also, does the machine move to the same spot when stopping the execution?
Take some screenshots of the position in DRO before stopping the program and after stopping it and upload those here on the forum.
A video of that happening might also help, use youtube and link here, if you can, or google drive.

Please Log in or Create an account to join the conversation.

More
2 years 1 week ago #312824 by cmorley
Do you have an abort.ngc file in the config?

Please Log in or Create an account to join the conversation.

More
2 years 1 week ago #312841 by btvpimill
I have been using the machine for 3 years now. I have even made these parts before. I will post the files in a few.
It does not do this all the time mind you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.394 seconds
Powered by Kunena Forum