beautypg.com

Scaling factor (g72) -51, Scaling (g72) – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 271

background image

8-51

8

Cycles

TNC 426/TNC 425/TNC 415 B/TNC 407

8.5

Coordinate Transformations

ROTATION cycle in a part program

%S846I G71 * ............................................................ Start of program
N10 G30 G17 X+0 Y+0 Z–20 * .................................. Define workpiece blank
N20 G31 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+4 * .............................................. Define tool
N40 T1 G17 S1500 * .................................................. Call tool
N50 G00 G40 G90 Z+100 * ....................................... Retract in the infeed axis
N60 L1,0 * .................................................................. Version 1 (not rotated)
N70 G54 X+70 Y+60 *
N80 G73 G90 H+35 *
N90 L1,0 * .................................................................. Version 2 (shifted and rotated)
N100 G73 G90 H+0 * ................................................. Cancel rotation
N110 G54 X+0 Y+0 * ................................................. Cancel datum shift
N120 Z+100 M02 *

N130 G98 L1 *

N250 G98 L0 *
N99999 %S846I G71 *

The corresponding subprogram (see page 8-45) is programmed after M2.

SCALING FACTOR (G72)

Application

G72 allows contours to be enlarged or reduced in size within a program,
enabling you to program shrinkage and oversize allowances.

Activation

A scaling factor becomes effective as soon as it is defined.
The scaling factor can be applied

• in the machining plane, or on all three main axes at the same time

(depending on MP 7410)

• to the dimensions in cycles
• to the parallel axes U, V, W

Input data

The cycle is defined by entering the factor

F. The control then multiplies

the coordinates and radii by

F (as described under Activation above).

Enlargement:

F > 1 (up to 99.999 999)

Reduction:

F < 1 (down to 0.000 001)

Cancellation

To cancel the scaling factor, enter a scaling factor of 1 in the SCALING
FACTOR cycle.

Prerequisite

It is advisable to set the datum to an edge or a corner of the contour
before enlarging or reducing the contour.

.

.

.

Same as subprogram on page 8-45