Home › G-codes › Siemens 808D ISO › G04
G04 Dwell
Siemens 808D ISO G-code · Mill, Lathe
On mills: Dwell
Pauses between two blocks for a set time, or for a number of spindle revolutions if machine data is set that way. Used to clean up the bottom of a plunge or counterbore.
Format
Addresses
| Address | What it does |
|---|---|
X | Dwell time, decimal point allowed |
P | Dwell time in internal units, no decimal point. P1000 is 1 second |
How it works
Non-modal, group 18. Must be alone in its block.
Example program
G43 Z5. H03 (LENGTH OFFSET)
G01 Z-6. F80. (PLUNGE TO DEPTH)
G04 X1.5 (DWELL 1.5 SECONDS)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- X without a decimal point is also scaled. In standard notation X1000 is 1 second, in pocket calculator notation it is 1000 seconds. Write X1.5 to be safe.
- With MD20734 EXTERN_FUNCTION_MASK bit 2 set, the dwell is in seconds in G94 but in spindle revolutions in G95.
On lathes: Dwell
Waits for a set time before the next block, for example to clean up the bottom of a groove. With MD20734 bit 2 set, the dwell is in spindle revolutions while G99 is active.
Format
Addresses
| Address | What it does |
|---|---|
X | Dwell, decimal point allowed |
P | Dwell, no decimal point allowed |
How it works
Non-modal, G group 18.
Example program
G01 X30.0 F0.05 (FEED INTO GROOVE)
G04 X0.5 (DWELL AT GROOVE BOTTOM)
G00 X42.0 (RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- G04 must be alone in its block.
- MD20734 EXTERN_FUNCTION_MASK bit 2 = 0: always seconds. Bit 2 = 1: seconds in G98 but spindle revolutions in G99.
- Without a decimal point the value may be scaled. In standard notation G04 X1000 is 1 second, in pocket calculator notation 1000 seconds.
Related codes
G82 · G89 · G94 · G95 · G98 · G99
G04 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 |
| Siemens 808D | 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 |
| Centroid CNC12 Acorn | Dwell |
| Hurco WinMax (NC) | Dwell |
| Fadal | Dwell |
| Swiss (Citizen Star) | Dwell |
Every G-code for Siemens 808D ISO 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 G04 in the app All Siemens 808D ISO G-codes