Xy z, Yx z – HEIDENHAIN TNC 360 User Manual User Manual
Page 185

TNC 360
8-32
8
Cycles
8.4
Cycles for Coordinate Transformations
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
subprogram 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 360833 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 FMAX
6
CALL LBL 1 ........................................................ Without a 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 a 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 FMAX M2
15
LBL 1
16
L X–10 Y–10 R0 FMAX M3
17
L Z+2 FMAX
18
L Z–5 F200
19
L X+0 Y+0 RL
20
L Y+20
21
L X+25
22
L X+30 Y+15
23
L Y+0
24
L X+0
25
L X–10 Y–10 R0
26
L Z+2 FMAX
27
LBL 0
28
END PGM 360833 MM
The location of the subprogram (NC block) depends on the transformation
cycle:
LBL 1
LBL 0
Datum shift
Block 15
Block 27
Mirror image, rotation, scaling
Block 19
Block 31
Subprogram for the geometry of the original contour