CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G254

G254 Dynamic work offset

Haas NGC G-code · Mill

DWO updates the work offset as the rotary axes move, so a 3 plus 2 program stays correct with the part anywhere on the table.

Format

G254

How it works

Modal, group 23. Cancel with G255.

Example program

G90 G54 G00 B45. C90. (TILT AND ROTATE THE PART)
G254 (DWO ON)
G43 H01 Z1. (LENGTH COMP ON)
M98 P1008 (CUT THE FACE)
…

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

Watch out for

Related codes

G255 · G234

Every G-code for Haas NGC 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 G254 in the app All Haas NGC G-codes

App Store Google Play