beautypg.com

Xy z, Yx z – HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 253

background image

8-46

8

Cycles

TNC 407/TNC 415 B/TNC 425

8.5

Coordinate Transformation Cycles

X

Y

Z

25

30

40

20

60

15

1

2

30

25

20

15

Y

X

Z

Example: Datum shift

A machining sequence in the form of a sub-
program is to be executed twice:

a)

once, referenced to the specified

datum

1

X+0/Y+0 and

b)

a second time, referenced to the shifted
datum

2

X+40/Y+60.

Cycle in a part program

0

BEGIN PGM DATUM 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

TOOL DEF 1 L+0 R+4

4

TOOL CALL 1 Z S1000

5

L Z+100 R0 F MAX

6

CALL LBL 1 ........................................................ Without datum shift

7

CYCL DEF 7.0 DATUM SHIFT

8

CYCL DEF 7.1 X+40

9

CYCL DEF 7.2 Y+60

10

CALL LBL 1 ........................................................ With datum shift

11

CYCL DEF 7.0 DATUM SHIFT ............................ Cancellation of datum shift

12

CYCL DEF 7.1 X+0

13

CYCL DEF 7.2 Y+0

14

L Z+100 R0 F MAX M2

15

LBL 1

LBL 0
END PGM DATUM MM

.

.

.