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

An alternative solution to using a hard delay with the
G4 dwell command
, is to increase the time that the temperature set with
M109
has to be held before it continues with the next command.
In Marlin, this setting is named
```
TEMP_RESIDENCY_TIME
```
, and can be found around line 150 in
```
Configuration.h
```
. By default, this is set to 5 seconds, which looks like:
```
```
// Actual temperature must be close to target for this long before M109 returns success
#define TEMP_RESIDENCY_TIME 5  // (seconds)
```
```
If increasing this setting solves your exact problem, I cannot say, but it could be worth looking into.