QtDragon_HD Manual tool change

More
13 Jan 2023 14:00 #261796 by Zavrl
Hello,
following the instructions from chapter 10.5.6 HAL Pins, I entered the suggested code in postgui.hal. I would like to be notified when the tool needs to be changed.

Now it happens that if the command Tn or M6 is written in the G-code, the program stops and does not continue. Nowhere on the screen does a dialog box appear, for confirming that the tool has been replaced. I think the problem is that the dialog box doesn't appear.

What and where needs to be set for it to work.

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

More
13 Jan 2023 19:56 #261824 by cmorley
Can you post your config files?

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

More
14 Jan 2023 16:57 #261952 by Zavrl
I am attaching the working CONFIG files and also the NC file. The tool limit command is commented out.
Attachments:

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

More
14 Jan 2023 18:13 #261963 by cmorley
try un commenting these lines:

# create signals for tool loading loopback
#net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
#net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed

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

More
15 Jan 2023 08:30 #262021 by Zavrl
I un commented it in the hal file.
Linuxcnc does not start, gives an error:
Pin 'iocontrol.0.tool-change' was already linked to signal 'tool-change-loop'

I can't find a duplicate of this part in my two HAL files.
There is a complete description of the error in the PDF attachment.
Attachments:

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

More
15 Jan 2023 08:50 #262022 by cmorley
Sorry just uncomment this one:

net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

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

More
15 Jan 2023 10:36 #262027 by Zavrl
Yes, now is working. I receive message window with information. It is smart solution, it checks the tool number which is active.and don't prompt if toll is the same.

You don't need to justify yourself, I'm very glad that the problem is solved.
I myself worked in IT for 22 years and I know this situation well.
Once again, thank you very much.
Greetings
Tibor Zavrl
The following user(s) said Thank You: cmorley

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

Moderators: cmorley
Time to create page: 0.076 seconds
Powered by Kunena Forum