Jump to content
Ultimaker Community of 3D Printing Experts

Problems with startup GCode in Cura 2.6.2

Recommended Posts

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,


Share this post

Link to post
Share on other sites

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!

Share this post

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

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 117 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!