HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual

Page 102

Advertising
background image

Programming: Fundamentals, File Management

3.2

Opening programs and entering

3

102

TNC 640 | User's ManualDIN/ISO Programming | 1/2015

Example: Display the BLK FORM ROTATION in the NC program

%NEW G71 *

Program begin, name, unit of measure

N10 BLK FORM ROTATION Z DIM_R LBL1

Spindle axis, manner of interpretation, subprogram number

N20 M30 *

End of main program

N30 G98 L1 *

Beginning of subprogram

N40 G01 X+0 Z+1 *

Starting point of contour

N50 G01 X+50 *

Programming in the positive direction of the principal axis

N60 G01 Z-20 *
N70 G01 X+70 *
N80 G01 Z-100 *
N90 G01 X+0 *
N100 G01 Z+1 *

Contour end

N110 G98 L0 *

End of subprogram

N99999999 %NEW G71 *

Program end, name, unit of measure

Advertising