Opening programs and entering 3.2 – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 99

Advertising
background image

Opening programs and entering

3.2

3

TNC 620 | User's ManualDIN/ISO Programming | 2/2015

99

Example: Display the BLK FORM CYLINDER in the NC program

%NEW G71 *

Program begin, name, unit of measure

N10 BLK FORM CYLINDER Z R50 L105 DIST+5 RI10

Spindle axis, radius, length, distance, inside radius

N99999999 %NEW G71 *

Program end, name, unit of measure

Rotationally symmetric blank of any shape

You define the contour of the rotationally symmetric blank in a

subprogram. Use X, Y or Z as the rotation axis.
In the workpiece blank definition you refer to the contour

description:

DIM_D, DIM-R: Diameter or radius of the rotationally

symmetrical blank form
LBL: Subprogram with the contour description

The contour description may contain negative values in the rotation

axis but only positive values in the reference axis. The contour

must be closed, i.e. the contour beginning corresponds to the

contour end.

The subprogram can be designated with a number,

an alphanumeric name, or a QS parameter.

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