Is there a way to automatically enable/disable Soft Limit?

I’m new for Lightburn, and also for engraving with that Soft Limit function.

I have a problem when I use Rotary there’s always an error message Alarm2 (G-code motion target exceeds machine travel. Machine position safely retained.) However, I have tried to adjust the configuration for Z-Axis in Lightburn many times but the error still always appears.)

My current temporary solution is disabling the Soft Limit when I want to use the Rotary. (after “enable rotary” in Lightburn) For normal surface engraving, overall seems to be fine with that Soft Limit function, the problem mostly occurs after enabling rotary only"

My question is, can we set Lightburn or use any customed G-Code to automate this Soft Limit function as some triggers like “when enabling rotary, disable Soft Limit” & “when disabling rotary, enable Soft Limit”

P.S.

  • My engraving machine is Mr.Carve M3 (which is not so good for its compatibility with Lightburn, but I have bought Lightburn license a few days ago because I think this is very amazing software with reasonable price.) And this machine uses Z-Axis for Rotary device.
  • The machine’s default Home is back-left position, but after flash its firmware to be able to use Lightburn it was changed to front-left position. So, I set a new origin to back-left position which is easier for me to work around.)

Thank you in advance for any responses or suggestions.

On a GRBL machine, set up a Macro button for Rotary Yes and one for Rotary No. Use then to change the GRBL parameters as needed. Works like a charm on my machines.

Automatic means the machine would have to know what you are thinking.

1 Like

@MikeyH Where and how to setup that Macro button?

Ever notice the Macro1, Macro2, etc. buttons in the Console window? Right click on one to open the edit window. Name your macro, type in the GCode or GRBL commands and save. Just be sure (“I think…” will not work) you know what you are telling the controller to do. If you go changing GRBL parameters, be sure you have a backup copy first.

I also made a Macro called “Retract” that moves the laser back and out of the way. “G0 X175 Y375” for example.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.