Gmoccapy Tool Change Dialog

More
1 year 5 months ago #328188 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
1 year 5 months ago #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
1 year 5 months ago #328228 by electrosteam
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.

More
1 year 5 months ago #328262 by electrosteam
Well, I have been trying for a couple of hours to get this to work.

Not sure just what should be in gm.hal versus gmoccapy_postgui.hal.

Can someone please post a working solution for both hal files ?

John.

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

More
1 year 5 months ago #328269 by Wischi
Replied by Wischi on topic Gmoccapy Tool Change Dialog
Please post your gm.hal and gmoccapy_postgui.hal so we can have a look. The gmoocapy_postgui.hal should include the lines from the documentation.

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

More
1 year 5 months ago #328312 by electrosteam
Files attached.

 

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

Moderators: newbynobi, HansU
Time to create page: 0.295 seconds
Powered by Kunena Forum