CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G04

G04 Dwell

Okuma OSP G-code · Mill, Lathe

On mills: Dwell

Pauses the program for a set time before the next block runs. Used to clean up a hole bottom or let the spindle settle.

Format

G04 F

Addresses

AddressWhat it does
FDwell time, normally seconds

How it works

One shot. Active only in its own block.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. S1200 M03 (OVER THE HOLE)
N3 G56 Z.1 H1 (LENGTH OFFSET)
…

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

Watch out for

On lathes: Dwell

Holds the next block for a set time after the previous block ends. Used at the bottom of a groove.

Format

G04 F

Addresses

AddressWhat it does
FDwell time

How it works

One shot.

Example program

O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X2.2 Z-1. T050505 (.125 GROOVE TOOL)
N3 G97 S800 M03 (800 RPM)
…

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

Watch out for

Related codes

G82 · G73

G04 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucDwell
Haas NGCDwell
Mazak (EIA)Dwell
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
Mach3 Mach4Dwell
Centroid CNC12 AcornDwell
Hurco WinMax (NC)Dwell
FadalDwell
Swiss (Citizen Star)Dwell

Every G-code for Okuma OSP 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 Okuma OSP G-codes

App Store Google Play