Example: gear hobbing, Example program 12.33, 435 example: gear hobbing – HEIDENHAIN TNC 640 (34059x-05) Cycle programming User Manual
Page 435

Example program 12.33
12
TNC 640 | User's Manual Cycle Programming | 1/2015
435
Example: Gear hobbing
Cycle 880 GEAR HOBBING is used in the following
program. This programming example illustrates the
machining of a helical gear, with Module=2.1.
Program sequence
Tool call: Gear hob
Start turning mode
Approach safe position
Call the cycle
Reset the coordinate system with Cycle 801 and
M145
0 BEGIN PGM 5 MM
1 BLK FORM CYLINDER Z R42 L150
Definition of workpiece blank: Cylinder
2 FUNCTION MODE MILL
Activate milling mode
3 TOOL CALL "GEAR_HOB_D75"
Call the tool
4 FUNCTION MODE TURN
Activate turning mode
4 CYCL DEF 801 RESET ROTARY COORDINATE SYSTEM
Reset the coordinate system
4 M145
Deactivate M144 if still active
4 FUNCTION TURNDATA SPIN VCONST:OFF S50
Constant surface speed OFF
4 M140 MB MAX
Retract the tool
4 L A+0 R0 FMAX
Set the rotary axis to 0
4 L X+250 Y-250 R0 FMAX
Pre-position the tool in the working plane on the side on
which machining will be performed
4 Z+20 R0 FMAX
Pre-position the tool in the spindle axis
4 L M136
Feed rate in mm/rev
5 CYCL DEF 880 GEAR HOBBING
Activate interpolation turning
Q215=+0
;MACHINING OPERATION
Q540=+2.1
;MODULE
Q541=+0
;NUMBER OF TEETH
Q542=+69.3
;OUTSIDE DIAMETER
Q543=+0.1666
;TROUGH-TIP CLEARANCE
Q544=-5
;ANGLE OF INCLINATION
Q545=+1.6833
;TOOL LEAD ANGLE
Q546=+3
;CHANGE TOOL DIRECTN.
Q550=+0
;MACHINING SIDE
Q533=+0
;PREFERRED DIRECTION
Q530=+2
;INCLINED MACHINING
Q253=+2000
;F PRE-POSITIONING
Q260=+20
;CLEARANCE HEIGHT
Q553=+10
;TOOL LENGTH OFFSET
Q551=+0
;STARTING POINT IN Z
Q552=-10
;END POINT IN Z
Q463=+1
;MAX. CUTTING DEPTH