How do I do a manual tool change?
17 Nov 2013 17:59 #40889
by ArcEye
Replied by ArcEye on topic Re:How do I do a manual tool change?
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
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.
17 Nov 2013 20:17 #40892
by LS
Replied by LS on topic Re:How do I do a manual tool change?
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
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.
17 Nov 2013 22:17 - 17 Nov 2013 23:10 #40893
by ArcEye
Replied by ArcEye on topic Re:How do I do a manual tool change?
Hi
I will be able to test your config later, but I suspect I have found the problem.
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
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.
17 Nov 2013 23:09 #40897
by ArcEye
Replied by ArcEye on topic Re:How do I do a manual tool change?
Please Log in or Create an account to join the conversation.
18 Nov 2013 00:14 #40900
by LS
Replied by LS on topic Re:How do I do a manual tool change?
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
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.
20 Jan 2014 22:40 #43029
by eslavko
Replied by eslavko on topic Re:How do I do a manual tool change?
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!.
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.
Time to create page: 0.201 seconds