Sometimes my tool unload code just…stops

More
03 Dec 2020 00:02 #190923 by JetForMe
Not sure if this is the right category for this question, but I'm having an issue with my tool unload routine (attached). In response to T0M6, it positions the spindle in front of the tool fork, and is supposed to move downward to the fork level with G1, but it just…doesn't move. I have to click the STOP button in Axis, and then issue the T0M6 again, and then it continues without issue.

Any idea why it's stopping? I put a bunch of print statements in the code, and it prints `Unload tool: Lowering F1000`, but doesn't do anything more. Axis seems to think it's still running a program though, since I have to click the stop button.

File Attachment:

File Name: ut_2020-12-02.ngc
File Size:3 KB
Attachments:

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

More
05 Dec 2020 22:02 #191174 by chris@cnc
My experience with variable programming is that sometimes the variables have logically different values than you think. At first glance, I would trigger the feed variable.
Maybe start with this sentence ..
G53 G1 F #<_ini[atc]speed_approach> Z #<_ini[atc]z_pocket>

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

More
06 Dec 2020 00:16 #191188 by JetForMe
Yeah, I print out the speed before that line. It prints:

Unload tool: Lowering F5000.0

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

More
06 Dec 2020 02:13 #191202 by cmorley
Is this part of remap code?

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

More
06 Dec 2020 03:34 #191206 by JetForMe
Yes, in the sense that I remap M6 to invoke it.
REMAP= M6 modalgroup=6 prolog=change_prolog ngc=auto_tool_change epilog=change_epilog

github.com/JetForMe/router-table/blob/ma...auto_tool_change.ngc
github.com/JetForMe/router-table/blob/ma...c_subroutines/ut.ngc

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

Time to create page: 0.100 seconds
Powered by Kunena Forum