Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: fixittt on May 08, 2017, 12:37:34 PM

Title: G command to toggle soft limits....... Is it possable
Post by: fixittt on May 08, 2017, 12:37:34 PM
Is there a G or M code that will toggle softlimits on/off?

I want softlimits to be defaulted to on, but any home/probe macro seems to turn it off and not back on again.
Title: Re: G command to toggle soft limits....... Is it possable
Post by: RICH on May 08, 2017, 11:02:58 PM
Why not just use the screen button to set soft limits?

There is no G code or specific M code.

You could create a Macro, include it as part of the Initialization String. Could also then use the macro
in start of any gcode file.

For the mill screen Soft limit Image button is  OEMButton 119  and the LED is OEM Code 23.
Also from a list additional button codes are 1029 and also 13000.So I guess one could check the soft limit state
and then use  DoButton ( ) or  Do OEMButton () to turn soft limits on if off with the macro.

RICH
Title: Re: G command to toggle soft limits....... Is it possable
Post by: Arturomoises1 on July 31, 2017, 10:37:40 AM

Hi
Most crashes happen when the softlimit button is off and we are not aware.
Is there a way to have the softlimits always on by default?
Or it would be nice to have Mach3 slowdown on Jog to 10% when the softlimits button off.