Gang Tooling auto tool change
Seeing the Z stepper following the spindle speed change on a G76 cycle made the effort of learning very worthwhile.
I've now managed to get the tool offset table etc figured out, and can run a program with multiple tools. The program prompts for a tool change as it defaults to manual. Looking in the HAL file, I see the toolchange is set for manual.
My question is what changes are needed to run a lathe with gang tooling, so that the program will run to the end without prompting for tool change. I don't need an auto tool changer, I just need the tool offsets to come into effect.
raglanlittlejohn wrote: My question is what changes are needed to run a lathe with gang tooling, so that the program will run to the end without prompting for tool change. I don't need an auto tool changer, I just need the tool offsets to come into effect.
The minimum solution is just to short-circuit the tool-change request.
Instead of having:
net tool-change hal_manualtoolchange.change iocontrol.0.tool-change net tool-changed hal_manualtoolchange.changed iocontrol.0.tool-changed net tool-prep-number hal_manualtoolchange.number iocontrol.0.tool-prep-number
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed
If you need to make a specific clearing move before the gang-plate re-posiitons you can probably put that in the INI file:
[EMCIO] ... TOOL_CHANGE_POSITION = 0 0 50.8
You might also want to look at the sim/axis/lathe-fanucy sample config for a way to get a more lathe-like tool-change using just the T-command and no M6, and with optional wear offsets.
Holbrook Minor sounds good, very high class!. I did reply to your first post, but forgot the code so not sure if it went. I'll make your chages
and let you know how I get on. It must be great to be able to re configure Linuxcnc, Thanks again for your help.
Just tried your minimum solution. the three lines to be removed were longer in my Hal. I backed up the original, removed the three lines, added your single line, and it works perfectly!. I'm very pleased to have it working. I've now backed up the new file.
I'll look into your other suggestions, but I want to get some gang tooling programs up and running first. Thanks again.
raglanlittlejohn wrote: Holbrook Minor sounds good, very high class!.
Well, I would be higher class as Holbrook Major, and there was a model of that name in the range, but it is now fairly rare. Not nearly so rare as the "Magna" and "Marquis" though.
If you are interested, the conversion of my Minor to CNC is described here:
I am trying out a few ideas I have had on other conversions, and I am spending an amount of money on it which would be hard to justify if there was anyone I had to justify it to.
I've been running gang tool lathes for many years and I'm currently rebuilding two of them to put back into service.
Is there any way for you and I to communicate so that I can pick your brain to make my machines do what you've done?
Thanks in advance,
The code is simple enough. But I'm unsure of where to put it in my files to make this work.
Any possibility we can elaborate on this subject?
Typically LinuxCNC is configured to pop-up a tool-change dialog. The changes described here simply remove that dialog.
LinuxCNC has at least two files for each machine config. There is an INI file that stores various kinds of data and there is the HAL file that wires all the signals together. (connecting axis outputs to step pulses on wires, that sort of thing)
Post 72637 shows a HAL file change that removes the tool change dialog, and an INI file change that sets up an automatic move prior to tool change.