Zy x z – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual
Page 272
8-52
8
Cycles
TNC 426/TNC 425/TNC 415 B/TNC 407
X
Y
16
20
1
2
3
60
30
25
20
15
70
24
12
Z
Y
X
Z
.
.
.
Example: Scaling factor
A contour (subprogram 1) is to be executed
as originally programmed at the manually
set datum X+0/Y+0, and then referenced to
position X+60/Y+70 and executed with a
scaling factor of 0.8.
SCALING FACTOR cycle in a part program
%S847I 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 (original size)
N70 G54 X+70 Y+60 *
N80 G72 F0,8 *
N90 L1,0 * .................................................................. Version 2 (shifted and reduced in size)
N100 G72 F1 * ........................................................... Cancel scaling factor
N110 G54 X+0 Y+0 * ................................................. Cancel datum shift
N120 Z+100 M02 *
N130 G98 L1 *
N250 G98 L0 *
N99999 %S847I G71 *
The corresponding subprogram (see page 8-45) is programmed after M2.
Same as subprogram on page 8-45