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

    Posted (edited) · Problems with startup GCode in Cura 2.6.2

    So there are these things called "plugins".

    In Cura 2.6, they are called "scripts" though. Specifically Post-Processing scripts.

    Edited by Guest
  • 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

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
        • 0 replies
      • 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.
          • Like
        • 10 replies
    • Create New...