26

Re: Improved start and end G-code

I went ahead and changed my startup code to do exactly this... It works great. No more oozing and since the nozzle is nice and full, the beginning of the prints are always nice and tidy...

here is my code for what it is worth.

G21; set mm units
G28 ;home all axis
G90; set absolute coordinates
G92 E0; reset extruder distance
M104 S205; set extruder temp and start heating
G1 Z5 F300 ;move platform down 5mm
G1 X195 Y195 F3000 ; move to back right corner
G1 Z0 F300 ;rest extruder on platform while heating to prevent oozing
M109 S205; wait for extruder temp to be reached
G1 Z[first_layer_height] F200 ;move platform close to nozzle
;G1 E7; extrude anchor
G1 F3000; center print head
G92 E0; reset extrusion distance

27 (edited by MauiMacMan 2016-11-08 20:00:29)

Re: Improved start and end G-code

Hello,  I'm a newbie to 3D printing. Have a i3 Prusa Electron built from Kit with mentors. It was working/printing fine using Cura to slice and Pronterface to check things, like extrusion. Extrusion is fine from Pronterface but when printing from a SD card, the printer goes thru the motions, but spits out no filament??? Could my trying different slicers have somehow contaminated the header code either being sent to the printer or some "re-adjusting" extrusion settings?  A moment ago I printed a test pattern flawlessly, now nothing comes out of the hot end as the head and bed fly around? Thanks for any things to try? BTW, I haven't messed with the firmware at all. Here are my settings. Do I need to change anything:

echo:Marlin1.0.0
echo: Last Updated: Nov 26 2015 11:03:19 | Author: Zviper89, Migbot Stndrdauto lvl
Compiled: Nov 26 2015
echo: Free Memory: 3606  PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo:  M92 X80.00 Y80.00 Z398.27 E94.50
echo:Maximum feedrates (mm/s):
echo:  M203 X225.00 Y225.00 Z3.00 E25.00
echo:Maximum Acceleration (mm/s2):
echo:  M201 X2650 Y2650 Z100 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo:  M204 S2650.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X15.00 Z0.40 E5.00
echo:Home offset (mm):
echo:  M206 X0.00 Y0.00 Z0.00
echo:PID settings:
echo:   M301 P22.20 I1.08 D114.00
echo:SD card ok

(from Mac Pronterface)

28

Re: Improved start and end G-code

;Generated with Cura_SteamEngine 15.01
; Default start code
G28 ; Home extruder
G1 Z15 F100
M107 ; Turn off fan
G90 ; Absolute positioning
M82 ; Extruder in absolute mode
M190 S50
; Activate all used extruder
M104 T0 S200
G92 E0 ; Reset extruder position
; Wait for all used extruders to reach temperature
M109 T0 S200
;Layer count: 240
;LAYER:0
M107
G0 F9000 X82.444 Y100.938 Z0.200
;TYPE:SKIRT



this is my start g code