Rerunning a tool in qt_dragon_hd

More
1 year 1 month ago #335278 by Silverback
I am not sure if this is specific to qt_dragon or not.

However, when I try to rerun a tool because it broke or I need to adjust comps, the process makes me load and set tool length for each tool before it in the nc code.

I'm using versa probe and the Qt auto tool setter routine.

Is there any way to avoid changing each tool before rerunning the desired tool? Often times it's easier and quicker to just repost the single tool path as a separate program to avoid changing all the tools. I'd like to avoid that, if possible.

Please Log in to join the conversation.

More
1 year 1 month ago #335508 by andypugh
I think that this is a consequence of the system trying to get into the same state after a run-from-line request.
But it does rather assume a toolchanger and/or repeatable length tools.

Rather than re-post the toolpath, you should be able to to comment-out the preceding tool changes in the G-code file. (Just don't forget to un-comment them, or save the modified file under a new name)

Which LinuxCNC version are you running? I think that there have been various attempts to improve run-from-line over the years.

There is discussion, but no conclusion, here: github.com/LinuxCNC/linuxcnc/issues/246#issuecomment-423049528

Please Log in to join the conversation.

More
1 year 1 month ago #335523 by Silverback
Hmm. That's unfortunate.

They talk about getting the machine in the proper state to rerun the tool, I assume with all the proper G codes in operation (G17 etc.)

Most of the machines I ran back when I was a machinist by trade remembered those unless a M30 was called. Unless you started from a different tool, the same state was still in effect and the machine just started from the line called.

If you called a different tool, you might need to do some wizardry to get the machine back in the proper state.

Anyway. Looks like I am not the only one with this issue.

Thanks for the help.

Please Log in to join the conversation.

More
1 year 4 weeks ago #335680 by RBC
You are not the only one. I am using qtpyvcp and I am working on a workaround that will comment out the preceeding T lines and replace it with some special chars like (xx T1 M6) when RFH issued and save. And when a run command issued, it would remove and save. I am not sure how possible this is but I have some similar tricks in python before on qtpyvcp.

Please Log in to join the conversation.

More
11 months 1 week ago #338575 by gardenweazel
What about using the start/from this line? I believe if you do a right-click it allows you to select to start from the line you you right-clicked on. 

Please Log in to join the conversation.

Time to create page: 0.111 seconds
Powered by Kunena Forum