Not necessarily.. M600 has that whale loop waiting for the LCD to be pressed while(!lcd_clicked()){ ................... this prevents anything from happening until you press the LCD button, so worst case scenario, the M24 would do nothing.by benkilar - General
I have never printed directly from a computer. When I use OctoPrint I always send the gcode to SD card. But I would imagine the commands would work as is. Maybe try this in the pause function: void pause() { #if pauseAdded == false enquecommand("M600"); pauseAdded = true; enquecommand("M24"); // add this to automatically resume (untested) #endif } Edit: this is kind of a dirby benkilar - General
Hello everyone! I have been following this thread for a bit now, and I think I have a solution.... I too have multiple instances of M600 being executed, and also I was annoyed that it executed even when I wansn't printing, so here is my solution: in Marlin_main.cpp, right before the end bracket for M600 ( } ) add this: card.pauseSDPrint(); // inject pause command to prevent further instanby benkilar - General