<p>My printer has an auto-leveling feature that works by touching the build plate with the tip of the nozzle.</p>

<p>I started using a BuildTak surface and BuildTak is damaged when you push a hot nozzle into it.</p>

<p>So I edited the start G-code to run the auto-leveling before heating up the hotend</p>

<p>But ABS doesn't stick to the build surface unless I pre-heat the hotend and wait about a minute.</p>

<p>So now I'm looking for a G-code command to put at the end of the start G-code that will make the printer wait a minute before printing</p>

<p>The sequence I'm looking for is:</p>

<ul>
<li>Heat up the bed</li>
<li>Auto level</li>
<li>Raise the hotend a little bit so it doesn't touch the build plate</li>
<li>Heat up the hotend</li>
<li><em>Wait a minute (that's the only part that is missing, everything else works)</em></li>
<li>Start printing</li>
</ul>

<p>Any way to insert a delay into the G-code?</p>

<p>I'm using Cura to slice/print, my printer is Robo3D R1+</p>

[{'answer_id': 523, 'author': 'Tormod Haugene', 'author_id': 115, 'author_profile': 'https://3dprinting.stackexchange.com/users/115', 'pm_score': 4, 'selected': False, 'text': '<p>An alternative solution to using a hard delay with the <a href="http://reprap.org/wiki/G-code#G4:_Dwell">G4 dwell command</a>, is to increase the time that the temperature set with <a href="http://reprap.org/wiki/G-code#M109:_Set_Extruder_Temperature_and_Wait">M109</a> has to be held before it continues with the next command.</p>\n\n<p>In Marlin, this setting is named <code>TEMP_RESIDENCY_TIME</code>, and can be found around line 150 in <code>Configuration.h</code>. By default, this is set to 5 seconds, which looks like:</p>\n\n<pre><code>// Actual temperature must be close to target for this long before M109 returns success\n#define TEMP_RESIDENCY_TIME 5  // (seconds)\n</code></pre>\n\n<p>If increasing this setting solves your exact problem, I cannot say, but it could be worth looking into.</p>\n'}, {'answer_id': 526, 'author': 'Lars Pötter', 'author_id': 204, 'author_profile': 'https://3dprinting.stackexchange.com/users/204', 'pm_score': 6, 'selected': True, 'text': '<p>The G-code to delay is <code>G4</code>.</p>\n\n<p><code>G4 P60000</code> will wait for one minute. The <code>P</code> is in milliseconds. Some firmware also accept a <code>S</code> Parameter that has the seconds. So, if supported, <code>G4 S60</code> would do the same thing.</p>\n\n<p>The details for this and all other G-codes are documented\n<a href="http://reprap.org/wiki/G-code" rel="noreferrer">here</a>.</p>\n'}, {'answer_id': 5578, 'author': 'Fernando Baltazar', 'author_id': 4454, 'author_profile': 'https://3dprinting.stackexchange.com/users/4454', 'pm_score': 1, 'selected': False, 'text': '<p>I´m using this code for my prints.</p>\n\n<pre><code>    G29 ; Autonivel\n    M190 S35 ; set bed temperature\n    G1 Z4 F240 ; lift nozzle\n    M109 S195 ; wait for temperature to be reached\n    G21 ; set units to millimeters\n    G90 ; use absolute coordinates\n    M82 ; use absolute distances for extrusion\n    M104 S210 ; set temperature\n    G92 E0\nG1 E-1.5000 F1800\nG1 Z0.225 F240\n</code></pre>\n\n<p>On M190 S35, the nozzle is still on the low position (1.2mm), then goes to 4mm then waits for the extruder temperature Ex. 195°C; when the extruder reach the 195°C for 10 seconds then the printers starts to print going the nozzle to 0.22mm while the nozzle reach the second temperature of 210°C. On This time its allow me to clean the nozzle and normalize the temperatures for a good prints.</p>\n\n<p><strong>Note:</strong>\nTo avoid the nozzle stays many time on low position (1.2mm) normally I preheat the bed at 35°C. some times to heat the bed takes a longer time than heating the nozzle. This is the main reason that I prefer to preheat the printer.</p>\n'}, {'answer_id': 20180, 'author': 'Shawn Clarady', 'author_id': 35986, 'author_profile': 'https://3dprinting.stackexchange.com/users/35986', 'pm_score': 1, 'selected': False, 'text': '<p>Thank you Fernando Baltazar for the G-code you used to solve the hot end cooling issue after bed levelling probing. I did change <code>M190</code> to <code>S60</code> but kept everything else. This worked.</p>\n<pre><code>G29 ; Autonivel\nM190 S35 ; set bed temperature\nG1 Z4 F240 ; lift nozzle\nM109 S195 ; wait for temperature to be reached\nG21 ; set units to millimeters\nG90 ; use absolute coordinates\nM82 ; use absolute distances for extrusion\nM104 S210 ; set temperature\nG92 E0\nG1 E-1.5000 F1800\nG1 Z0.225 F240\n</code></pre>\n'}]
['https://3dprinting.stackexchange.com/questions/522', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/170/']