Jump to content
Lmctz

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:

;FLAVOR:RepRap

;TIME:50736

;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,

L

Share this post


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!

Share this post


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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
×
×
  • Create New...

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!