Where , RTP- Return plane position
RFP- Reference plane
SDIS- Safety distance
DP- Final drilling depth
DPR- Final drilling depth relative to reference plane
HARSH.MPF
N10 G90 G71 G94 F100 ;
N20 G75 X0 Z0 ;
N30 M06 T02 D01 ;
N40 M03 S1000 ;
N50 M08 ;
N60 G00 X0 Z5 ;
N70 CYCLE 81 ( 5 , 0 , 2 ,-30 , 0 )
N80 G00 X150 Z5 ;
N90 G75 X0 Z0 ;
N100 M05 M09 M30 ;
More examples..........!!!!
DESCRIPTION OF MAIN PROGRAM
HARSH.MPF - Name of main program
N10- Program is absolute co-ordinate system , metric input ( all dimension in mm) , feed rate per minute 100.
N20- Home position command ,where X0 and Z0
N30- Tool change command , select tool no 2 , tool offset no 01
N40- Spindle on clockwise , speed is 1000 rpm
N50- Coolant ON .
N60- Rapid action command , where X0 and Z5 (Tool take position )
N70- Drilling cycle put value
RTP = 5
RFP = 0
SDIS= 2
DP= -30
DPR = 0
N80- Rapid action command , where X150 and Z5
N90- Home position command ,where X0 and Z0
N100- Spindle OFF , coolant OFF , main prog. end
Sinumerik 840D (turning) program with CYCLE 81 (drilling )
Reviewed by harshal
on
August 03, 2018
Rating:
