Hello Guest it is March 29, 2024, 08:45:16 AM

Author Topic: G command to toggle soft limits....... Is it possable  (Read 1619 times)

0 Members and 1 Guest are viewing this topic.

G command to toggle soft limits....... Is it possable
« 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.

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: G command to toggle soft limits....... Is it possable
« Reply #1 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
Re: G command to toggle soft limits....... Is it possable
« Reply #2 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.