What Gcode is senden when you abort a print (SD)
 
Notifications
Clear all

What Gcode is senden when you abort a print (SD)  

  RSS
Foxen
(@foxen)
New Member
What Gcode is senden when you abort a print (SD)

Hi guys,

I wanted to know what gcode is sended when you abort a print via the lcd display (print from sd card).
Using the latest 3.1.0 firmware on an MK2.

The Nozzle lifts up and the bed comes forth. I want to know the gcode for that. I am mainly using Octoprint so I want to add the gcode for abort a print there

many thanks
Sven

Napsal : 18/02/2018 6:55 pm
supermerill
(@supermerill)
Eminent Member
Re: What Gcode is senden when you abort a print (SD)

> I wanted to know what gcode is sended when you abort a print via the lcd display (print from sd card).

It send nothing, it just stop reading and do dome hard-coded stuff.

What you want (nozzle lift up, bed advance):

To move the head up 2mm, write
G91
G1 Z2.00 F7200.000
G90

To move the bed in the front, write
G0 Y210.0 F7200.000

To "abord" a print, just write nothing after that point.

source : http://reprap.org/wiki/G-code

Napsal : 19/02/2018 6:18 pm
Share: