Machine moves when you stop program in the middle

More
2 years 1 week ago - 2 years 1 week ago #312996 by cakeslob
The on abort we are both using is rather benign, all it does it clear offsets/distance mode and dwell a little, I dont think the issue was completely solved until a little bit into 2.8

btvpimill try putting nothing in your abort, or even just a g4 dwell command, and see if it does the same thing

edit, tommy, there is actually a separate abort function specifically for probe abort for this easyprobe addon called probe_escape.ngc that does other stuff 
Last edit: 2 years 1 week ago by cakeslob.
The following user(s) said Thank You: tommylight

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

More
2 years 1 week ago #313043 by btvpimill
I do not see the issue with small programs. And TBH it sometimes does not happen unless I am a few moves into the program.. Once it does happen it will happen every time from any point - even as it makes its first move. Then if I change to a small program it seems to work fine. Change back to large program (been using the one posted here for testing) and the problem is back.

I will try to get the config zipped and posted here.

I will try and test 1 line at a time to see if I can narrow it down.

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

More
2 years 1 week ago - 2 years 1 week ago #313054 by Aciera
As has been pointed out, this issue regarding strange moves after stopping a program seems to have been reported on several occasions on older versions of linuxcnc:

I found the trigger. If I use ON_ABORT_COMMAND to call a subroutine:
ON_ABORT_COMMAND=O <on_abort> call
even an empty sub will make it fail. I got the file down to this and it still failed:

o<on_abort> sub
o<on_abort> endsub
m2

If I comment out ON_ABORT_COMMAND I can't get the fault to happen.

github.com/LinuxCNC/linuxcnc/issues/579

So removing the ON_ABORT_COMMAND from the ini file should fix this for you if you are on some earlier version.

[edit]


I will try to get the config zipped and posted here.


No need for that anymore as the bug has been identified to be in the source code of your version of linuxcnc
Last edit: 2 years 1 week ago by Aciera.

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

More
2 years 1 week ago #313063 by tommylight


edit, tommy, there is actually a separate abort function specifically for probe abort for this easyprobe addon called probe_escape.ngc that does other stuff 
I am glad! :)

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

More
2 years 1 week ago #313088 by btvpimill
Awesome thank you!! So If I want to use easy probe I need to upgrade my version of LinuxCNC?

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

More
2 years 1 week ago #313151 by cakeslob
you should give it a shot if you are able, unrelated to probe

but the on abort stuff doesnt look like it will effect probe stuff, as it is advised to use the probe abort button on the probe panel [x] button

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

Time to create page: 0.353 seconds
Powered by Kunena Forum