Home › G-codes › Haas NGC › G150
G150 General purpose pocket milling
Haas NGC G-code · Mill
Roughs and finishes a pocket of any shape. The pocket outline is in a subprogram called with P. Each depth pass steps down by Q.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G150 X Y Z R Q P D I J K F
Addresses
| Address | What it does |
|---|---|
X Y | Start point inside the pocket |
Z | Final pocket depth |
R | R plane |
Q | Depth of each pass, incremental |
P | Subprogram number with the pocket outline |
D | Diameter offset number |
I J | Cut step over along X or Y |
K | Finish pass stock |
F | Feed rate |
How it works
Non-modal, group 00.
Example program
T2 M06 (.5 END MILL)
G90 G54 G00 X1. Y1. S2500 M03 (START POINT)
G43 H02 Z.1 M08 (APPROACH)
G150 X1. Y1. Z-.5 R.1 Q.1 P1005 D02 I.3 K.01 F20. (POCKET FROM SUB 1005)
…
G90 G54 G00 X1. Y1. S2500 M03 (START POINT)
G43 H02 Z.1 M08 (APPROACH)
G150 X1. Y1. Z-.5 R.1 Q.1 P1005 D02 I.3 K.01 F20. (POCKET FROM SUB 1005)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The outline subprogram must form a closed shape and start and end at the same point.
- Pre drill the start point if the cutter cannot plunge.
Related codes
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 G150 in the app All Haas NGC G-codes