DIN/ISO Function Overview Heidenhain TNC 640/530/410/426/430/320 G Functions.
Contents
- Heidenhain ISO G Codes
- Tool movements
- Chamfer/Rounding/Approach contour/Depart contour
- Tool definition
- Tool radius compensation
- Blank form definition for graphics
- Cycles for drilling, tapping and thread milling
- Cycles for creating point patterns
- SL Cycles, group 1
- SL cycles, group 2
- Coordinate transformation
- Cycles for multipass milling
- Special cycles
- Define machining plane
- Dimensions
- Unit of measure
- Other G functions
- Cycles for drilling, tapping and thread milling
- Cycles for drilling, tapping and thread milling
- Cycles for milling pockets, studs and slots
- Cycles for milling pockets, studs and slots
- Cycles for creating point patterns
- Cycles for multipass milling
- Touch probe cycles for measuring workpiece misalignment
- Touch probe cycles for datum setting
- Touch probe cycles for workpiece measurement
- Touch probe cycles for tool measurement
Heidenhain ISO G Codes
Tool movements
G code | Description |
---|---|
G00 | Straight-line interpolation, Cartesian coordinates, rapid traverse |
G01 | Straight-line interpolation, Cartesian coordinates |
G02 | Circular interpolation, Cartesian coordinates, clockwise |
G03 | Circular interpolation, Cartesian coordinates, counterclockwise |
G05 | Circular interpolation, Cartesian coordinates, without indication of direction |
G06 | Circular interpolation, Cartesian coordinates, tangential contour approach |
G07 | Paraxial positioning block |
G10 | Straight-line interpolation, polar coordinates, rapid traverse |
G11 | Straight-line interpolation, polar coordinates |
G12 | Circular interpolation, polar coordinates, clockwise |
G13 | Circular interpolation, polar coordinates, counterclockwise |
G15 | Circular interpolation, polar coordinates, without indication of direction |
G16 | Circular interpolation, polar coordinates, tangential contour approach |
Chamfer/Rounding/Approach contour/Depart contour
G code | Description |
---|---|
G24 | Chamfer with length R |
G25 | Corner rounding with radius R |
G26 | Tangential contour approach with radius R |
G27 | Tangential contour approach with radius R |
Tool definition
G code | Description |
---|---|
G99 | With tool number T, length L, radius R |
Tool radius compensation
G code | Description |
---|---|
G40 | No tool radius compensation |
G41 | Tool radius compensation, left of the contour |
G42 | Tool radius compensation, right of the contour |
G43 | Paraxial compensation for G07, lengthening |
G44 | Paraxial compensation for G07, shortening |
Blank form definition for graphics
G code | Description |
---|---|
G30 | (G17/G18/G19) min. point |
G31 | (G90/G91) max. point |
Cycles for drilling, tapping and thread milling
G code | Description |
---|---|
G83 | Pecking |
G84 | Tapping with a floating tap holder |
G85 | Rigid tapping |
G86 | Thread cutting |
G200 | Drilling |
G201 | Reaming |
G202 | Boring |
G203 | Universal drilling |
G204 | Back boring |
G205 | Universal pecking |
G206 | Tapping with a floating tap holder |
G207 | Rigid tapping |
G208 | Bore milling |
G209 | Tapping with chip breaking |
Cycles for creating point patterns
G code | Description |
---|---|
G220 | Circular pattern |
G221 | Linear pattern |
SL Cycles, group 1
G code | Description |
---|---|
G37 | Contour geometry, list of subcontour program numbers |
G56 | Pilot drilling |
G57 | Rough-out |
G58 | Contour milling in clockwise direction (finishing) |
G59 | Contour milling, counterclockwise (finishing) |
SL cycles, group 2
G code | Description |
---|---|
G37 | Contour geometry, list of subcontour program numbers |
G120 | Contour data (applies to G121 to G124) |
G121 | Pilot drilling |
G122 | Rough-out |
G123 | Floor finishing |
G124 | Side finishing |
G125 | Contour train (machining open contour) |
G127 | Cylinder surface |
G128 | Cylindrical surface slot |
Coordinate transformation
G code | Description |
---|---|
G53 | Datum shift in datum table |
G54 | Datum shift in program |
G28 | Mirror image |
G73 | Rotation of the coordinate system |
G72 | Scaling factor (reduce or enlarge contour) |
G80 | Tilting the working plane |
G247 | Datum setting |
Cycles for multipass milling
G code | Description |
---|---|
G60 | Run 3-D data |
G230 | Multipass milling of plane surfaces |
G231 | Multipass milling of tilted surfaces |
G232 | Face milling |
Special cycles
G code | Description |
---|---|
G04 | Dwell time with F seconds |
G36 | Spindle orientation |
G39 | Program call |
G62 | Tolerance deviation for fast contour milling |
G440 | Measure axis shift |
G441 | Fast probing |
Define machining plane
G code | Description |
---|---|
G17 | Working plane X/Y, tool axis Z |
G18 | Working plane Z/X, tool axis Y |
G19 | Working plane Y/Z, tool axis X |
G20 | Tool axis IV |
Dimensions
G code | Description |
---|---|
G90 | Absolute dimensions |
G91 | Incremental dimensions |
Unit of measure
G code | Description |
---|---|
G70 | Inches (set at start of program) |
G71 | Millimeters (set at start of program) |
Other G functions
G code | Description |
---|---|
G29 | Transfer the last nominal position value as a pole (circle center) |
G38 | STOP program run |
G51 | Next tool number (with central tool file) |
G79 | Cycle call |
G98 | Set label number |
Cycles for drilling, tapping and thread milling
G code | Description |
---|---|
G240 | Centering |
G200 | Drilling |
G201 | Reaming |
G202 | Boring |
G203 | Universal drilling |
G204 | Back boring |
G205 | Universal pecking |
G206 | Tapping with a floating tap holder |
G207 | Rigid tapping |
G208 | Bore milling |
G209 | Tapping with chip breaking |
G241 | Single-lip deep-hole drilling |
Cycles for drilling, tapping and thread milling
G code | Description |
---|---|
G262 | Thread milling |
G263 | Thread milling/countersinking |
G264 | Thread drilling/milling |
G265 | Helical thread drilling/milling |
G267 | External thread milling |
Cycles for milling pockets, studs and slots
G code | Description |
---|---|
G74 | Slot milling |
G75 | Rectangular pocket milling in clockwise direction |
G76 | Rectangular pocket milling in counterclockwise direction |
G77 | Circular pocket milling in clockwise direction |
G78 | Circular pocket milling in counterclockwise direction |
G210 | Slot milling with reciprocating plunge |
G211 | Round slot with reciprocating plunge |
G212 | Rectangular pocket finishing |
G213 | Rectangular stud finishing |
G214 | Circular pocket finishing |
G215 | Circular stud finishing |
Cycles for milling pockets, studs and slots
G code | Description |
---|---|
G251 | Rectangular pocket, complete |
G252 | Circular pocket, complete |
G253 | Slot, complete |
G254 | Circular slot, complete |
G256 | Rectangular stud |
G257 | Circular stud |
Cycles for creating point patterns
G code | Description |
---|---|
G220 | Circular point pattern |
G221 | Point patterns on lines |
Cycles for multipass milling
G code | Description |
---|---|
G230 | Multipass milling of smooth surfaces |
G231 | Multipass milling of tilted surfaces |
G232 | Face milling |
Touch probe cycles for measuring workpiece misalignment
G code | Description |
---|---|
G400 | Basic rotation using two points |
G401 | Basic rotation from two holes |
G402 | Basic rotation from two studs |
G403 | Compensate a basic rotation via a rotary axis |
G404 | Set basic rotation |
G405 | Compensating misalignment with the C axis |
Touch probe cycles for datum setting
G code | Description |
---|---|
G408 | Slot center reference point |
G409 | Reference point at center of hole |
G410 | Datum from inside of rectangle |
G411 | Datum from outside of rectangle |
G412 | Datum from inside of circle |
G413 | Datum from outside of circle |
G414 | Datum in outside corner |
G415 | Datum in inside corner |
G416 | Datum circle center |
G417 | Datum in touch probe axis |
G418 | Datum in center of 4 holes |
G419 | Reference point in selectable axis |
Touch probe cycles for workpiece measurement
G code | Description |
---|---|
G55 | Measure any coordinate |
G420 | Measure any angle |
G421 | Measure hole |
G422 | Measure cylindrical stud |
G423 | Measure rectangular pocket |
G424 | Measure rectangular stud |
G425 | Measure slot |
G426 | Measure ridge |
G427 | Measure any coordinate |
G430 | Measure circle center |
G431 | Measure any plane |
Touch probe cycles for tool measurement
G code | Description |
---|---|
G480 | Calibrating the TT |
G481 | Measure tool length |
G482 | Measure tool radius |
G483 | Measure tool length and tool radius |