G-Code Newbie Question

More
10 Jul 2020 16:30 #174234 by Project_Hopeless
I have a file created in Fusion 360. I believe my program is stopping on the T1 M6 command, manual tool change? But I'm not getting a message dialog to indicate tool change.
(SPOILBOARD)
(1ST ATTEMP AT SPOIL BOARD)
(T1  D=6.35 CR=0. - ZMIN=-19. - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G21
N20 G53 G0 Z0.  <<<<<<<<<<executes this line then stops
(BORE1)
N25 T1 M6

I did not consciously setup for manual tool change. Is there some HAL or INI configuration you have to edit to have manual tool change?

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

More
10 Jul 2020 17:42 #174239 by cmorley
Replied by cmorley on topic Manual Tool Change
yes you must configure a manual tool change prompt.
usually by loading and connecting to the hal_manualtoolchange component.

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

More
10 Jul 2020 18:23 #174240 by Todd Zuercher
Not knowing more about your machine configuration, my guess is that it is actually pausing for the line "N25 T1 M6" which is commanding a tool change to tool #1. If you don't have a tool changer and your config isn't properly configured for not having one, or if you do have a tool changer and your configuration is somehow wrong regarding it, that is what happens. Without seeing your config files or knowing more about your machine, we are only guessing.

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

More
10 Jul 2020 18:31 #174242 by tommylight
Replied by tommylight on topic G-Code Newbie Question
@Project_Hopeless
No double posting
The other topic with the same content was deleted, Todd's answer moved to this topic.

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

More
10 Jul 2020 21:09 #174274 by MaHa
Replied by MaHa on topic G-Code Newbie Question
For manualtoolchange sometimes this solves in hal.

loadusr -W hal_manualtoolchange
net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
The following user(s) said Thank You: Project_Hopeless

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

More
11 Jul 2020 00:43 #174282 by Project_Hopeless

For manualtoolchange sometimes this solves in hal.

loadusr -W hal_manualtoolchange
net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

Thank-you I will give it a try.

Does it matter where in the HAL file these code lines are placed? This is copied to the main HAL file or postGUI.hal, or other?

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

More
11 Jul 2020 10:59 #174293 by tommylight
Replied by tommylight on topic G-Code Newbie Question
Always at the bottom of the main hal file.
The following user(s) said Thank You: Project_Hopeless

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

More
11 Jul 2020 18:31 #174317 by Project_Hopeless
Thank-you all! That worked like a charm.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum