How do I do a manual tool change?
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.
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
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
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.
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.
...
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.
- robksawyer
- Offline
- New Member
- Posts: 5
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Can you describe exactly what problems you are having?
Please Log in or Create an account to join the conversation.