Home › G-codes › Hurco WinMax (NC) › G04
G04 Dwell
Hurco WinMax (NC) G-code · Mill
Waits for a set time before the next block. The dwell value is also kept as the modal dwell for canned cycles.
Format
G04 {P or X}
Addresses
| Address | What it does |
|---|---|
P or X | Dwell time. With a decimal point it is seconds. Range .001 to 9999.999 |
How it works
Non modal, group 00. The dwell time stays modal for canned cycles.
Example program
T3 M06 (.500 COUNTERBORE)
G90 G54 G00 X1. Y1. S1200 M03 (HOLE POSITION)
G43 H03 Z.1 M08 (LENGTH OFFSET)
G01 Z-.25 F4. (FEED TO DEPTH)
…
G90 G54 G00 X1. Y1. S1200 M03 (HOLE POSITION)
G43 H03 Z.1 M08 (LENGTH OFFSET)
G01 Z-.25 F4. (FEED TO DEPTH)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G04 P5. is 5 seconds, but G04 P5 is .005 seconds in ISNC. An integer is scaled by Least Dwell Units, .001 or .0001.
- In Basic NC an integer is scaled by .01. G04 P30 is .3 seconds.
- In G95 the dwell counts spindle revolutions, not seconds.
- Hole cycles can pick up an old dwell. Program P0. to clear it.
Related codes
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 |
| Heidenhain TNC (ISO) | Dwell time |
| Fagor 8055 8065 | Dwell or stop block preparation |
| LinuxCNC Tormach | Dwell |
| Mach3 Mach4 | Dwell |
| Centroid CNC12 Acorn | Dwell |
| Fadal | Dwell |
| Swiss (Citizen Star) | Dwell |
Every G-code for Hurco WinMax (NC) 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 Hurco WinMax G-codes