Examples For Exercise - HEIDENHAIN TNC 370 User Manual

Conversational programming
Table of Contents

Advertisement

8
Cycles
4
8.4
Cycles for Machining
Hole Patterns
Examples
for exercise
Roughing
and finishing
rectangular
pockets
on a pitch
circle
Input values for CYCL 220:
Center X axis:
+50 mm
(Q216)
Center Y axis:
+50 mm
(Q217)
Pitch circle diameter:
+70 mm
(Q244)
Starting angle:
+o o
(Q245)
Stopping
angle:
+360 '
(0246)
Angular
step:
+O"
(Q247)
No. of math. operations:
8
(Q241)
Setup clearance:
+2
(Q200)
Workpiece
surface:
+0 mm
(Q203)
2nd setup clearance:
+I 00 mm (0204)
Input values for CYCL 4 (pocket
roughing)
Length of pocket in X:
22 mm
Width of pocket in Y:
12 mm
Input values for CYCL 212 (pocket
finishing)
Length of pocket in X:
24 mm
Width of pocket in Y:
14 mm
Allowance
in X:
+I mm
0 BEGIN PGM 3702802
MM
1 BLK FORM 0.1 Z X+0 Y+O Z-30
2 BLK FORM 0.2 X+1 00 Y+lOO Z+O
3 TOOL DEF 1 L+O R+3
4 TOOL CALL 1 Z S2500
5 L Z+200
RO F MAX M3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retract tool, spindle
ON
6 CYCL DEF 4.0 POCKET MILLING
7 CYCL DEF4.1
SETUP2
8 CYCL DEF 4.2 DEPTH -20
9 CYCL DEF 4.3 PECKG 5 F150
10 CYCL DEF 4.4 X+22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Length for roughing
in X
11 CYCL DEF 4.5 Y+12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Width for roughing
in Y
12 CYCL DEF 4.6 F250 DR+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Define cycle for pocket roughing
13 CALL LBL 1 . . . . . . . .._._.._........................................ Call subprogram
in which the coordinate
system is defined
14 CYCL DEF 212 POCKET FINISHING
Q200=0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not to be entered,
in effect from cycle 220
Q201=-20
Q206=250
Q202=5
Q207=350
Q203=+0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not to be entered,
in effect from cycle 220
Q204=0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not to be entered,
in effect from cycle 220
Q216=+0
Q217=+0
Q218=24
Q219=14
Q220=4
Q221 =+I ._._........................................................
Define cycle for pocket finishing,
1 mm finishing
allowance
15 CALL LBL 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call subprogram
in which the coordinate
system is defined
16 L Z+200 RO F MAX M2
Retract tool, end of main program
Continued...
u
8-38
TNC 370

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents