Welcome! Log In Create A New Profile

Advanced

G-Code to End a Print Job???

Posted by umdpru 
G-Code to End a Print Job???
October 02, 2014 11:38AM
Hi all,

I am having an issue where my I3 running Ramps 1.4 and Marlin won't "end" a print properly. In otherwords, my Mini Kossel, also running Ramps 1.4 and Marlin ends a print properly and displays the total elapsed time after printing. My I3 says "Heating..." and the timer keeps counting up (elapsed time).

they both are using the same end g-code, for the most part.

I3 End G-Code:

M104 S0 ; turn off temperature
M140 S0; Turn off hbp
G28 X0 Y0; Home X and Y axis
M84; disable motors



MK End-G-Code:

M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G28 ;move to endstops
M84 ;steppers off


Any Ideas here?
Re: G-Code to End a Print Job???
October 04, 2014 11:45PM
perhaps your firmware does not use these commands?
did you download marlin from the original website or developer?
did you change any command codes?

you could always add something at the end of the print like
G1 X0 Y0

but my prints are ending like this
G92 E0
M107
M104 S0 ; turn off temperature
G28 X0  ; home X axis
M84     ; disable motors

stupid question,
is your heat bed connected to your ramps?
or powered independantly?

you could try with another slicing program.
What are you using, in use Slic3r because i have the greatest success
Re: G-Code to End a Print Job???
October 05, 2014 06:38AM
Standard G-codes:

M0 - machine stop (with the opportunity to start again)

M2 - program end

Teacup Firmware supports these. Other firmwares have similar functionalities (and try hard prefer randomly choosen G-code numbers over existing standards ones).


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Sorry, only registered users may post in this forum.

Click here to login