HEIDENHAIN TNC 407 (280 580) User Manual User Manual
Page 258

8-51
8
Cycles
TNC 407/TNC 415 B/TNC 425
Coordinate Transformation Cycles
X
Y
Z
70
60
2
3
1
30
25
20
15
Y
X
Z
Example: Mirror image
A program section (subprogram 1) is to be exe-
cuted once – as originally programmed – at
position X+0/Y+0
1
, and then mirrored once
in X
3
at position X+70/Y+60
2
.
Cycle MIRROR IMAGE in a part program
0
BEGIN 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
TOOL DEF 1 L+0 R+4
4
TOOL CALL 1 Z S1000
5
L Z+100 R0 F MAX
6
CALL LBL 1 ........................................................ Not mirrored
1
; mirrored execution: sequence
7
CYCL DEF 7.0 DATUM SHIFT ............................ 1. Datum shift
2
8
CYCL DEF 7.1 X+70
9
CYCL DEF 7.2 Y+60
10
CYCL DEF 8.0 MIRROR IMAGE ......................... 2. Mirror image
3
11
CYCL DEF 8.1 X
12
CALL LBL 1 ........................................................ 3. Subprogram call
13
CYCL DEF 8.0 MIRROR IMAGE ......................... Cancel mirror image
14
CYCL DEF 8.1
15
CYCL DEF 7.0 DATUM SHIFT ............................ Cancel datum shift
16
CYCL DEF 7.1 X+0
17
CYCL DEF 7.2 Y+0
18
L Z+100 R0 F MAX M2
19
LBL 1
LBL 0
END PGM MIRROR MM
The subprogram is identical with the
subprogram on page 8-47
.
.
.