Jump to content

Start.gcode for UM2 not changing


DidierKlein

Recommended Posts

Posted · Start.gcode for UM2 not changing

Hi all,

Yesterday i installed octoprint on my UM2.

So to make it work i knew i had to change the gcode flavor to reprap.

I did something but i think i got it wrong. I added a reprap machine to cura with the same settings as the ultimaker.

When i tested the print i didn't like how it started, there is no extrusion done before starting the print, the extruder stays in the initial position while warming up etc...

So i figured out that the only thing i should do is have a machine that is Ultimaker 2 and not reprap and just change de gcode flavor.

It seems that the start.gcode content stays the same as the one i had.

I'm not using the latest version of Cura (happens on 14.01 and 13.11.2).

I managed to get the start.gcode for um2 and reprap:

start.gcode for Ultimaker 2 in reprap gcode flavor:

 

 

;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}

;Print time: {print_time}

;Filament used: {filament_amount}m {filament_weight}g

;Filament cost: {filament_cost}

G21 ;metric values

M221 S100 ;set flow to 90%

M220 S100 ;set speed to 100%

;M92 X79.0814 Y79.0814 E865.888 ;set x., y- and E-Step

;M500 ;saves M92-values to EPROM (really?)

G90 ;absolute positioning

M107 ;start with the fan off

G92 E0 ;zero the extruded length

G1 F300 E3 ;extract a bit to increase pressure

G28 X0 Y0 ;move X/Y to min endstops

G28 Z0 ;move Z to min endstops

;TweakAtZ-state0

;-------------------------------

;Tweak initial layer thickness (depending on bed leveling)

G1 Z0.08 ;move Z up by 0.1mm

G92 Z0 ;define new zero for Z

;-------------------------------

G1 Z20.0 F{travel_speed} ;move the platform down 15mm

G92 E0 ;zero the extruded length

;G1 F200 E3 ;extrude 3mm of feed stock

G1 F100 E6 ;extrude 9mm of feed stock in order to make sure enough comes out

G92 E0 ;zero the extruded length again

;G1 F300 X50 ;draws a line of 5cm

;G1 F300 Y2 ;sidestep

;G1 F300 X0 ;draws a line of 5cm

G1 F{travel_speed}

;TweakAtZ-state1

M117 Printing...

;M201 X1000 Y1000 ;sets acceleration

 

start.gcode on Reprap machine in reprap gcode flavor:

 

 

;Sliced at: {day} {date} {time}

;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}

;Print time: {print_time}

;Filament used: {filament_amount}m {filament_weight}g

;Filament cost: {filament_cost}

;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line

;M109 S{print_temperature} ;Uncomment to add your own temperature line

G21 ;metric values

G90 ;absolute positioning

M107 ;start with the fan off

G28 X0 Y0 ;move X/Y to min endstops

G28 Z0 ;move Z to min endstops

G1 Z15.0 F{travel_speed} ;move the platform down 15mm

G92 E0 ;zero the extruded length

G1 F200 E3 ;extrude 3mm of feed stock

G92 E0 ;zero the extruded length again

G1 F{travel_speed}

;Put printing message on LCD screen

M117 Printing...

 

I guess it's better to use the start and end gcodes that are generated for the UM2 ?

I don't know if it's a bug or something else

 

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    I don't know how and where you get the first start.gcode, but it's not intended to be used on an UM2.

    It's actually not even intended to be displayed here... :(

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    What do you mean?

    I got this code in the start.gcode tab in Cura when i changed the gcode flavour from UltiGCode to reprap on my other Cura that i use just for testing stuff in Cura... (version 13.11.2)

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    If you change your machine to UM2 in cura, no start or end gcode is displayed. If you intend to print on a um2, do use this; else the clips of the platform are not taken into account, which could wreck your nozzle.

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    If you change your machine to UM2 in cura, no start or end gcode is displayed. If you intend to print on a um2, do use this; else the clips of the platform are not taken into account, which could wreck your nozzle.

     

    When you switch Gcode flavour those settngs become visible, even with the machine setting set to UM2.

    @Didier: This is the start+end code I get:

     

    ;Sliced at: {day} {date} {time}

    ;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}

    ;Print time: {print_time}

    ;Filament used: {filament_amount}m {filament_weight}g

    ;Filament cost: {filament_cost}

    ;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line

    ;M109 S{print_temperature} ;Uncomment to add your own temperature line

    G21 ;metric values

    G90 ;absolute positioning

    M82 ;set extruder to absolute mode

    M107 ;start with the fan off

    G28 X0 Y0 ;move X/Y to min endstops

    G28 Z0 ;move Z to min endstops

    G1 Z15.0 F{travel_speed} ;move the platform down 15mm

    G92 E0 ;zero the extruded length

    G1 F200 E3 ;extrude 3mm of feed stock

    G92 E0 ;zero the extruded length again

    G1 F{travel_speed}

    ;Put printing message on LCD screen

    M117 Printing...

     

    ;End GCode

    M104 S0 ;extruder heater off

    M140 S0 ;heated bed heater off (if you have it)

    G91 ;relative positioning

    G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure

    G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more

    G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way

    M84 ;steppers off

    G90 ;absolute positioning

    ;{profile_string}

    • Like 1
    Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    What do you mean?

    I got this code in the start.gcode tab in Cura when i changed the gcode flavour from UltiGCode to reprap on my other Cura that i use just for testing stuff in Cura... (version 13.11.2)

     

    You're right. With Cura 13.11.2 you get this start.gcode. Don't use it. It's completely wrong. Please use the start.gcode and end.gocde stated by Robert (which is from 14.03 I guess).

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    This is the end.gcode from 13.11.2

     

    M104 S0 ;extruder heater off

    M140 S0 ;heated bed heater off (if you have it)

    M201 X9000 Y9000 ;resets acceleration to default

    G91 ;relative positioning

    G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure

    G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more

    G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way

    G92 Z0 ;zeros the z-axis

    ;G1 Z10 ;goes up 10mm

    M84 ;steppers off

    G90 ;absolute positioning

     

    I'm not a gcode guru but reading both the start and end gcodes make me think that they do the same as what is done when you use UltiGCode.

    When the print is finished with the other one the build plate stays on the position where it was last (up).

    @Dim3nsionneer:

    Thanks for the comment, so i should stay with the start and end gcodes given by the 14.01 version of Cura.

    I'm just kind of afraid that the starting process is not as good, mainly because no filament is extruded right before the start of the print. My second print failed because of this because the brim wasn't done (no filament came out) the print finally got pushed by the extruder...

    I'm a bit confused

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    @Didier Klein:

    I was partially wrong in my last post above (I corrected it). Cura 13.11.2 takes the start.gcode and end.gcode from profile.ini. However, if you load settings from a gcode file into Cura, it overwrites the default start and end gcode in profile.ini. This doesn't matter as long as you use UltiGCode. Switching to reprap flavour suddenly let this part of the imported profile appear.

    That's how you got this start.gcode. Actually I know which gcode file it comes from. So please just copy Robert's start.gcode and don't be confused... ;)

    EDIT: How many lines did your brim consist of? Just add some more...I usually take up to 15 lines.

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    Ok it seems to be the same i have on my Cura 14.0.1 so i will not need to change it.

    The Brim from yesterday's test was 5 lines and the base of the object was very small. I forgot to change back to 15 that i usually use too.

    Thanks for the advices consider this as closed

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

     


    G1 Z0.08 ;move Z up by 0.1mm
    G92 Z0 ;define new zero for Z

    That's some nasty crap! Get that out of your start gcode. This makes it print .08mm up in the air above the glass. This is for if you are levelling under the bed somehow. Like if you have a hole where home the head and the nozzle passes through maybe? I don't know but get rid of that. This will make your first layer not stick at all or not very well.

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    @gr5 i didn't print with these i just wanted to know if i messed up something when using reprap flavor instead of UltiGCode.

    It seems that i used the good start and end gcodes all the way.

    Are you changing anything to that? I guess that most of you print in UltiGCode

     

  • Link to post
    Share on other sites

    Posted · Start.gcode for UM2 not changing

    Plenty of people use reprap mode because they are using USB printing from octoprint, doodle3d or because they don't like Daid's initial sequence before printing starts. Personally I only use ultiGCode.

     

  • 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 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 20 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...