How do I do a manual tool change?
John
Please Log in or Create an account to join the conversation.
It does not matter, it is the learning process that matters.To the real machinists who counselled against this: This is a learning excersize, and I will probably end up not using it in real life.
I could not be happy until I had managed to get my lathe ATC working completely automatically as was intended.
I learnt a huge amount in getting to that state.
It matters not that I now seldom use it for other than tool choice before starting a program run.
I still have the knowledge I acquired along the way.
regards
Please Log in or Create an account to join the conversation.
Rick G
Please Log in or Create an account to join the conversation.
Hi
"You may also want to look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?ManualToolChangeMacro"
As per a recent discussion on the users list, this script is now out of date and will not work 'as is' due to changes with the NML file requirement.
Attached is a modified version I made which does work with v2.4 and higher, albeit it is still a little quirky and you need to play with it to get used to it.
(just remove the .txt extension )
regards
Hello,
I've been unable to get this to work on 2.5.3
It hangs while starting LinuxCNC.
The error log shows:
"Waiting for component 'hal_manualtoolchange' to become ready...................................."
"LS.hal:90 hal_manualtoolchange exited without becoming ready"
Any help would be appreciated.
Luke
Please Log in or Create an account to join the conversation.
It is quite simple, this thread is 1 1/2 years old and emc has been rebranded to linuxcnc since then.
If you ran linuxcnc from a terminal, the errors would immediately show that it could not find the python library emc, because it is now called linuxcnc
This version runs under the master so should work with 2.5.X as well
regards
Please Log in or Create an account to join the conversation.
Hi
It is quite simple, this thread is 1 1/2 years old and emc has been rebranded to linuxcnc since then.
If you ran linuxcnc from a terminal, the errors would immediately show that it could not find the python library emc, because it is now called linuxcnc
This version runs under the master so should work with 2.5.X as well
regards
Hi ArcEye,
Yes I was already using the file that supposedly had been updated for 2.5
I tried your file, and have the same result. "Waiting for component 'hal_manualtoolchange' to become ready"
Cheers,
Luke
Please Log in or Create an account to join the conversation.
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.