beautypg.com

5 coor dinat e t ransf or mation cy cles – HEIDENHAIN TNC 406 User Manual

Page 185

background image

164

8 Programming: Cycles

8.5 Coor

dinat

e

T

ransf

or

mation Cy

cles

MIRROR IMAGE cycle in a part program:

Practice example: Mirror image

A program section (subprogram 1) is to be
executed once as originally programmed at
position X+0/Y+0 1, and then once mirrored in X3
at position X+70/Y+602.

15

1

2

25

Y

X

3

30

20

60

70

Y

Z

X

Z

0 PGM MIRROR MM

1 BLK FORM 0.1 Z X+0 Y+0 Z–20

2 BLK FORM 0.2 X+100 Y+100 Z+0

3 CYCL DEF 1.0 GENERATOR

Cycle GENERATOR (see ”Cycle 1 GENERATOR” on page 133)

4 CYCL DEF 1.1 P-TAB CUST1

Select erosion table (here, CUST1)

5 CYCL DEF 1.2 MAX=12 MIN=12

Select power stage

6 TOOL DEF 1 L+0 R+3

Define the tool

7 TOOL CALL 1 Z U+0

Tool call

8 L Z+100 R0 F MAX M

9 CALL LBL 1

Unmirrored 1; mirrored version

10 CYCL DEF 7.0 DATUM SHIFT

1. Datum shift 2

11 CYCL DEF 7.1 X+70

12 CYCL DEF 7.2 Y+60

13 CYCL DEF 8.0 MIRROR IMAGE

2. Mirror image 3

14 CYCL DEF 8.1 X

15 CALL LBL 1

3. Subprogram call

This manual is related to the following products: