Going past the z limit for tool change
01 May 2020 15:53 #166334
by atlantis
Going past the z limit for tool change was created by atlantis
I am retrofitting a mill that has a atc that works a bit special (the machine is an Emco VMC100). It works as follows:
The spindle goes up past the z limit switch until it reaches another limit switch, doing this first the tool holder clamp is mechanically released and then the tool holder pulled out of the spindle. Once the second limit switch is reached the turret is free to rotate.
Can linuxcnc go past the z limit or do I need a relay that deconnects the z limit switch while changing tools? I think I've seen it done this way with a retrofit using Mach3.
Kind regards
Martin
The spindle goes up past the z limit switch until it reaches another limit switch, doing this first the tool holder clamp is mechanically released and then the tool holder pulled out of the spindle. Once the second limit switch is reached the turret is free to rotate.
Can linuxcnc go past the z limit or do I need a relay that deconnects the z limit switch while changing tools? I think I've seen it done this way with a retrofit using Mach3.
Kind regards
Martin
Please Log in or Create an account to join the conversation.
01 May 2020 17:05 - 01 May 2020 17:10 #166343
by Aciera
Replied by Aciera on topic Going past the z limit for tool change
If you have a hal-pin that represents if a toolchange is active you could use simple logic components in HAL (AND, OR, NOT) to disable the signal from your physical limit switch being connected to the z-pos or z-neg pin.
Last edit: 01 May 2020 17:10 by Aciera.
Please Log in or Create an account to join the conversation.
01 May 2020 17:08 - 01 May 2020 17:09 #166344
by Aciera
Replied by Aciera on topic Going past the z limit for tool change
Deleted, double post.
Last edit: 01 May 2020 17:09 by Aciera.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
02 May 2020 20:14 - 02 May 2020 20:16 #166425
by Todd Zuercher
Replied by Todd Zuercher on topic Going past the z limit for tool change
Disabling a hard limit switch would be easy, The trickier part is how to make the soft limits happy. I know some ideas on this subject have been discussed on the forum in the past. I do not know if the person(s) originally asking the question ever found a solution they were completely happy with. Some of the proposed work arounds involved adding a move with an alternate axis (such as W) or using an offset component to extend the Z's travel. I am fairly confident I could make either option "work" but I've never done it my self. (Heck, I don't even have a machine with a tool changer running Linuxcnc. Maybe someday I will finally get annoyed enough at it's original control to get around to retrofitting our old SCM Routomat.)
Last edit: 02 May 2020 20:16 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
04 May 2020 10:18 #166604
by atlantis
Replied by atlantis on topic Going past the z limit for tool change
Thank you both for your replies! I think I haven't really understood how linuxcnc handles soft limits yet, I didn't even take the soft limit problem into account before.
As far as I have read the ideal case would be to have at least two switches per axis, a soft limit one and a hard limit one, however this is not the concept of this machine, it has only one switch per axis and they are all inductive sensors. That's all I have and there's not really a good possibility to put on additional ones.
In addition I know the concept of homing only from portal mills, but the bed mills I know do not home to a specific location the way that they have to move there to meet a switch once you turn them on. Basically they are happy as long as no end switch is hit. I do however not know how this specific machine handled it with the old control, not having end switches on both sides of each axis it probably did home but I don't know.
As far as I have read the ideal case would be to have at least two switches per axis, a soft limit one and a hard limit one, however this is not the concept of this machine, it has only one switch per axis and they are all inductive sensors. That's all I have and there's not really a good possibility to put on additional ones.
In addition I know the concept of homing only from portal mills, but the bed mills I know do not home to a specific location the way that they have to move there to meet a switch once you turn them on. Basically they are happy as long as no end switch is hit. I do however not know how this specific machine handled it with the old control, not having end switches on both sides of each axis it probably did home but I don't know.
Please Log in or Create an account to join the conversation.
04 May 2020 10:55 #166610
by Clive S
Replied by Clive S on topic Going past the z limit for tool change
You don't really need end switches at both ends for soft limits to work. But for them to work you must home the machine if the soft limits are set up correctly after you have home you should never run into a switch or the other end.
The axis will do a controlled slow down just before the soft limits..
linuxcnc.org/docs/devel/html/config/ini-homing.html
The axis will do a controlled slow down just before the soft limits..
linuxcnc.org/docs/devel/html/config/ini-homing.html
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
04 May 2020 12:01 #166613
by tommylight
Replied by tommylight on topic Going past the z limit for tool change
What about using external offsets?
Does that allow for going past limits?
Does that allow for going past limits?
Please Log in or Create an account to join the conversation.
04 May 2020 13:09 #166616
by dgarrett
linuxcnc.org/docs/2.8/html/motion/extern...ts.html#_soft_limits
Replied by dgarrett on topic Going past the z limit for tool change
What about using external offsets?
Does that allow for going past limits?
linuxcnc.org/docs/2.8/html/motion/extern...ts.html#_soft_limits
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds