Welcome! Log In Create A New Profile

Advanced

gcode to left nozzle/z axis

Posted by EEstudent 
gcode to left nozzle/z axis
July 09, 2014 06:26PM
Hi,
I am editing the end section of the gcode so it stops everything when the machine stops printing, what is the gcode for lifting the nozzle for few mm from its relative place?
my current code is:
G1 E-2 F1800; retract 2mm
M104 S0 ; turn off temperature
M140 S0
M84 ; disable motors

is it enough for disabling all unnecessary operations (turn of the printer)?
Re: gcode to left nozzle/z axis
July 12, 2014 02:44AM
Something like this sould do it:

G91 ; Set relative positioning
G1 Z1 F1000 ; Raise Z 1 mm
G90 Set absolute positioning
G1 X1 F1000 ; Move X carrige out of the way

Be sure to to test it.. winking smiley
Re: gcode to left nozzle/z axis
July 12, 2014 03:46PM
Thanks, I took the first part it works well smiling smiley
Sorry, only registered users may post in this forum.

Click here to login