As a data point…
I use almost the same end code as “Fab_Lab_El_Paso”
Mine works fine…
I would suggest he look at the terminal window when his print completes.
My bet is that he will see and endless parade of resend requests.
If that is the case then the issue seems to be what I mentioned in another thread.
That is that astrobox switches from including line numbers to not including them at some point
upon the termination or completion of a print…
Recent releases of Repetier FW fail when this happens as it now assumes that if you have
a line number once you will always have a line number…while that may be true durning a print
it seems obvious at some point line numbers will stop once the print is done and you are sending
simple cleanup or manual movement commands.
The solution I use is to tweak Repetier as I mention in a previous thread.
Check gcode.cpp (around line 244… it moves in each release)
} else if(lastLineNumber) { // once line number always line number!
if(Printer::debugErrors())
{
Com::printErrorFLN(PSTR("Missing linenumber"));
}
requestResend();
return;
}
delete the complete else part if you want the firmware to accept mixed commands with/without line numbers.
EDIT: I wanted to add that this change in Repetier that requires line numbers if a line number was ever used, was in response to some other problem (I am not sure what that problem was) so removing this code may cause some other issue however I haven’t seen it. I think a better solution (although I am loath to suggest it, as it seems a little kudgy) would be for astrobox to simply prepend line numbers to all lines…I am not sure the firmwares check or care about line number sequence so maybe just putting N0 in front of any line that doesn’t start with Nx would but sufficient and would allow use of current Repetier firmware without possible consequneces.