Jump to content
Ultimaker Community of 3D Printing Experts

start.gcode for UM2 and Cura 14.07


Nicolinux
 Share

Recommended Posts

Posted · start.gcode for UM2 and Cura 14.07

Hi,

I'd like to use OctoPrint and occasionally Simplify3D so I have to use the normal gcode flavor. Right now the startup procedure on the UM2 does not reflect the start.gcode in Cura 14.07 (or I don't understand gcode all too well):


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

"G28 Z0" does not look to me that it is what it really happens. The heated bed does not move up to Z0 (or else it would touch the nozzle). It moves up about 15mm beneath the nozzle and then filament is extruded a bit.

But maybe I don't get the meaning of "min endstop". Max endstop for the heated bed would be down where the microswitch resides and triggers - so min endstop must be at the top, beneath the nozzle.

Also filament extrusion occurs in two steps (different sounds and speeds), but here in the start.gcode there is only one filament extrusion statement.

So what would the start.gcode for the actual UM2 firmware (14.6.02 I think for Cura 14.07) look like?

Thanks

 

  • Like 1
Link to post
Share on other sites

Posted · start.gcode for UM2 and Cura 14.07

The comment that I put there is actually wrong.

G28 Z0 means "home Z", after that the UM Original had the nozzle on the bed, but on the UM2 the bed is at the bottom then.

The UM2 does not really have "start gcode", the procedure to start a print is coded and does a few things special.

But it comes down to:

G28

G1 F12000 X5 Y10

M190 S{bed_temperature}

M109 S{print_temperature}

G92 E-???

G1 F??? E0

G92 E-???

G1 F??? E0

 

Which is, home, put nozzle above bed, heat-up, reverse end-of-print retraction, slowly prime nozzle.

 

  • Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    Now that I think of it, you also do some sneaky things with the hotend temperature. You don't heat it up right away but wait for the heated bed to reach a % of the target temperature I guess. Is this possible to be expressed in gcode?

     

  • Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    Now that I think of it, you also do some sneaky things with the hotend temperature. You don't heat it up right away but wait for the heated bed to reach a % of the target temperature I guess. Is this possible to be expressed in gcode?

     

    Not really, that's why in the example I gave I heat up the bed first and then the hotend.

     

  • Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    could work, but could also stall for a while at the first M190 as it might wait for the bed to stabalize.

     

  • Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    Just as reference for others - here is another thread with related info:

     

     

  • Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    Daid

    im struggling with s3d in your code does lines

    G92 E-???

    G1 F??? E0

    G92 E-???

    G1 F??? E0

     

    prime the extruder

     

    I read a thread and increased the std setting setting to 20mm but when the machine is just started 1st print this doesn't work unless I move material in the console on the machine (UM2)

     

    im struggling with the setup the bed goes down as the the extruder drops it prime and then theres a mess and the print starts a mess

     

    any help appreciated

     

    bob

     

    • Like 1
    Link to post
    Share on other sites

    Posted · start.gcode for UM2 and Cura 14.07

    The ??? have to be replaced by actual values, which I do not know out of my head.

     

  • 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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        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
        • 11 replies
    ×
    ×
    • Create New...