HEIDENHAIN TNC 370 User Manual page 251

Conversational programming
Table of Contents

Advertisement

8
Cycles
8.7
Cycles for Coordinate
Transformations
Example:
Datum
shift
A machining
sequence
in the form of a
subprogram
is to be executed
twice:
a) once, referenced
to the specified
datum
@
X+O/Y+O and
b) a second time, referenced
to the shifted
datum
@ X+4O/Y+60.
Cycle in a part program
3
BEGIN PGM 360833
MM
1
BLK FORM 0.1 Z X+0 Y+O Z-20
2
BLK FORM 0.2 X+1 00 Y+lOO Z+O
3
TOOL DEF 1 L+O R+4
4
TOOL CALL 1 Z SIOOO
5
L Z+lOO RO FMAX
3
CALL LBL 1 _..,......................,.............................
Without
a datum shift
7
CYCL DEF 7.0 DATUM
SHIFT
3
CYCL DEF 7.1 X+40
3
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+O
14
L Z+lOO RO FMAX M2
15
LBLI
16
LX-IO
Y-IO RO FMAX M3
17
LZ+2FMAX
18
L Z-5 F200
19
LX+OY+O
RL
20
LY+20
21
LX+25
Subprogram
for the geometry
of the original contour
22
L x+30 Y+15
23
LY+O
24
LX+0
25
LX-IO
Y-IO RO
26
L Z+2 FMAX
27
LBL 0
28
END PGM 360833
MM
The location of the subprogram
(NC block) depends
on the transfor-
mation cycle:
LBL 1
LBL 0
Datum shift
Block 15
Block 27
Mirror
image, rotation,
scaling
Block 19
Block 31
8-62
TNC 370
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents