One Z move at end of print, but two occur
-
CoreXY printer.
Below is the actual gcode sent to the printer, at the tail end of the print, so should be exactly what the printer does. The mystery happens right after it's finished a print, in this example, a standard 20mm-tall "XYZ" test cube. The bed backs down about 50mm, moves the head to the rear for easy access, which is correct. What's odd is that it then moves another 100mm Z move. I don't see it in the code, so where could it be coming from? As a double check, I measured from the tip of the nozzle to the final bed position, and sure enough, it's 170mm (cube height, + 50mm mystery move + 100mm commanded move). The last line of code at the bottom really is the last command. Everything below that is usage statistics.
-
@kb58 what is in your "print_end.g" macro?
-
@cosmowave I figured that I'd get around people asking that by posting the above screen shot, which is the actual code sent to the printer Anyway, "print_end" is:
-
@kb58 There is a G1 Z50 F1200 move in it!
-
@cosmowave I mispoke previously and you caught me. The first move, the 50mm, is correct, the second 100mm move is not, and I can't see where it's being commanded.
-
@kb58 Oh geez, I see what you mean now...
-
@kb58 In line 8500 of your gcode is the 100mm move
-
@cosmowave Found it.... wow, the consequences of having placed a block of code a ways down the screen and meaning to come back to it. Forgetting about it, all I'd see when checking the file was the first code block.
How about you guys just go have a nice day and I'll pretend that I didn't trouble you! Thanks for the quick reply, guys.