Useful Heidenhain Technique and Cycle

The following technique and cycle will be useful to successfully complete the remaining Heidenhain assignments.

Repeat loops with incremental Z moves (IZ)

This method of incrementing a given profile or machining move is a simple solution to make several repeated cuts.


LineCodeComment
80;------------
81;MILL 25MM SLOT
82L Z0 R F MAX M91
83L X265 Y50.0 R F MAXMove to centre of Slot
84;20MM CARBIDE END MILL
85TOOL CALL 5 Z S1200
86L Z50.0 R F MAX M3
87L Z0 R F 1500 M3Move down to Z zero
88LBL 1Set Label 1
89L IZ-4.0 F100Make Incremental Z move down 4 mm, IZ indicates Incremental Move
90L X277.5 RLSlot Profile
91L Y55.0Slot Profile
92CC X265.0 Y55.0Slot Profile
93C X252.5 Y55.0 DR+ R F MSlot Profile
94L Y45.0Slot Profile
95CC X265.0 Y45.0Slot Profile
96C X277.5 Y45.0 DR+ R F MSlot Profile
97L Y50.0Slot Profile
98L X265.0 R0Slot Profile
99LBL 0Label 1 end
100CALL LBL1 REP 3Call Label 1 and repeat 3 times, 1 loop plus 3 more x 4mm = 12mm deep.
101L Z50.0 R F MAX M3
102L Z0 R F MAX M91
103M01

Pocket Milling Cycles

There are many convenient cycles to aid programming in the Heidenhain TNC controls. We have used pocket milling in two of the assignments below and we will look at this cycle here.

Please note that the full range of cycles and other program aids in Heidenhain TNC controls are not covered here as the goal is to show how best to create and test programs with CIMCO Edit. The Backplot will interpret and plot most of the cycles. We have used the Rectangular Pocket Cycle 251 which is found in later TNC controls, but Rectangular Pocket Cycle 4 could also be a solution if working with an earlier TNC control.


Solid Animation provides a better representation of the multi pass machining toolpath generated by this cycle. So, as we did in Assignment 1, the Solid Setup should be configured to create a stock that is slightly bigger than the pocket dimensions and the tool should be set to an 20mm End Mill. This will give a good representation of the pocked milling operation. Let us look at the code below.

LineCodeComment
60;ROUGH MILL POCKET
61L Z0 R F MAX M91
62L X147.5 Y50.0 R F MAXMove to the centre of the pocket
63;20MM CARBIDE END MILL
64TOOL CALL 5 Z S1200
65L Z50.0 R F MAX M3Move down to 50 mm above the part
66CYCL DEF 251 RECTANGULAR POCKETPocket Milling Definition
Q215=1;MACHINING OPERATIONMachining operation 1=Roughing 2=Finishing etc.
Q218=151;1ST SIDE LENGTHAs indicated by text
Q219=76;2ND SIDE LENGTHAs indicated by text
Q220=12;CORNER RADIUSAs indicated by text
Q368=0.5;ALLOWANCE FOR SIDEX & Y Finishing Allowance
Q224=0;ANGLE OF ROTATIONPocket orientation 3 o/clock = 0 degrees
Q367=0;POCKET POSITIONPosition of the tool when the cycle is called 0 = Centre of Pocket
Q207=80;FEED RATE FOR MILLINGAs indicated by text
Q351=+1;CLIMB OR UP-CUT+1 = Climb Milling
Q201=-23;DEPTHAs indicated by text Pocket Depth
Q202=7;PLUNGING DEPTHAs indicated by text cutting Increment down
Q369=0;ALLOWANCE FOR FLOORFinishing Allowance in Z at bottom of Pocket
Q206=25;FEED RATE FOR PLNGNGAs indicated by text
Q338=30;INFEED FOR FINISHINGAs indicated by text
Q200=2;SET-UP CLEARANCEPosition in Z to start the Cycle
Q203=0;SURFACE COORDINATEAbsolute Z position
Q204=50;2ND SET-UP CLEARANCERapid up to this position between pockets if there are multiples
Q370=1.25;TOOL PATH OVERLAPHow much the tool overlaps = Tool Rad x 1.25
Q366=2;PLUNGEPlunging Strategy 0=Vertical, 1=Helical, 2=Zig Zag at angle in Tool Table
Q385=35;FEED RATE FOR FINISHINGAs indicated by text
67CYCL CALLThis command will Call the Cycle as does M99
68L Z50.0 R F MAX M3
69L Z0 R F MAX M91
70M01
71;-----------