Home › G-codes › Centroid CNC12 Acorn › G4
G4 Dwell
Centroid CNC12 Acorn G-code · Mill and lathe
Stops motion for the time in P, in seconds. The dwell starts after motion stops and M codes on the line are done.
Format
G4 P
Addresses
| Address | What it does |
|---|---|
P | Dwell time in seconds, .01 to 327.67 |
X | Used as the time if P is missing |
How it works
One shot.
Example program
G20 G17 G40 G49 G80 G90 ; INCH, SAFE START
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S1500 M3
…
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S1500 M3
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P is in seconds, not milliseconds. G4 P500 is far longer than you want.
- With no P or X the dwell is .01 second.
Related codes
G4 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Dwell |
| Haas NGC | Dwell |
| Mazak (EIA) | Dwell |
| Okuma OSP | Dwell |
| Mitsubishi M70 M80 | Dwell |
| Brother Speedio | Dwell |
| Siemens 840D 828D | Dwell for time or spindle revolutions |
| Heidenhain TNC (ISO) | Dwell time |
| Fagor 8055 8065 | Dwell or stop block preparation |
| LinuxCNC Tormach | Dwell |
| Mach3 Mach4 | Dwell |
| Hurco WinMax (NC) | Dwell |
| Fadal | Dwell |
| Swiss (Citizen Star) | Dwell |
Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes