I think the question you’re asking is how to use the limit switch as a home input. On my bridgeport mill, a single limit switch trips on the min and max limits. I also use this for home. I do this by assigning the same hardware pin to axis.0.home-sw-in (or axis.1, axis.2, etc) axis.0.neg-lim-sw-in, and axis.0.pos-lim-sw-in. So you just need to assign the same hardware pin as your limit switch to home as well as the limit switch input for axis.
Hope this helps! Matt > On Nov 6, 2020, at 3:23 PM, R C <cjv...@gmail.com> wrote: > > Hello Leonardo, > > On 11/6/20 1:01 PM, Leonardo Marsaglia wrote: >> Hello Ron, >> >> If I understand correctly you are using your limit switches only without >> any soft limit (hardware limit). Whenever a limit switch is triggered the >> motion will stop immediately and the only way to recover from that is to >> turn on the override limits option. > > ah, yes, I have not set any soft limits in the new configuration yet. Also > wonder how to do that. > > > For example, I have a mill, also a sherline, without limit switches which I > "return home" every time I am done, and then home the axes when I start. > > I thought I could use the limit switches also as homing switches. > > > I'll try that, set them as close to the hard limit as possible. (However, it > seems that the "hard limit" doesn't seem that useful then.) > > (tha is why I thought those switches could be used to actually home the > machine, use them as a reference, sort of a "go to" feature... thinking > when the switches get triggered, linuxcnc would "think", ok I am home now. > > thanks, > > > Ron > >> >> I don't know if understand you right, but you would never want the machine >> to trigger a hard limit in normal conditions, you need to set up your soft >> limits as close as possible (given your machine's necessities) of the hard >> limit. >> >> Leonardo Marsaglia >> >> El vie., 6 nov. 2020 16:03, R C <cjv...@gmail.com> escribió: >> >>> Hello, >>> >>> >>> I am trying to configure the limit switches in linuxcnc, I think I can >>> use them as home switches too. >>> >>> >>> The switches get tripped, when teh cross slide is as close to the chuck >>> as it can be and as close to the user/operator as possible. >>> >>> >>> I have it setup so that for example the x-axis limit switch will stop >>> the stepper, but I'd expect to be able to jog in the opposite direction, >>> which >>> >>> it doesn't seem to do. >>> >>> >>> How do I set up the limit switches so that theydo stop the movement of >>> the axis but still will allow to move an axis in the opposite direction >>> as the one that triggered the switch? >>> >>> >>> thanks, >>> >>> >>> Ron >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net <mailto:Emc-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/emc-users > <https://lists.sourceforge.net/lists/listinfo/emc-users> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users