Example: Coordinate Transformation Cycles - HEIDENHAIN TNC 426 B User Manual

Table of Contents

Advertisement

Example: Coordinate transformation cycles

Program sequence
Program the coordinate transformations in the
main program
Program the machining operation in subprogram
1 (see section 9 "Programming: Subprograms and
Program Section Repeats")
0
BEGIN PGM KOUMR MM
1
BLK FORM 0.1 Z X+0 Y+0 Z-20
2
BLK FORM 0.2 X+130 Y+130 Z+0
3
TOOL DEF 1 L+0 R+1
4
TOOL
ALL 1 Z S4500
5
L Z+250 R0 F MAX
6
Y L DEF 7.0 DATUM SHIFT
7
Y L DEF 7.1 X+65
8
Y L DEF 7.2 Y+65
9
ALL LBL 1
10
LBL 10
11
Y L DEF 10.0 ROTATION
12
Y L DEF 10.1 IROT+45
13
ALL LBL 1
14
ALL LBL 10 REP 6/6
15
Y L DEF 10.0 ROTATION
16
Y L DEF 10.1 ROT+0
17
Y L DEF 7.0 DATUM SHIFT
18
Y L DEF 7.1 X+0
19
Y L DEF 7.2 Y+0
20
L Z+250 R0 F MAX M2
HEIDENHAIN TNC 426 B, TNC 430
www.EngineeringBooksPdf.com
Y
130
65
65
Define the workpiece blank
Define the tool
Call the tool
Retract the tool
Shift datum to center
Call milling operation
Set label for program section repeat
Rotate by 45° (incremental)
Call milling operation
Return jump to LBL 10; execute the milling operation six times
Reset the rotation
Reset the datum shift
Retract in the tool axis, end program
20
10
45°
30
X
130
X
233

Advertisement

Table of Contents
loading

Table of Contents