CNC KNOWLEDGE CNC PROGRAMMING FOR STEP TURNING AND FACING OPERATION - CNC KNOWLEDGE

CNC PROGRAMMING FOR STEP TURNING AND FACING OPERATION


       In following fig the dimension of billet diameter 25 mm and total length 50mm . In these cnc operation we will perform facing 10 mm and making two step turing whoes diameter 20 mm and 16 mm.




HARSH.MPF
N1  G90 G71 G94 F100 ;
N2  G28 X0 Z0 ;
N3  M06 T06 D01 ;
N4  M03 S1000 ;
N5  M07 ;
N6  G00 X27 Z2 ;
N7  G01 X25 Z0 ;
N8  G01 X25 Z-2 ;
N9  G01 X-1 Z-2 ;(Facing start cut 2 mm)
N10 G00 X27 Z-2 ;
N11 G00 X27 Z2 ;
N12 G01 X25 Z-2;
N13 G01 X25 Z-4 ;
N14 G01 X-1 Z-4 ;
N15 G00 X27 Z -4 ;
N16 G00 X27 Z2 ;
N17 G01 X25 Z2 ;
N18 G01 X25 Z-6 ;
N19 G01 X-1 Z-6 ;
N20 G00 X27 Z-6 ;
N21 G00 X27 Z2 ;
N22 G01 X25 Z2 ;
N23 G01 X25 Z-8 ;
N24 G01 X-1 Z-8 ;
N25 G00 X27 Z-8 ;
N26 G00 X27 Z2 ;
N27 G01 X25 Z2 ;
N28 G01 X25 Z-10 ;
N29 G01 X-1 Z-10 ; (Facing end)
N30 G00 X27 Z-10 ;
N31 G00 X27 Z2 ;
N32 G00 X25 Z2 ;
N33 G01 X25 Z-25 ; ( First step turning start CUT =0.5)
N34 G00 X27 Z-25 ;
N35 G00 X27 Z2 ;
N36 G01 X24 Z2 ;
N37 G01 X24 Z-25 ;
N38 G00 X27 Z-25 ;
N39 G00 X27 Z2 ;
N40 G01 X23 Z2 ;
N41 G01 X23 Z-25 ;
N42 G00 X27 Z2 ;
N43 G01 X22 Z2 ;
N44 G01 X22 Z-25 ;
N45 G00 X27 Z-25 ;
N46 G00 X27 Z2 ;
N47 G01 X21 Z2 ;
N48 G01 X21 Z-25 ;
N49 G00 X27 Z-25 ;
N50 G00 X27 Z2 ;
N51 G01 X20 Z2 ;
N52 G01 X20 Z-25 ;( First step turning  end )
N53 G00 X27 Z-25 ;
N54 G00 X27 Z2 ;
N55 G01 X19 Z2 ;
N56 G01 X19 Z-10 ;( Second step turning start cut = 0.5 )
N57 G00 X27 Z-10 ;
N58 G00 X27 Z2 ;
N59 G01 X18  Z2 ;
N60 G01 X18 Z-10 ;
N61 G00 X27 Z-10 ;
N62 G00 X27 Z2 ;
N63 G01 X17 Z2 ;
N64 G01 X17 Z-10 ;
N65 G00 X27 Z-10 ;
N66 G00 X27  Z2 ;
N67 G01 X16 Z2 ;
N68 G01 X16 Z-10 ;(End second step turning)
N69 G28 X0 Z0 ;
N70 M05 ;
N71 M09 ;
N72 M30 


More examples..........!!!!

DESCRIPTION OF PROGRAM

Main prog file name HARSH
N2 – Tool at reference point  were X0 and Z0 .
N3 – Tool change command , select no of tool 6 , tool offset no 01 .
N4 – Spindle on clockwise at speed 1000 .
N6- Rapid command at X 27 and Z 2  . ( Tool takes position )
N7 – Linear command tool near to job at X25 and Z0  .
N8-Linear command tool touch to the job at X25 and Z-2 .
N9- Linear command cutting operation start each cut 2 mm .
X-1 and z-2  .(facing)
N10 -  Rapid command tool goes away at X 27 and Z at same place .
N11 – Tool goes rapidly at safe position at X27 and Z2 .
N12 – Tool ready at x axis for another cut linearly .
N13- Tool touch to job for next cutting linearly .
N14- Linear command cutting operation start each cut 2 mm .
X-1 and Z-4  .(facing)
N15- -  Rapid command tool goes away at X 27 and Z at same place .
N16- Tool goes rapidly at safe position at X27 and Z2 .
N17- Tool ready at x axis for another cut linearly .
N18 - Tool touch to job for next cutting linearly .
N19- Linear command cutting operation start each cut 2 mm .
X-1 and Z-6  .(facing)
N20- Rapid command tool goes away at X 27 and Z at same place .
N21- Tool goes rapidly at safe position at X27 and Z2 .
N22- Tool touch to job for next cutting linearly .
N23- Tool touch to job for next cutting linearly
N24- Linear command cutting operation start each cut 2 mm .
X-1 and Z-8  .(facing)
N25- Rapid command tool goes away at X 27 and Z at same place .
N26- Tool goes rapidly at safe position at X27 and Z2 .
N27- Tool ready at x axis for another cut linearly
N28- Tool touch to job for next cutting linearly
N29-- Linear command cutting operation start each cut 2 mm .
X-1 and Z-10  .(Facing operation end)
N30- Rapid command tool goes away at X 27 and Z at same place .
N31- Tool goes rapidly at safe position at X27 and Z2.
N32 - Tool ready at x axis for another cut linearly.
N33- Linear command cutting operation start each cut 0.5 mm .
X25 and Z-25  .(first step turning start)(means each turning cut reduce 1 mm diameter)
N34- Rapid command tool goes away at X 27 and Z at same place.
N35- Tool goes rapidly at safe position at X27 and Z2.
N36- Tool touch to job for next cutting linearly at X24 .
N37- Linear command cutting operation start each cut 0.5 mm .
X24 and Z-25  . (means each turning cut reduce 1 mm diameter)
N38- Rapid command tool goes away at X 27 and Z at same place
N39 - Tool goes rapidly at safe position at X27 and Z2.
N40- Tool touch to job for next cutting linearly at X23 .
N41- Linear command cutting operation start each cut 0.5 mm .
X23 and Z-25  . (means each turning cut reduce 1 mm diameter)
N42- Rapid command tool goes away at X 27 and Z at same place
N43- Tool goes rapidly at safe position at X27 and Z2.
N44- Tool touch to job for next cutting linearly at X22 .
N45- Linear command cutting operation start each cut 0.5 mm .
X22 and Z-25  . (means each turning cut reduce 1 mm diameter)
N46- Rapid command tool goes away at X 27 and Z at same place
N47- Tool goes rapidly at safe position at X27 and Z2.
N48- Tool touch to job for next cutting linearly at X21 .
N49- Linear command cutting operation start each cut 0.5 mm .
X21 and Z-25  . (means each turning cut reduce 1 mm diameter)
N50- Rapid command tool goes away at X 27 and Z at same place.
N51- Tool goes rapidly at safe position at X27 and Z2.
N52-  Tool touch to job for next cutting linearly at X20.
N53- Linear command cutting operation start each cut 0.5 mm .
X21 and Z-25  .( firtst step Turning end ) (means each turning cut reduce 1 mm diameter)
N54- Rapid command tool goes away at X 27 and Z at same place
N55- Tool goes rapidly at safe position at X27 and Z2.
N56-  Tool touch to job for next cutting linearly at X19.
N57 - Linear command cutting operation start each cut 0.5 mm .
X19 and Z-25  .( Second step Turning start ) (means each turning cut reduce 1 mm diameter)
N58- Rapid command tool goes away at X 27 and Z at same place
N59- Tool goes rapidly at safe position at X27 and Z2.
N60 - Tool touch to job for next cutting linearly at X18.
N61- Linear command cutting operation start each cut 0.5 mm .
X18 and Z-25  . (means each turning cut reduce 1 mm diameter)
N62- Rapid command tool goes away at X 27 and Z at same place
N63- Tool goes rapidly at safe position at X27 and Z2.
N64 - Tool touch to job for next cutting linearly at X17.
N65- Linear command cutting operation start each cut 0.5 mm .
X17 and Z-25  . (means each turning cut reduce 1 mm diameter)
N66- Rapid command tool goes away at X 27 and Z at same place.
N67 - Tool goes rapidly at safe position at X27 and Z2.
N68- Tool touch to job for next cutting linearly at X16.
N69- Linear command cutting operation start each cut 0.5 mm .
X16 and Z-25  . (means each turning cut reduce 1 mm diameter)
N70 - Tool at reference point  were X0 and Z0 .
N71- Spindle off .
N72 – Coolent off .
N73 – Main program end .

CNC PROGRAMMING FOR STEP TURNING AND FACING OPERATION CNC PROGRAMMING FOR STEP TURNING AND FACING OPERATION Reviewed by harshal on February 18, 2018 Rating: 5
Powered by Blogger.