Print job not completing properly
I have repetier-server 0.86.2 running on an RPi Zero driving my prusa i3 clone printer (running Marlin firmware.) Printing appears to work well, except the print job never finishes properly - it gets stuck at about 99% completion. The extruder returns to the park position and the extruder heater turns off, but the heated bed remains on, and the printer will not accept any manual commands or a force stop command. My only recourse is to turn off the bed heater manually via the LCD control panel on the printer and then cycle the power on the printer.
The print job using the same gcode prints and finishes correctly in Repetier-Host with the printer directly connected via serial connection (i.e. not via repetier-server.)
I suspect that I am missing some termination gcode commands, but I am not sure what.
Has anyone else had a similar issue, or has some tips on what to do to rectify it?
The print job using the same gcode prints and finishes correctly in Repetier-Host with the printer directly connected via serial connection (i.e. not via repetier-server.)
I suspect that I am missing some termination gcode commands, but I am not sure what.
Has anyone else had a similar issue, or has some tips on what to do to rectify it?
Comments
M104 S0 ; turn off temperature
G28 ; Return to home position
M84 ; disable motors
My customized end g-code is now:
M104 S0 ; turn off temperature
M190 S0 ; turn off heated bed
G1 X0 Y0 Z5 ; return to park position
M84 ; disable motors