{"id":"gcode-g04","model_id":"G4","name":"LinuxCNC G4 Dwell","summary":"G4 is a dwell command in LinuxCNC G-code. It pauses all axis motion for the time given by the P word in seconds. It does not affect spindle, coolant, or I/O.","study_notes":["Dwell time is a floating point value, so fractions of a second are allowed.","Example: G4 P0.5 waits for 0.5 seconds before proceeding.","G4 does not affect spindle, coolant, or any I/O."],"safety_notes":["Operating limit: the P number must be specified and must not be negative."],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g4","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":6,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G4","syntax":"G4 P-","parameters":[{"name":"P","data_type":"floating point","description":"Seconds to dwell; all axes remain unmoving. Fractions of a second may be used."}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g04","license":"https://creativecommons.org/licenses/by/4.0/"}