hensen
Posts: 3
Joined: Thu Aug 25, 2016 5:58 am

The order of M106/M190 and M104/M109 gcodes in gcode files

Hi,
I've setup octoprint for some remote printing ffor my Ultimaker 2+, and I've stumbled upon some issues (not really deal breaker type issues, but things that could run smoother).

When I do a gcode export from S3D I get the following:

Code: Select all

M140 S95
M190 S95
M104 S260 T0
M109 S260 T0
Which means that when I submit the print, the printer first heats up the buildplate (M140) and waits for it to reach it's target temperature (M190), then it starts heating the extruder (M104) and waits for it to reach it's target temperature (M109).

This seams like a rather inefficient way of starting a print instead of doing:

Code: Select all

M140 S95
M104 S260 T0
M190 S95
M109 S260 T0
Where heaters for bed and extruder are turned on at once. Is there a specific reason that it's not done this way? And is it possible to reproduce the latter code in exports?

Br,
Henrik
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: The order of M106/M190 and M104/M109 gcodes in gcode fil

Might want to search around on the forum, as there is probably at least a dozen other similar threads. It works like this by default since many printers don't have a strong enough power supply to heat everything at once, in fact, some of the cheaper printers could actually break if you try to do this.

Do a search and you will find plenty of info about it. You can easily put the the heating commands in your starting script if you want to customize the order (just make sure your machine can support it, because many cannot!)
hensen
Posts: 3
Joined: Thu Aug 25, 2016 5:58 am

Re: The order of M106/M190 and M104/M109 gcodes in gcode fil

Thanks for your reply, I'll try and add a variable to my startup script an see how that works, I just wanted to make sure that I wasn't missing a checkbox somewhere.

Return to “Troubleshooting and Bug Reports”