Gmoccapy Tool Change Dialog

More
11 May 2025 05:26 #328188 by electrosteam
Gmoccapy Tool Change Dialog was created by electrosteam
Still on the learning path of Gmoccapy.

Now trying to get the Tool Table to work.
I do not have a tool changer in operation, just manual.

On my Axis GUI, "Tn M6" initiates a pop-up dialog box with a prompt to accept tool number "n", and Continue.
Gmoccapy does not, it just stalls without an error declared.

Dug into the Hal files for Axis and Gmoccapy.
Discovered a Section " ... Use external manual tool change dialog ..." in the Axis file but not in the Gmoccapy file.
Perhaps I entered an incorrect response in the PnCConf Wizard when I generated my Gmoccapy install.

But, my searching found old posts that suggested inclusion of this section in the gmoccapy_postgui.hal file.
My Axis postgui.hal file is empty.
My gmoccapy_postgui.hal contains similar entries, but with differences.

This is my gmoccapy_postgui.hal file:
 #  ---manual tool change signals to gmoccapy's dialog---

net tool-change-request    => gmoccapy.toolchange-change
net tool-change-confirmed  <= gmoccapy.toolchange-changed
net tool-number            => gmoccapy.toolchange-number


Is this correct ?
Is there anything else I should do to get the Tool Change Dialog working ?

John.

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

More
11 May 2025 09:10 #328192 by Wischi
Replied by Wischi on topic Gmoccapy Tool Change Dialog
Take a look at:

www.linuxcnc.org/docs/html//gui/gmoccapy...l#_tool_related_pins

It seems that you are missing the iocontrol connections. Putting these into the postgui file is correct.

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

More
11 May 2025 20:34 #328228 by electrosteam
Replied by electrosteam on topic Gmoccapy Tool Change Dialog
Thanks for that, I will review the documentation and try implementation later today.

John

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

Moderators: newbynobiHansU
Time to create page: 0.077 seconds
Powered by Kunena Forum