Resume macro for Estop useing the SLB

Is there a way to use one of the buttons on the E stop (SLB) to trigger resume instead of clicking on the pc? I havenā€™t been able to find anything yet. Im new to macros.

I donā€™t know how to do that but since gSender is based on cncjs this page might come in useful for writing macros. The relevant info in under the macro widget and this is the gSender docs on writing macros. Check the list of macro variables for anything relevant.

I canā€™t seem to find a G-code for resume, only pause. It might be worth doing a test where you pause a program and then resume it with the console open in gSender. You might be able to see what gSender sends to GRBL when resume is hit. Then you could send the same thing in a macro. You donā€™t need to actually carve anything just run a tool path in the air and test. Iā€™d also test any macro you write the same way to make sure it works properly.

I donā€™t have the SLB only the regular so Iā€™m not sure if it acts differently but with the regular LB if you use the E stop it cuts power to the machine but the G-code keeps being sent so you canā€™t ā€˜pauseā€™ that way. But if you have one of the other buttons to pause you should be okay if you can get resume working. I though Iā€™d mention that just in case.

The macro to resume is ā€œCycle Startā€ in the macro button options - it should unhold the firmware and resume sending on the gSender side. By default the first button should be setup to do this but obviously you can configure whatever button to do so.

2 Likes

@KGN Much better than a macro sending a shortcut. Iā€™ve deleted my comment.

Tks, Kevin.

I did try that but it didnā€™t resume the TLS macro. Is there any other settings in the firmware that need to be changed to enable the buttons?