Jump to content
UltiMaker Community of 3D Printing Experts

Cura 5.1.1 Start gcode


Recommended Posts

Posted · Cura 5.1.1 Start gcode

Hi I am new to Cura I am trying to maximize my print times and I change my start gcode in Cura but for some reason when I slice and go to print the bed temp and nozzle temp go way to high but if I save the gcode then manual edit the start gcode it runs fine.


 This is the start gcode I would like to run


; Ender 3 Custom Start G-code
M117 Pre-heating the extruder!
M104 S170; start warming extruder to 170
M140 S60{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S60{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
G28 ; Home all axes
G29 A ; Activate bed mesh -level (CR-Touch)
G29 L0 ; Load mesh from slot 0
G29 J3 ; Probe for bed tilt
G1 X245 Y218.5 Z1 F5000.0
G92 E0 ; Reset extruder
M104 S215{material_print_temperature_layer_0} ; Set Extruder temperature
M109 S215{material_print_temperature_layer_0} ; Wait for Extruder temperature
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X225 Y200 Z0.3 F5000.0 ; move to start-line position
G1 X225 Y20 Z0.3 F1500.0 E15 ; draw 1st line
G1 X222.2 Y20 Z0.3 F5000.0 ; move to side a little
G1 X222.2 Y200 Z0.3 F1500.0 E30 ; draw 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
; End of custom start GCode


  • Link to post
    Share on other sites

    Posted · Cura 5.1.1 Start gcode

    A line like this:

    M140 S60{material_bed_temperature_layer_0} ; Set Heat Bed temperature

    is wrong.  What is happening is Cura is adding your bed temperature and so the line becomes

    M140 S6060

    and the hot end becomes

    M104 S215215

    Which is probably a tad on the warm side.


    So change those 4 lines that have the replacement words in them and remove the numbers after the "S"

    M140 S{material_bed_temperature_layer_0}

    M104 S{material_print_temperature_layer_0}

    Your M104 S170 line is fine since nothing gets added too it and the nozzle shouldn't ooze at 170.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 14 replies
    • Create New...