Zy x z – HEIDENHAIN TNC 360 ISO Programming User Manual
Page 190

8-37
8
Cycles
TNC 360
Example: Scaling factor
A contour (subprogram 1) is to be executed
once – as originally programmed – referenced
to the manually set datum X+0/Y+0 and then
executed again referenced to X+60/Y+70 and
reduced by a scaling factor of 0.8.
SCALING FACTOR cycle in a part program
%S847I G71 * ............................................................ Begin 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 * .............................................. Tool definition
N40 T1 G17 S1500 * .................................................. Tool call
N50 G00 G40 G90 Z+100 * ........................................ Retract the tool
N60 L1,0 * .................................................................. Execute sequence 1 at original size
N70 G54 X+70 Y+60 *
N80 G72 F0.8 *
N90 L1,0 * .................................................................. Execute sequence 2 with datum shift and scaling factor
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 *
N9999 %S847I G71 *
The corresponding subprogram (see page 8-32) is programmed after M2.
8.4
Cycles for Coordinate Transformations
X
Y
16
20
1
2
3
60
30
25
20
15
70
24
12
Z
Y
X
Z
.
.
.
This subprogram is identical to the subpro-
gram shown on page 8-32