G-Code Newbie Question
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
10 Jul 2020 16:30 #174234
by Project_Hopeless
Manual Tool Change was created 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.
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?
(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.
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.
usually by loading and connecting to the hal_manualtoolchange component.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Jul 2020 18:23 #174240
by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Newbie Question
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
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.
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.
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.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
11 Jul 2020 00:43 #174282
by Project_Hopeless
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?
Replied by Project_Hopeless on topic G-Code Newbie Question
Thank-you I will give it a try.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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
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.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
11 Jul 2020 18:31 #174317
by Project_Hopeless
Replied by Project_Hopeless on topic G-Code Newbie Question
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