Start/End Gcode for UM2

Nicolinux Moderator Points: 4026
Posts: 2685

Location: Wiesbaden, Germany Printers: Ultimaker 2+, Ultimaker 3
Posted by
Nicolinux

Posted May 24, 2015 - 3:25 PM  

Hi,

I'd like to start using OctoPrint again and since UltiCode will not be supported, I want to re-activate the start/end gcode discussion. If anyone got it right, please post your settings.

Meanwhile here are the latest posts about it:

Two things I miss about UltiCode and that is the abbility to pre-define the temperature and fan speed because I am using an alternative fan bracket which is better than the original and needs only 60% fan speed. Setting the temperature is just lazyness (or convenience) since I could wait until the heated comes close to the target temperature and the hotend starts to heat up (that's the point when the hotend temperature should be manually set). But I don't always want to hang around a few minutes until that happens. The UM2 is reliable/repetable enough to hit print and go.

5 replies
 6778
Best replies 
Sort 
M
markwal 3D printing enthusiast Level: 11 Points: 129
Posts: 23
Location: United States Printers: Ultimaker 2+
Posted by
M
markwal

Posted May 24, 2015 - 6:47 PM

Well, you could leave the temp setting and the fan speed out of the start gcode in cura and then put them in the "start job" gcode in octoprint. Then you can adjust the gcode scripts in octoprint directly for each job. And then, if that works, a plugin writer could come along and make it easy to have start gcode selectable per job.

ultiarjan Ultimaker family Level: 84 Points: 6715
Posts: 3507
Location: Netherlands Printers: Ultimaker 2, Ultimaker 2 Go, Ultimaker 2+, Ultimaker 3
Posted by
ultiarjan

Posted May 25, 2015 - 7:25 AM

Here's the start code I use for UM2 on simplify3D, but can obviously also be used in Cura when you want to use RepRap (marlin/sprinter) i.s.o. UtiGcode.

I start the priming in the front-middle due to my 2head setup, so you probalby want to change to front-left.

G28 ; home all axes
G1 X110 Y45 F3000 ; bring extruder to the front
G92 E0 ; zero the extruded length
G1 Z30 ; lower
G1 E50 F225 ; purge nozzle with 50mm of filament
G1 X80 Y60 F3000 ; move aside of the puddle of primed plastic
G92 E0 ; zero the extruded length again

and the end code

G28  ; home all
M104 S0 ; turn off heaters
M140 S0 ; turn off bed
M84 ; disable motors

Nicolinux Moderator Points: 4026
Posts: 2685
Location: Wiesbaden, Germany Printers: Ultimaker 2+, Ultimaker 3
Posted by
Nicolinux

Posted May 25, 2015 - 7:42 AM

Thanks.

Yes, front left ist especially clever because the purged filament might catch on the metal clip which in turn decreases the chance it will follow the nozzle and ruin the first layer.

X
XYZPros Level 1 - Starter Points: 0
Posts: 1
Location: United States
Posted by
X
XYZPros

Posted May 1, 2016 - 1:20 PM

I've just started using S3D on my UM2. Can't thank you enough for posting your start code. The start code for the UM2 that came with the default set up for the Ultimaker2 Extended left a lot to be desired . . .

Purchased 2 Ultimaker2 Extended at the end of last year (after a 5 day, less than satisfying experience, with an Airwolf AXIOM) to augment my 17+ years of SolidWorks design work.

Starting to get the hang of it. S3D has some excellent features, but needless to say the learning curve is a bit steeper than Cura!

Thanks again . . .

saywhat Level 1 - Starter Points: 1
Posts: 7
Location: United Kingdom Printers: Ultimaker 2+, Ultimaker 2 Extended+
Posted by
saywhat

Posted Jan 30, 2017 - 7:34 AM

What end code would I use in addition with

G28 ; home all

M104 S0 ; turn off heaters

M140 S0 ; turn off bed

M84 ; disable motors

to also lower the um2+ buildplate, and switch off the fans once the nozzle has cooled down after a print?

I am using simplyfy3D, octoprint and um2+

5 replies
 6778
Best replies 
Sort 
Support