Fundamentals, File Management | Creating and writing programs
3
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
131
Example
%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