Prusa Knowledge Base
EN
  • Čeština
  • Español
  • Italiano
  • Deutsch
  • Polski
  • Français
Login

Insert pause or custom G-code at layer

Last updated 6 months ago
This article is also available in following languages: 
CSDEESFRITPL

Insert pause at layer

Inserting a pause at a certain height can be used to insert magnets, weights or nuts into your prints. When you resume the print, these inserted objects will get covered by the following layers.

  1. A pause can be inserted from the Preview window
  2. Drag the layer slider on the right to select the target layer
  3. Right-click on the orange plus icon
  4. Select Insert pause print (M601)
    • The pause will be inserted before the selected layer is being printed
  5. Insert a short message to be displayed on the printer LCD when the print is paused
    • e.g. “Place bearings in slots and resume printing
  6. Confirm the Pause by hitting OK

You can remove the pause by moving the slider to the pause layer and left-clicking on the grey cross icon.

You can edit the pause message by right-clicking on the grey cross icon.

You need PrusaSlicer 2.2 or newer to access the Insert pause and Insert custom G-code function.

Both of these features do not work if you have Sequential printing enabled.

This feature is also not supported in old printer firmwares (on the MK3/S/+ you need at least fw 3.9.1).

When you slice the print again with inserted print pauses, you’ll get time estimates till each pause. The printer will also signal the pause with a beep.
When inserting magnets, they need to be firmly in their slots. Otherwise, they’ll get stuck to the print head as it passes over them. Either design the slots with a tight tolerance or use a small drop of super glue to hold them in place.

Insert custom G-code at layer

Inserting custom G-code can be useful for advanced users when creating calibration G-code like a temperature tower. 

"With great power comes great responsibility"
Verify twice that you inserted the right G-codes and that you understand what they do. For example, with some G-codes you could accidentally override the EEPROM values or move the nozzle into the print bed.
  1. A custom G-code can be inserted from the Preview window
  2. Drag the layer slider on the right to select the target layer
  3. Right-click on the orange plus icon
  4. Select Add custom G-code
    • The custom G-code will be inserted before the selected layer is being printed
  5. Insert the custom G-code into the newly opened window. You can add several commands at once, simply press Enter to insert a new line
  6. Confirm by hitting OK

You can remove the custom G-code by moving the slider to the target layer and left-clicking on the grey cross icon.

You can edit the custom G-code by right-clicking on the grey cross icon.

Most commonly used Custom G-code commands

M104 - Set Hotend Temperature

M104 S260 ; set the current hotend temperature to 260 degrees
 

You can use this command to create a temperature tower by changing the hotend temperature at various layers.

M109 - Wait for Hotend Temperature

M109 S260 ; wait for the hotend to reach 260 degrees before proceeding

If the temperature is set with the letter S then M109 waits only when heating. If the temperature is set with the letter R then M109 will also wait for the temperature to go down.

Comments

Please sign in before adding a comment.
0
Still have questions?

Still have questions?

If you have a question about something that isn't covered here, check out our additional resources.
And if that doesn't do the trick, you can send an inquiry to info@prusa3d.com or through the button below.