Pause and Park - Altmill Spindle

Hello,
I have another “getting started with the Altmill and Gsender” question. I notice that the pause button in Gsender will stop running the machine movements, however does not stop the Spindle motor which seems a bit odd to me.

I found in the firmware settings that I can set one of the buttons on the E-stop to “pause and park” which does stop the Spindle. I couldn’t find any option in Gsender to change the function of the pause button in the GUI to pause and park (stop) the spindle. The only possibility may be through the custom Gcode section for pause and resume actions, however I am not a Gcode expert to know specifically what to enter in this section to provide the functions.

If anyone knows how to achieve a “pause and park” function through the Gsender user interface, I would appreciate it.

@reet Does the park command just turn the spindle off or does it turn it off and move it to the park coordinates?

When I was testing yesterday with the firmware options for the 3 buttons next to the E-stop, the “pause and park” option was pausing and turning off the spindle where it was. I’m pretty new to this stuff so I’m not sure what to expect, but I didn’t expect the pause button in the GUI to not stop the spindle.

I found in the SLB manual the following:

  • Park the CNC away from the job: G91 G21 G0 X400 Y400
  • Return to the cutting area (XY0 point): G90 G21 G0 X0 Y0

I may try plunking this in the “pause” and “resume” G-code section of Gsender and see what happens. Doing a quick search on G-code, I believe there needs to be an M05 and M03 command in there to stop and start the spindle.

Correct answer is to plunk M05 in the pause gcode, and M03 in the resume gcode. Spindle with pause and resume where it is without moving out of the way, but is still better than pause without stopping the motor, which seemed silly to me.