Fix G1/G0 with the R1 qualifier when activated by G-Code
punamenon last edited by punamenon
Test case: Make a print g-code file. At every layer change insert the following two bits of code:
During the first layer, manually pause the print with the button. Resume printing and eventually the nozzle will start colliding with the part.
I've studied the behavior and I think that the problem is coming from the stored value for the last printed coordinate. When activating the pause manually with the pause button, this value is stored. When activating the pause through an M98 command, the value is not overwritten. The printer will instead reference the last manually dictated pause location.
@punamenon, that's a very unusual thing to do! If you want to pause a print in GCode, use M226. You will need to resume it manually.
You could fix your example by using a G60 command before the call to pause.g, see https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_G60_Save_current_position_to_slot.
punamenon last edited by