Jump to content
Ultimaker Community of 3D Printing Experts

Problems with startup GCode in Cura 2.6.2


Recommended Posts

Posted · Problems with startup GCode in Cura 2.6.2

Hi guys!

I'm running my printer with Cura 2.6.2, and I've got a firmware bug that means my prints work out better when I remove all temperature commands from the gcode for startup and instead set those manually via the LCD.

Within Cura, under "Materials" in "Print Setup," I have all of my temperatures set to 0. This works pretty well to discourage Cura from including any temperature commands in the gcode, except for one single M109 that gets put in during compilation. Somehow, it pops up before my startup code (shown below), so I can't modify my startup code to fix it, like I did when I used Cura 21.04.

First few lines of code as it comes up in all my gcode files:



;Filament used: 82.2822m

;Layer height: 0.3

;Generated with Cura_SteamEngine 2.6.2

M109 S0

G28 ;Home

G1 Z15.0 F6000 ;Move the platform down 15mm

I have no idea what that M109 is doing there, but if I forget to open Notepad after saving my gcode and to delete that line, my prints will not run. My startup gcode starts at that G28.

Does anyone know of a workaround or something that I'm missing within Cura that could prevent that temperature command from being thrown in?

Thanks for the help,


  • Link to post
    Share on other sites
    Posted · Problems with startup GCode in Cura 2.6.2

    So there are these things called "plugins".  I would look at one of the existing, working plugins and modify it.  It's probably only one or two lines of code that you have to modify.  Basically change M109 to ;M109   (the semicolon comments it out).

    If you are successful then you can post your plugin to the forum!

  • Link to post
    Share on other sites


    This topic is now archived and is closed to further replies.

    • Create New...