Results 1 to 10 of 14
Thread: Ending Gcode
-
01-13-2015, 12:18 PM #1
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
Ending Gcode
Im using simplify 3d
when the print is done. the hotend just sits on top of the finished print.. still in contact
and then cools down.. leaving itself connected to the top
In Simplify 3d there is the ability to add custom gcode to the end of a file
How do i tell it to just raise Z 10mm?
-
01-13-2015, 12:57 PM #2
;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
-
01-13-2015, 01:19 PM #3
- Join Date
- Nov 2014
- Posts
- 34
Thanks! That is extremely useful
-
01-13-2015, 01:50 PM #4
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
Thank you!
-
01-13-2015, 06:12 PM #5
I don't know that Cura's F{travel_speed} will work with Simplify3D. For comparison, here's the end gcode from my Simplify3D. Note that my home position is at the front left, so I manually position X and Y to the right rear corner after a print. The M117 command is there just to restore the status message on the LCD back to what it was before the print started. The values following F are speeds in mm/minute.
G91 ; Relative positioning
G1 E-2 F900 ; Retract 2mm at 15mm/sec to reduce filament ooze
G1 F120 Z+10 ; Raise off print 10 mm at 2mm/sec
G90 ; Absolute positioning
G1 F6000 X185 Y185 ;go to rear corner at 100mm/sec
M104 S0 ; Turn off hot end heater
M107 ; Turn off print cooler
M140 S0 ; Disable heated bed
G92 E0 ; Reset extruder position
M84 ; Turn steppers off
M117 Printbus i3v readyLast edited by printbus; 01-13-2015 at 06:19 PM.
-
01-27-2015, 09:02 PM #6
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
how do i turn off both hotends?
-
01-28-2015, 05:54 AM #7
You need two end codes
end.gcode and end2.gcode
;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
-
01-28-2015, 01:44 PM #8
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
-
01-28-2015, 02:17 PM #9
-
01-28-2015, 03:27 PM #10
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
Simplify3d
Printer will print perfect...
06-14-2024, 10:44 AM in Tips, Tricks and Tech Help