Disable manual tool change dialog
- MichalHK
- Offline
- Senior Member
-
- Posts: 59
- Thank you received: 2
Attachments:
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
- Posts: 685
- Thank you received: 207
Please Log in or Create an account to join the conversation.
- MichalHK
- Offline
- Senior Member
-
- Posts: 59
- Thank you received: 2
Problem is that I dont using this pin in hal. So I think all pins is disconncted.
Another problem is I dont see gmoccapy.toolchange-confirm pin.
Misterious are that I click to gmoccapy.toolchange-change pin in halshow. I see toolchange-change and toolchange-changed pin.
Attachments:
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
- Posts: 685
- Thank you received: 207
Sure? Also not in the postgui-halfile? They are connected there by default.Yes that was first that I check.
Problem is that I dont using this pin in hal. So I think all pins is disconncted.
If those pins are not connected, Gmoccapy won't pop up that dialog.
That's probably because I linked to the 2.9 documentation, sorry. 2.8 does not have that pin.Another problem is I dont see gmoccapy.toolchange-confirm pin.
But that pin is not relevant here.
Only a little uncertainty in halshow. It just does "halcmd show pin gmoccapy.toolchange-change" which lists you both pins.Misterious are that I click to gmoccapy.toolchange-change pin in halshow. I see toolchange-change and toolchange-changed pin.
Please Log in or Create an account to join the conversation.
- MichalHK
- Offline
- Senior Member
-
- Posts: 59
- Thank you received: 2
Then edit /usr/bin/gmoccapy line 4422.
There is definition def on_tool_change i simple rewrite it that only set self.halcomp["toolchange-changed"] = true
No show some dialog window atc... simple set variable to true.
Restart Lcnc and nothing happend. Dialog is still there. So I have no idea which code call it.
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
- Posts: 685
- Thank you received: 207
This config should not show any tool change dialog because the corresponding lines are commented out: github.com/LinuxCNC/linuxcnc/blob/2.8/co...gmoccapy_postgui.hal
Please Log in or Create an account to join the conversation.
- Jeff_in_Wa
- Offline
- Senior Member
-
- Posts: 68
- Thank you received: 5
When I want to disable tool changes, I disable the M6 in the post
You can also remove that line in your gcode in the post editor
Please Log in or Create an account to join the conversation.
- newbynobi
-
- Offline
- Moderator
-
- Posts: 2081
- Thank you received: 413
I would try to connect gmoccapy.tool-change with gmoccapy.tool-changed without connected them ti iocontrol.
Norbert
Please Log in or Create an account to join the conversation.
- MichalHK
- Offline
- Senior Member
-
- Posts: 59
- Thank you received: 2
Thanks so much all.
Please Log in or Create an account to join the conversation.