Yes, it should be possible, IF you have separate switches for positive and negative limit.
Code is at http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/motion/control.c;h=ea47096f91a9e0b7dcf7c898ddae326b287721f3;hb=HEAD The limit switch HAL pins are read at line 448 Code at line 634 implements limit overrides, but that ONLY prevents the joint from faulting. The jogwheel handling code starts at line 835. Lines 891-897 determine which way you turned the wheel and test against the appropriate limit switch. Note that the 891-897 code does not look at the overrides. I'm not sure if this is a bug or not, would take further investigation of the overrides. If you are using a single input for both limit switches, then the motion controller has no way of knowing which limit you have hit, and which direction is safe to jog off the limits. Do you have separate limit switches and separate inputs? If so, it should work. If not, I'd suggest some HAL logic to let you push a button and block the limit switch signal(s) before they enter the motion module. On Tue, May 24, 2016, at 04:47 AM, andy pugh wrote: > Should it be possible to jog off of a limit with an MPG? > I have never managed to, and on my new lathe it takes a bit of > dismantling to get to the screws to manually rotate the screw. > > Of course, when the machine is properly set up, this should never happen. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1916 > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich [email protected] ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
