Going past the z limit for tool change

More
01 May 2020 15:53 #166334 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

Please Log in or Create an account to join the conversation.

More
01 May 2020 17:05 - 01 May 2020 17:10 #166343 by Aciera
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.

More
01 May 2020 17:08 - 01 May 2020 17:09 #166344 by Aciera
Deleted, double post.
Last edit: 01 May 2020 17:09 by Aciera.

Please Log in or Create an account to join the conversation.

More
02 May 2020 20:14 - 02 May 2020 20:16 #166425 by Todd Zuercher
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.

More
04 May 2020 10:18 #166604 by atlantis
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.

Please Log in or Create an account to join the conversation.

More
04 May 2020 10:55 #166610 by Clive S
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

Please Log in or Create an account to join the conversation.

More
04 May 2020 12:01 #166613 by tommylight
What about using external offsets?
Does that allow for going past limits?

Please Log in or Create an account to join the conversation.

More
04 May 2020 13:09 #166616 by dgarrett

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.095 seconds
Powered by Kunena Forum