HEIDENHAIN TNC 360 ISO Programming User Manual

Page 187

Advertising
background image

8-34

8

Cycles

TNC 360

The subprogram is identical to the subpro-
gram shown on page 8-32

8.4

Cycles for Coordinate Transformations

X

Y

Z

70

60

2

3

1

30

25

20

15

Y

X

Z

.

.

.

Example: Mirror Image

A machining sequence (subprogram 1) is to be
executed once – as originally programmed –
referenced to the datum X+0/Y+0

1

and then

again referenced to X+70/Y+60

2

mirrored

3

in X.

MIRROR IMAGE cycle in a part program

%S844I 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, not mirrored
N70 G54 X+70 Y+60 * ............................................... Datum shift
N80 G28 X * ............................................................... Activate mirror image
N90 L1,0 * .................................................................. Execute sequence 2 with datum shift and mirror image
N100 G28 * ................................................................ Cancel mirror image
N110 G54 X+0 Y+0 * ................................................. Cancel datum shift
N120 Z+100 M02 *

N130 G98 L1 *

N250 G98 L0 *
N9999 %S844I G71 *

Advertising
This manual is related to the following products: