CNC Machinist Calculator Ultra

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

G240 Centering cycle

Heidenhain TNC (ISO) G-code · Mill

Spot drills to a depth or to a countersink diameter. Klartext: CYCL DEF 240 CENTERING.

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

Format

G240 Q200 Q343 Q201 Q344 Q206 Q211 Q203 Q204

Addresses

AddressWhat it does
Q3430 for depth, 1 for diameter
Q201Depth
Q344Diameter of the countersink
Q206Plunging feed rate

How it works

DEF active. Runs only with G79, M99 or M89.

Example program

N50 G240 CENTERING
Q200=2 ;SET-UP CLEARANCE
Q343=1 ;SELECT DIA.OR DEPTH
Q344=-9 ;DIAMETER
…

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

Watch out for

Related codes

G200

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 G240 in the app All Heidenhain TNC G-codes

App Store Google Play