Manual tool chang in probe basic

More
03 Jun 2021 04:14 #211053 by mhd325ic
I am new to probe basic, please forgive me if I am asking naive questions. My milling machine, which doesn't have a ATC, is controlled by linuxcnc with a probe basic gui. Everything works well, but it won't prompt to change tool. It seems the default behaviour of probe basic is ATC.

How can I configure the probe basic to prompt a manual tool change?
The following user(s) said Thank You: Lcvette

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

More
03 Jun 2021 08:25 #211078 by harindugamlath
Usually probe basic gives the pop up dialog to confirm the tool change. for some reason your ini and hal might have something different. I remember having few lines on tool change. need to have a look on the machine.

I can attach my files if you need. its from my working mill. same as yours without atc.
The following user(s) said Thank You: Lcvette

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

More
03 Jun 2021 11:26 - 03 Jun 2021 12:15 #211087 by mhd325ic
Thanks for offering your configuration. I have been googling an working example setup for linuxcnc and got confused results: some example says a m6 remap will do the trick and the others add iocontrol and hal. It would be a great help to see an example setup in probe_basic.
Last edit: 03 Jun 2021 12:15 by mhd325ic.
The following user(s) said Thank You: Lcvette

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

More
04 Jun 2021 23:06 - 04 Jun 2021 23:08 #211180 by BigJohnT
Manual tool change is an hal entry in your main hal file.
# manual tool change
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
]

If you have conflicts in pb you would have to resolve them.

JT
Last edit: 04 Jun 2021 23:08 by BigJohnT.
The following user(s) said Thank You: Lcvette, mhd325ic

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

More
05 Jun 2021 09:03 #211203 by harindugamlath
BigJohnT has replied you with the proper hal.

here is my hal file if you need to have a look
Attachments:
The following user(s) said Thank You: Lcvette, mhd325ic

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

More
07 Jun 2021 15:42 #211425 by mhd325ic
Thank BigJohnT and Harindugamlath! It works if I comment the line of "net tool-prepare-loopback iocontrol.0.tool-prepare => hal_manualtoolchange.tool-prepared". It seems it defined somewhere in probe_basic.

The tool length compensation seems works with presetted value in tooltable. Finally I am ready to make the first CNC milling run!

Appreciated helps from everybody!
The following user(s) said Thank You: harindugamlath

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

More
24 Oct 2023 16:03 - 24 Oct 2023 16:07 #283715 by udoS
Hi to all,
I'm using Probe-Basic;
@BigJohnT 
How do I set my ToolChange Position ?
If I make a ToolChange like M6 T2 then my Z-axis allways first go to Z0, then ask to make the toolchange !
Best Regards
Last edit: 24 Oct 2023 16:07 by udoS.

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

More
24 Oct 2023 17:29 #283732 by Lcvette
are you using the tool setter function or just want to set a tool change position?

the tool setter position is on the offsets page I just made a video showing how to set that, for standard M6 tool change position coordinates, that is set in the ini per the documents for linuxcnc.

linuxcnc.org/docs/2.9/html/config/ini-co...ml#sub:ini:sec:emcio

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

Moderators: KCJLcvette
Time to create page: 0.270 seconds
Powered by Kunena Forum