Jump to content
Ultimaker Community of 3D Printing Experts
Lmctz

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:

;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

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

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 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!