How do I do a manual tool change?

More
17 Nov 2013 17:59 #40889 by ArcEye
You will have to attach your config, zip the whole folder so it can be run.

The component I attached worked fine when I tested it.

Also start linuxcnc from a terminal and post the output, the error you cite is generic, hopefully the other output will give the full story

regards

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

More
17 Nov 2013 20:17 #40892 by LS
Hi ArcEye,

Please see the attached zip. I also started LinuxCNC from the terminal for you to see the error.
I had to press CTRL-C (^C), otherwise it will wait continously. I have tried waiting, but it never gets past waiting for the script to start.

Cheers,
Luke
linuxcnc@linuxcnc-desktop:~$ linuxcnc /home/linuxcnc/linuxcnc/configs/LS/LS.ini
LINUXCNC - 2.5.3
Machine configuration directory is '/home/linuxcnc/linuxcnc/configs/LS'
Machine configuration file is 'LS.ini'
Starting LinuxCNC...
Waiting for component 'hal_manualtoolchange_jog' to become ready.............................................................................................................................................................................................................................................................................................................................................................^C.
LS.hal:88: hal_manualtoolchange_jog exited without becoming ready
Shutting down and cleaning up LinuxCNC...
Cleanup done
Attachments:

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

More
17 Nov 2013 22:17 - 17 Nov 2013 23:10 #40893 by ArcEye
Hi

I will be able to test your config later, but I suspect I have found the problem.

# loadusr -W hal_manualtoolchange
loadusr -W hal_manualtoolchange_jog

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


You have renamed the component file to hal_manualtoolchange_jog

Unless you have edited the component code to rename the component to the same name,
it will launch the component which is still called hal_manualtoolchange and wait for ever for a component called hal_manualtoolchange_jog to become ready, which it never will.

Then it would error anyway because iocontrol is still linked to hal_manualtoolchange

Revert to the original name and it should work

regards
Last edit: 17 Nov 2013 23:10 by ArcEye.

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

More
17 Nov 2013 23:09 #40897 by ArcEye
Yep, that is exactly what is wrong with it

Changed it back to original name and





regards
Attachments:

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

More
18 Nov 2013 00:14 #40900 by LS
Great thank you! I just tested it, and it's working for me too.

I'd spent plenty of time looking at the code, but never would have thought about the filename.

This will make life easier to be able to jog during manual tool changes.

Cheers,
Luke

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

More
20 Jan 2014 22:40 #43029 by eslavko
Hello...

Till now I use the old branded machine. (EMC2 - it's works so I didn't change)
But now I make another one for a friend. And component doesn't work as should.

When M6 is executed the popup window is shown. And I happily change tool and make Z touchoff.
When I press continue tha machine start immediatly with spindle OFF!

So how to add spindle on and to wait spindle-at-speed signal (my spindle make slow ramping to reach speed)
Of course I can start spindle manualy after changing and wait enought to startup before click continue..
...but preffer automatic!.

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

More
20 Jan 2014 23:47 #43030 by ArcEye
Hi

I just do it in G Code if I want the spindle stopped and re-started

...
M5
G28
M6T2
M3
G4 P10
...

There are so many different types of toolchanger, with a lot not wanting the spindle stopped (almost all lathes), coding it is probably easiest

regards

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

More
20 Jan 2014 23:54 #43031 by eslavko

...
M5
G28
M6T2
M3
G4 P10


Maybe this is good option as in most cases when tool is changed the spindle speed is changed too.

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

More
25 Oct 2016 22:18 #82065 by robksawyer
I know this is a pretty old post, but I'm having the same issues as you were Gold Boarder. Can you share your latest config files? I'm also curious to see how you setup the Auto, Manual and MDI HAL GUI. Thanks.

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

More
25 Oct 2016 22:29 #82067 by andypugh
(User names are above the avatar, "Gold Boarder" is just a sign that he has posted a few hundred messages.)

Can you describe exactly what problems you are having?

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

Time to create page: 0.116 seconds
Powered by Kunena Forum