G4
created on
Friday, 21 November 2025
by
Stefan Trucker
bearbeitet am
Saturday, 20 December 2025
by
Stefan Trucker
Firmware
Klipper Marlin Repetier RepRap Firmware
G4 causes a pause in the G‑code execution. During this time, the printer performs no movement and does not extrude.
Two ways to specify the duration:
-
P = milliseconds
-
S = seconds
Sample Code
G4 P500 ; wait 500 ms
G4 S2 ; wait 2 seconds
Code in Ablage kopierenTypical use cases:
-
Heating or cooling delays
-
Waiting for fans to spin up
-
Extruder stabilization
-
Custom macros (e.g., filament change routines)
Werbung