Close



Results 1 to 10 of 18

Hybrid View

  1. #1
    Hi,You have to put the Gcode "G29" in the start section of your slicer. I use Cura and this is what is in my Start G-code section:

    M117 Heating Bed.
    M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
    M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
    M117 Pre-heat extruder to 160.
    M104 S160; start warming extruder to 160
    G28 ; Home all axis.
    M117 Auto bed-leveling.
    G29 ; Auto bed-level (BL-Touch)
    G1 X0 ; Move to side of bed.
    G92 E0 ; Reset Extruder
    M117 Heat extruder up to full temp.
    M104 S{material_print_temperature_layer_0} ; Set Extruder temperature
    M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
    G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
    G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position
    M117 Purge the extruder.
    G1 X0.3 Y200.0 Z0.3 F1500.0 E15 ; draw 1st line
    G1 X0.6 Y200.0 Z0.3 F5000.0 ; move to side a little
    G1 X0.6 Y20 Z0.3 F1500.0 E30 ; draw 2nd line
    G92 E0 ; reset extruderG1 Z1.0 F3000 ; move z up little to prevent scratching of surface
    M117 Printing model.Hope this helps you.
    Cheers,Andy

    PS the M117 code just sends a message to the LCD screen.
    Last edited by AndyB; 09-09-2020 at 03:11 PM. Reason: additional info

  2. #2
    Staff Engineer Roberts_Clif's Avatar
    Join Date
    Jun 2017
    Location
    Washington State, USA
    Posts
    1,151
    Add Roberts_Clif on Thingiverse
    Wow now that start up G-Code was quite a feat.

    My G-Code looks like this
    Code:
    ;Filament used: {filament_amount}m {filament_weight}g
    ;Filament cost: {filament_cost}
    ;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
    ;M109 S{print_temperature} ;Uncomment to add your own temperature line
    G21        ;metric values
    G90        ;absolute positioning
    M82        ;set extruder to absolute mode
    ;M106 S127 ;set Fan half speed
    M107       ;start with the fan off
    G28 X0 Y0  ;move X/Y to min endstops
    G28 Z0     ;move Z to min endstops
    G1 Z15.0 F{travel_speed} ;move the platform down 15mm
    ;Put printing message on LCD screen
    M117 My Print...
    G28 X0 Y0
    G1 E4.0 ;prime extruder
    G92 E0 ;reset extruder length
    M420 S1   ; Bed Leveling On
    M220 S32.000000
    ;M420 V1   ; Print the leveling grid
    The following line takes care of restoring bed leveling data. " M420 - Bed Leveling State "

    This now is not necessary in newer version of firmware as this line takes care of it. " #define RESTORE_LEVELING_AFTER_G28 "

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •