- Posts: 863
- Thank you received: 0
How do I do a manual tool change?
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 to join the conversation.
Changed it back to original name and
Attachment not found
regards
Please Log in 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 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 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 to join the conversation.
ArcEye wrote: ...
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 to join the conversation.
- robksawyer
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
Please Log in to join the conversation.
Can you describe exactly what problems you are having?
Please Log in to join the conversation.
- robksawyer
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
"When M6 is executed the popup window is shown. And I happily change tool and make Z touchoff."
Machine: Sherline 5400 Mill
Please Log in to join the conversation.
It's been mentioned above - you need to change hal_manualtoolchange file (located at /usr/bin)
it's a Python script LinuxCNC calls when M6 command is issued.
My owm machine uses new hal_manualtoolchange (see attach) - it's a bit buggy with LinuxCNC 2.7 but works.
Your G53 question is pretty simple - you may add any code prior to toolchange in your postprocessor, or manually.
Just an example: raise Z, then move to machine coordinates X10 Y200. Do toolchange. Raise Z again to safe top.
Please Log in to join the conversation.
