<p>I am writing some G-code for my DIY 3D printer. From what I understand, <code>G4</code> is dwell and its expressed in milliseconds. So my extruder takes about 30 seconds to heat up. Do I just type </p>

<pre><code>G04 30000
</code></pre>

[{'answer_id': 4825, 'author': 'Mick', 'author_id': 3953, 'author_profile': 'https://3dprinting.stackexchange.com/users/3953', 'pm_score': 3, 'selected': True, 'text': '<p>You are correct about needing to specify the dwell value in milliseconds. However, the RepRap Wiki indicates that you need to use the <code>Pn</code> argument, and not just an unadorned number as the argument to the command. To adapt the Wiki\'s own example, you will need to use:</p>\n\n<pre><code>G4 P30000\n</code></pre>\n\n<p>This should cause the firmware to dwell (pause) for 30 seconds.</p>\n\n<p><a href="http://reprap.org/wiki/G-code#G4:_Dwell" rel="nofollow noreferrer">RepRap Wiki: G4: Dwell</a></p>\n'}, {'answer_id': 10006, 'author': 'Larry', 'author_id': 16541, 'author_profile': 'https://3dprinting.stackexchange.com/users/16541', 'pm_score': 2, 'selected': False, 'text': '<p>Depending on your G-code flavor you may be able to use <a href="https://reprap.org/wiki/G-code#M109:_Set_Extruder_Temperature_and_Wait" rel="nofollow noreferrer"><code>M109</code></a> (heat and wait) instead. If supported M109 will wait until the target temperature is achieved.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/4824', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/8837/']