- Posts: 54
- Thank you received: 0
Is a Y axis possible on a lathe settup?
I also added support for the tailstock to my lathe, now I have XY(=tailstock)Z
Aside of that it would be handy to be able to turn on/off the enable pin for the tailstock, it's usually a relative axis.
I'm using a pendant to control the tailstock and that just works fine.
Please Log in to join the conversation.
andypugh wrote: Sorry for the late reply, I have been away.
Axis tries to be a bit clever and hides various controls depending on what it finds in the INI files.
Fortunately the main parts of Axis are written in Python which means that you can edit the file, restart LinuxCNC and the new behaviour will take effect with no need to recompile.
This code determines if you get views other than flat XZ:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...scripts/axis.py#L487
This determines the jog key layout:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L3100
And I think that this line here is the one that removes the Y-select radio button:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L3453
addressing this one:
would that be okay?
I'm still testing on my side, but Y shows up after adding LATHE_TAILSTOCK=1 to [DISPLAY] in the configuration file. Jogging works via PG UP/DOWN.
In order to change the tool I use to drive the tailstock back to 0 so I won't require any wrench (I will possibly set this to -5 though to start at 0)
It's quite convenient now on my lathe because the scale on the tailstock is barely readable, and I do have some parts which need accurate center hole by drilling / reaming one by one so I can make that accurately without paying attention now.
Please Log in to join the conversation.
LATHE_TAILSTOCK as an INI flag seems rather too specific, really. I feel that it really ought to be looking at [TRAJ]COORDINATES.
Please Log in to join the conversation.
I have do the same things and use Y for my tailstock mostly because actually we can't use cycle like rigid tapping with W axis and the actual TP.
Please Log in to join the conversation.
andypugh wrote: I am not sure that mapping a tailstock to Y is normal. I think I would expect it to be Axis W.
LATHE_TAILSTOCK as an INI flag seems rather too specific, really. I feel that it really ought to be looking at [TRAJ]COORDINATES.
Agree, that's probably the better. Aside of that LinuxCNC doesn't know what the axis is used for anyway.
Please Log in to join the conversation.
