CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G4

G4 Dwell

Mach3 Mach4 G-code · Mill

Pauses motion for the time in P. Spindle and coolant stay as they are.

Format

G4 P

Addresses

AddressWhat it does
PDwell time, seconds or milliseconds depending on setup

How it works

Non modal. Only acts in its own block.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y1.0 (TO POSITION)
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G82 · G89

G4 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucDwell
Haas NGCDwell
Mazak (EIA)Dwell
Okuma OSPDwell
Mitsubishi M70 M80Dwell
Brother SpeedioDwell
Siemens 840D 828DDwell for time or spindle revolutions
Heidenhain TNC (ISO)Dwell time
Fagor 8055 8065Dwell or stop block preparation
LinuxCNC TormachDwell
Centroid CNC12 AcornDwell
Hurco WinMax (NC)Dwell
FadalDwell
Swiss (Citizen Star)Dwell

Every G-code for Mach3 Mach4 in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G4 in the app All Mach3 Mach4 G-codes

App Store Google Play