When evaluating inputs for a design I may try several iterations without completing the entire job. If I choose STOP from the laser controls my Z height is modified from the location set during cutting. This requires me to reset the Z height each time I use STOP. The movement in always in the positive (up) direction. I am using a Shapeko with J-Tech diode laser.
My Z axis controls in Device settings are all in the off position.
How can the Z height be maintained when selecting STOP in the laser controls?
LightBurn does not modify the Z height when you hit the Stop button - stop is treating as a hard-stop / abort, so no additional motion should happen when you stop. If you click ‘Save GCode’ instead of ‘Start’, you can look at the GCode emitted - if you do not have Z enabled, no Z moves will be emitted ever unless you manually click one of the Z up / down buttons, so I’m not sure what’s happening, but it’s not LightBurn doing this.
Does your controller have any $N commands registered? (type $N in the console and press enter)
It’s possible that your board is disconnecting when stopping, and the behavior you’re seeing is auto-home on startup when it re-connects. I can’t think of anything else that would do that - there are no Z commands issued in the GCode, and as I said, stop is treated as an abort from us - dead stop immediately, to prevent machine damage.
Yea I think you might get some answers from Carbide 3d. I haven’t found much but it looks like they added retract on pause. What I’ve read doesn’t go into much detail but you could probably get an answer from them.