CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G156

G156 Broaching canned cycle

Haas NGC G-code · Lathe

Pecks a stationary broach tool along Z to cut keyways or splines in a bore. The main spindle is oriented with M19 first. Needs software 100.20.000.1000 or later.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G156 Z [W] K [X] [U] [I] [Y] [V] [C] [D] F

Addresses

AddressWhat it does
ZTotal depth along Z
WIncremental total depth
KPeck length along Z
XDiameter of the last slice
UIncremental X to the last slice
IX step between slices
Y VY position or increment, optional
CC axis position
DClearance when returning
FFeed per minute

How it works

Modal, group 09. Cancel with G80.

Example program

T0808 (.125 KEYWAY BROACH)
M19 P0 (ORIENT SPINDLE)
G98 (FEED PER MINUTE)
G00 G54 X.98 Z.1 (START INSIDE 1.0 BORE)
…

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

Watch out for

Related codes

G80

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 G156 in the app All Haas NGC G-codes

App Store Google Play