CNC Machinist Calculator Ultra

Home › G-codes › Heidenhain TNC (ISO) › G251

G251 Rectangular pocket complete

Heidenhain TNC (ISO) G-code · Mill

Roughs and finishes a rectangular pocket with corner radius and allowances. Klartext: CYCL DEF 251 RECTANGULAR POCKET.

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

Format

G251 Q215 Q218 Q219 Q220 Q368 Q224 Q367 Q207 Q351 Q201 Q202 Q369 Q206 Q338 Q200 Q203 Q204 Q370 Q366 Q385

Addresses

AddressWhat it does
Q215Machining operation, 0 rough and finish
Q218 Q219First and second side length
Q220Corner radius
Q201Depth
Q202Plunging depth
Q366Plunging strategy, helix or reciprocating

How it works

DEF active. Runs only with G79, M99 or M89 at the pocket position.

Example program

N50 G251 RECTANGULAR POCKET
Q215=0 ;MACHINING OPERATION
Q218=80 ;FIRST SIDE LENGTH
Q219=60 ;2ND SIDE LENGTH
…

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

Watch out for

Related codes

G252 · G79

Every G-code for Heidenhain TNC (ISO) 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 G251 in the app All Heidenhain TNC G-codes

App Store Google Play