Callibration G-Code for Oozing
I have seen a few older G codes to prevent oozing on the first part of the print prior to Mesh bed levelling. I understand on the MK3s+ there are some changes so I was wondering if anyone has a G-code updated?
Basically I have a small issue with oozing on the print bed whilst Mesh Level goes on because the hotend is up to PLA temp. I used G-code before which only heated it to about 160, did a Mesh bed level and then went to home and finished heating to PLA temp before starting the print.
Same trick works
Goto the custom gcode section in the slicer. You can modify what your slicer embeds in the Gcode so that it always contains the GCODE you want for the start sequences.
2 step start gcode warmup procedure
[...] I used G-code before which only heated it to about 160, did a Mesh bed level and then went to home and finished heating to PLA temp before starting the print.
Are you looking for something new, or did you just lose that original gcode?
That sounds like the "2 step warmup procedure". I've got a documented example for the Mk3 here that you might find useful.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Additional Info
[...] I used G-code before which only heated it to about 160, did a Mesh bed level and then went to home and finished heating to PLA temp before starting the print.
Are you looking for something new, or did you just lose that original gcode?
That sounds like the "2 step warmup procedure". I've got a documented example for the Mk3 here that you might find useful.
Thanks,
I was happy with either using something new or using my old code .
I think the original code was:
Start G-Code
M83 ; extruder relative modeM140 S[first_layer_bed_temperature] ; set bed tempM109 S160 ; Set extruder temp before bed levelM190 S[first_layer_bed_temperature] ; wait for bed temp
G28 W ; home all without mesh bed levelG80 ; mesh bed leveling set 3x3, 5x5, or 7x7 in settings menu
G1 Y-3.0 Z0.6 F1000.0 ; go outside print area
M109 S[first_layer_temperature] ; wait for extruder temp
G92 E0.0G1 Z0.2 E8 ; Purge BubbleG1 X60.0 E9.0 F1000.0 ; intro lineG1 X100.0 E12.5 F1000.0 ; intro lineG92 E0.0
End G-Code
G4 ; waitM221 S100M104 S0 ; turn off temperatureM140 S0 ; turn off heatbedM107 ; turn off fanG1 F1000.0 ; set feed rateG1 E-3 ; retract{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head upG1 X20 Y200 F3000; home X axis
M84 ; disable motors
Better format of the code
Just realised how bad that code looked.
Start G-Code
M83 ; extruder relative mode
M140 S[first_layer_bed_temperature] ; set bed temp
M109 S160 ; Set extruder temp before bed level
M190 S[first_layer_bed_temperature] ; wait for bed tempG28 W ; home all without mesh bed level
G80 ; mesh bed leveling set 3x3, 5x5, or 7x7 in settings menuG1 Y-3.0 Z0.6 F1000.0 ; go outside print area
M109 S[first_layer_temperature] ; wait for extruder temp
G92 E0.0
G1 Z0.2 E8 ; Purge Bubble
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0End G-Code
G4 ; wait
M221 S100
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
G1 F1000.0 ; set feed rate
G1 E-3 ; retract{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head upG1 X20 Y200 F3000; home X axisM84 ; disable motors
Looks good
Yours looks good. I like to print a wider segment at the end of the prime line to help keep it stuck down and add a little wipe motion to catch that last bit of string, but you can go nuts with this stuff.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Thanks
Yours looks good. I like to print a wider segment at the end of the prime line to help keep it stuck down and add a little wipe motion to catch that last bit of string, but you can go nuts with this stuff.
Thanks for the info. Will try your code this weekend as it looks great.