Your SlideShare is downloading. ×
Cnc turning lecture4
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Cnc turning lecture4


Published on

Published in: Business

  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. 10/17/2011 MOHD SHARIZAN BIN MOHD SHARIF Jabatan Kejuruteraan Mekanikal CNC TURNING sharizan/CNC Turning TNA300 1CNC TURNINGTRAUB TNA 300 sharizan/CNC Turning TNA300 2 1
  • 2. 10/17/2011AXIS X Z sharizan/CNC Turning TNA300 3 TURNING MILLING sharizan/CNC Turning TNA300 4 2
  • 3. 10/17/2011Coordinate system for CNCTurning machines sharizan/CNC Turning TNA300 5MACHINE COMMANDCODES G code - Set preparatory machine functions such as rapid traverse mode, feed mode and active tool length offsets. M code - Perform a miscellaneous machine function such as automatic tool changes, coolant control and spindle operations. sharizan/CNC Turning TNA300 6 3
  • 4. 10/17/2011G Instructions G00 Straight line at the rapid traverse G01 Straight line at the feed rate G02 Circular arc, clockwise (right) G03 Circular arc, counter clockwise (left) G26 Approach to tool changing ( Home) G40 Tools nose off G46 Tools nose on G59 Zero point shift G71 Longitude roughing cycle G92 Speed limitation G96 Constant cutting speed sharizan/CNC Turning TNA300 7M Instructions M00 Programmed stop M03 Spindle right (clockwise) M04 Spindle left ( counterclockwise) M05 Spindle stop M08 Coolant on M09 Coolant off sharizan/CNC Turning TNA300 8 4
  • 5. 10/17/2011Program BlockG01 X30 Z-20 F0.2G-Instruction Auxiliary conditions sharizan/CNC Turning TNA300 9Step in programming Start – work piece zero point, cutting speed, tool, spindle rotation, speed limit Facing Roughing process Cutting Close - stop spindle, stop coolant, program stop sharizan/CNC Turning TNA300 10 5
  • 6. 10/17/2011Startexample%O 4546G59 X 0 Z___G96 V___ T___ M___G92 S___ M08 sharizan/CNC Turning TNA300 11Startexample Symbol% Program numberO 4546G59 X 0 Z___G96 V___ T___ M___G92 S___ M08 sharizan/CNC Turning TNA300 12 6
  • 7. 10/17/2011 Start example % O 4546 Zero point shift G59 X 0 Z___ G96 V___ T___ M___ G92 S___ M08 sharizan/CNC Turning TNA300 13 G59 – zero point shift G59 X 0 Z___ CALCULATE Z spindle length = 150mmMachine zero point Workpiece zero point + Work piece length = ______ + allowance = 10mm TOTAL = ______ sharizan/CNC Turning TNA300 14 7
  • 8. 10/17/2011Startexample%O 4546G59 X 0 Z___ Constant cutting speedG96 V___ T___ M___G92 S___ M08 sharizan/CNC Turning TNA300 15Startexample% ToolsO 4546G59 X 0 Z___G96 V___ T___ M___ SpindleG92 S___ M08 rotation sharizan/CNC Turning TNA300 16 8
  • 9. 10/17/2011G96 V___ T___ M___ V ____ VELOCITY – by calculation or table T ____ No of Tools M____ Spindle rotation ( CW / CCW ) sharizan/CNC Turning TNA300 17Startexample% Speed limitO 4546G59 X 0 Z___G96 V___ T___ M___G92 S___ M08 Coolant on sharizan/CNC Turning TNA300 18 9
  • 10. 10/17/2011G92 S____M__ S2000 SPEED LIMIT – calculation or table M08 Coolant on sharizan/CNC Turning TNA300 19CLOSEexampleG26 Approach to tools changing (home)M05 M09 Spindle stop/Coolant offM00 Program stop% sharizan/CNC Turning TNA300 20 10
  • 11. 10/17/2011PROGRAMMING TECHNIQUEUsing G code sharizan/CNC Turning TNA300 21PROGRAMMING TECHNIQUE sharizan/CNC Turning TNA300 22 11
  • 12. 10/17/2011 PROGRAMMING TECHNIQUEG0 X20 Z2G1 X20 Z-15 F0.2 F - federateG2 X40 Z-25 R10G1 X40 Z-40G3 X60 Z-50 R10G1 X60 Z-75 X = Diameter of work piece sharizan/CNC Turning TNA300 23 EXAMPLE 1 X Ø30 Ø19 Z 15 20 Unit : mm sharizan/CNC Turning TNA300 24 12
  • 13. 10/17/2011EXAMPLE 1- solution%O 652G59 X0 Z180 STARTG96 V200 T0202 M03G92 S2000 M08G00 X32 Z0 FACINGG01 X-1 Z0 F0.2G00 X26 Z2G01 X26 Z-20G00 X27 Z-20G00 X27 Z2G00 X22 Z2 ROUGHINGG01 X22 Z-20G00 X23 Z-20G00 X23 Z2G00 X19 Z2G01 X19 Z-20G00 X32 Z-20G26M5 M9 CLOSEM0% sharizan/CNC Turning TNA300 25EXAMPLE 2 - CUT X Ø30 Ø19 Z 15 20 Unit : mm sharizan/CNC Turning TNA300 26 13
  • 14. 10/17/2011EXAMPLE 2- solution%O 652 G96 V200 T0101 M04G59 X0 Z190 START G92 S2000 M08G96 V200 T0202 M03 G00 X32 Z-36.5G92 S2000 M08 G01 X26G00 X32 Z0 G00 X27 FACING G01 X22G01 X-1 Z0 F0.2G00 X26 Z2 G00 X23 G01 X18 CUTG01 X26 Z-20G00 X27 Z-20 G00 X19G00 X27 Z2 G01 X14G00 X22 Z2 G00 X15 ROUGHINGG01 X22 Z-20 G01 X10G00 X23 Z-20 G00 X11G00 X23 Z2 G01 X6G00 X19 Z2 G00 X7G01 X19 Z-20 G01 X2G00 X32 Z-20 G00 X3G26 G01 X0 G26 M5 M9 CLOSE M0 % sharizan/CNC Turning TNA300 27EXAMPLE 3 Unit : mm X Ø35 Ø30 Ø22 Z 20 15 15 sharizan/CNC Turning TNA300 28 14
  • 15. 10/17/2011EXAMPLE 3 - solutionSTART PROGRAMMED% END PROGRAMMED0 5451 G26G59 X0 Z190 M05 M09G96 V200 T0202 M03 M00G92 S2000 M08 %FACING OBJECTG00 X37 Z0G01 X-1 Z0 F0.2G00 X37 Z2ROUGHING CYCLEG71 P60 Q70 I0.02 K0.02 D1 F0.2G26SUB PROGRAMMEDN60G46G00 X0 Z0G01 X22 Z0G01 X22 Z-15G01 X30 Z-15G01 X30 Z-30G01 X35 Z-30G40N70G26 sharizan/CNC Turning TNA300 29EXAMPLE 4 sharizan/CNC Turning TNA300 30 15
  • 16. 10/17/2011EXAMPLE 4 - solution%O55 G00 X11G59 X0 Z210 G01 X6G96 V200 T0202 M03 G00 X7G92 S2000 M08 G01 X2G00 X20 Z0 G00 X3G01 X-1 Z0 F0.2 G01 X0G00 X20 Z0 G26G71 P80 Q90 I0.2 K0.2 D2 F0.2 M5 M9G26 M0N80 %G46G00 X0 Z0G01 X4 Z0G01 X4 Z-15G02 X8 Z-20 R10G01 X8 Z-35G03 X-18 Z-45 R15G01 X-18 Z-50G40N90G26G96 V200 T0101 M04G92 S2000 M08G00 X20 Z-51.5G01 X14G00 X15G01 X10 sharizan/CNC Turning TNA300 31EXAMPLE 5- bulb sharizan/CNC Turning TNA300 32 16
  • 17. 10/17/2011 DATA REQUIRED - bulb Program Number : O041 Cutting Rough part : Feed 0.5 mm/rev Diameter = 19mm Cont cutting rate 400mm/min Length = 49mm Working Zero Point G59 Tools Chuck + jaw = 150mm Facing = T0202 + rough part = 49mm Roughing = T0202 + clearance = 10mm Cutting = T0101 Zero point shift = 209mm Metal working data Facing Feed 0.4 mm/rev Speed 2000rpm Cont cutting rate 200mm/min Roughing Feed 0.2 mm/rev Cont cutting rate 200mm/min sharizan/CNC Turning TNA300 33% EXAMPLE 5 - solutionO041 G00 X21 Z-50.5G59 X0 Z209 G01 X15 F0.5G96 V200 T0202 M03 G00 X16G92 S2000 M08 G01 X11G00 X21 Z0 G00 X12G01 X-1 Z0 F0.4 G01 X7G00 X21 Z2 G00 X8G71 P70 Q80 I0.2 K0.2 D1 F0.2 G01 X3G26 G00 X4N70 G01 X0G46 G26G00 X0 Z0 M05 M09G03 X3 Z-1 R2 M00G03 X19 Z-25 R38 %G03 X10 Z-35 R13.555G01 X10 Z-45G03 X8 Z-49 R6.9G00 X12 Z-38G01 X9 Z-38 G00 X12 Z-38G00 X12 Z-41G01 X9 Z-41G00 X12 Z-41G00 X12 Z-44G01 X9 Z-44G40N80G26G96 V200 T0101 M04G92 S2000 sharizan/CNC Turning TNA300 34 17
  • 18. 10/17/2011 EXERCISE 1 sharizan/CNC Turning TNA300 35EXERCISE 2 EXERCISE 1 sharizan/CNC Turning TNA300 36 18
  • 19. 10/17/2011EXERCISE 3 sharizan/CNC Turning TNA300 37 19