Sometimes my tool unload code just…stops
03 Dec 2020 00:02 #190923
by JetForMe
Sometimes my tool unload code just…stops was created 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.
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.
Attachments:
Please Log in or Create an account to join the conversation.
05 Dec 2020 22:02 #191174
by chris@cnc
Replied by chris@cnc on topic Sometimes my tool unload code just…stops
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>
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.
06 Dec 2020 00:16 #191188
by JetForMe
Replied by JetForMe on topic Sometimes my tool unload code just…stops
Yeah, I print out the speed before that line. It prints:
Unload tool: Lowering F5000.0
Unload tool: Lowering F5000.0
Please Log in or Create an account to join the conversation.
06 Dec 2020 02:13 #191202
by cmorley
Replied by cmorley on topic Sometimes my tool unload code just…stops
Is this part of remap code?
Please Log in or Create an account to join the conversation.
06 Dec 2020 03:34 #191206
by JetForMe
Replied by JetForMe on topic Sometimes my tool unload code just…stops
Yes, in the sense that I remap M6 to invoke it.
github.com/JetForMe/router-table/blob/ma...auto_tool_change.ngc
github.com/JetForMe/router-table/blob/ma...c_subroutines/ut.ngc
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.208 seconds