Sorry for the late reply, finishing up a mount for my laser on a dust shoe for my DW660 spindle. Here is the problem if you haven’t done this yet. I had the same problem until I did the following:
in the Marlin.cpp file find this block of code.
// Limit check_axes_activity frequency to 10Hz
static millis_t next_check_axes_ms = 0;
if (ELAPSED(ms, next_check_axes_ms)) {
planner.check_axes_activity();
next_check_axes_ms = ms + 100UL;
}
To fix the problem it needs to be changed to this.
// Limit check_axes_activity frequency to 10Hz
//static millis_t next_check_axes_ms = 0;
//if (ELAPSED(ms, next_check_axes_ms)) {
planner.check_axes_activity(); //< THIS IS THE ONLY LINE OF CODE YOU LEAVE UNCOMMENTED
// next_check_axes_ms = ms + 100UL;
//}
Once this is done, recompile , upload and viola laser works as it should. This assumes you are using the latest version of Ryan’s MPCNC v2 Marlin code base.