thinkyhead

M400 - Finish Moves

planner Wait for all moves to finish

This command causes all GCode processing to pause and wait in a loop until all moves in the planner are completed.


Usage

M400

Example

Wait for moves to finish before turning off the spindle

M400
M5    ; Without M400 this happens too soon