Sinumerik LONGHOLE cycle is used to machining long hole located on a circle. The long hole longitudinal axis is aligned radially.

LONGHOLE ( RTP , RFP , SIDS , DP , DPR , NUM , LENG , CPA , CPO , RAD , STA1                                       , INDA , FFD , FFP1 , MID )

Where RTP = Retraction plane
RFP = Reference plane
SIDS = Safety clearance
DP =  Final drilling depth
DPR = Final drilling depth relative to reference plane
NUM = Numbers of hole
LENG = Length of long hole
CPA = Center point of circle , abscissa (x-axis)
CPO = Center point of circle , ordinate (y-axis)
STA1= Starting angle
INDA= Increamenting angle
FFD = Feed rate for depth infeed
FFP1 = Feed rate for surface machining
MID = Maximum infeed depth for an infeed

EXAMPLE : Drill the 6 long holes with length 20 and depth of a hole is also 20

HARSH.MPF
N10  G90 G71 M06  T03 D01 ;
N20  M03 S1000 M08 ;
N30  G17 G00 X50 Y50 Z50 ;
N40  LONGHOLE ( 10 , 0 , 5 , _ , 20 , 8 , 20 , 50 ,50 , 25 , 45 , 45 ,100 , 320 ,6 )
N50  G00 Z50 ;
N60  M05 M09 M30 ;

DESCRIPTION

HARSH.MPF- Name of the main program
N10 -  Absolute coordinate system, a metric input command, Tool change command select tool no  3 .
N20- Spindle On clockwise at the speed 1000 rpm & coolant is on
N30-  Internal threading at XY- plane, rapid traverse command where tool takes a position at reference point where X50 , Y50 & Z50 .
N40 - call LONGHOLE ( RTP= 10 , RFP= 0 , SIDS= 5 , DP= _ , DPR= 20 , NUM= 8 , LENG= 20 , CPA= 50 , CPO= 50 , RAD= 25 , STA1= 45, INDA= 45 , FFD= 100 , FFP1= 320 , MID= 6 )
N50 - Tool goes rapidly up position .
N60- Spindle stop , coolant off , main prog. end

SIEMENS Sinumerik LONGHOLE cnc program Reviewed by www.hdknowledge.om on March 22, 2019 Rating: 5