Home › G-codes › Swiss (Citizen Star) › G04
G04 Dwell
Swiss (Citizen Star) G-code · Lathe
Pauses the path for a set time. Swiss programs use it after collet moves and before cut-off so the chuck or sub spindle has time to act.
Format
G04 U | G04 X | G04 P
Addresses
| Address | What it does |
|---|---|
U X | Dwell time in seconds |
P | Dwell in milliseconds, no decimal |
How it works
One shot.
Example program
M15 (CITIZEN BACK CHUCK CLOSE)
G04 U.5 (LET THE COLLET GRIP)
G01 X-.04 F.0008 (CUT OFF)
G04 U.5 (LET THE COLLET GRIP)
G01 X-.04 F.0008 (CUT OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- A short G04 U.5 after a sub collet close gives the collet time to grip before the cut-off tool feeds in.
- P with a decimal point is not allowed on most controls.
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 |
| Hurco WinMax (NC) | Dwell |
| Fadal | Dwell |
Every G-code for Swiss (Citizen Star) 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 Swiss G-codes