Really newcomer to the subject. I’ve found quite a few discussions on getting the “code 9 error - G-code locked out during alarm or jog state”, but not the same as my problem. If I want to stop a burn, by clicking STOP, I get the code 9 error and the laser has to be reset. However if I click pause and resume it’s fine, or pause before stop it’s fine.
I found the answer myself from Lightburn Staff in June '20, as follows:
If you hit Stop it is considered a “hard abort”, and the laser goes into alarm mode. You have to right-click the ‘Devices’ button to reset the connection and clear the alarm. If you pause first, then stop, it will stop without doing the emergency stop, and won’t throw the alarm. This is just how GRBL works.