SlideShare a Scribd company logo
Computer Numerical Control 
Programming Basics 
You can Join at Our Group 
Facebook : CNC INDONESIA or 
Email :soekarno.gempar@gmail 
Definitions 
CAD – COMPUTER-AIDED-DESIGN 
■ Designing the part to be machined by CNC machine 
CAM – COMPUTER-AIDED-MANUFACTURING 
■ Developing the toolpaths, feeds and speeds for the CNC Machines 
CNC – COMPUTER-NUMERICAL-CONTROLLED 
■ Computer controlled machine controlled by a Machine Control Unit 
(MCU) 
Programming Process 
CAD - DRAW PART IN AUTOCAD OR AUTODESK INVENTOR 
Program Transfer – Load drawing file into MasterCAM 
CAM – PROGRAM CUTTERS, TOOLPATHS, SPEEDS, FEEDS, ETC. IN 
MASTERCAM 
Post Processor - A software link in the CAD/CAM chain that communicates 
instructions from CAM to a CNC machine. 
. 
Program data transfer - PC to Machine Control Unit which runs the CNC machine 
CNC – MACHINE PART ON A CNC MACHINE USING INSTRUCTIONS FORM 
CAD/CAM PROGRAMMING
CNC Machine Types 
CNC Milling Center 
CNC Turning Center 
CNC Gantry Router
What is a CNC Machine? 
CNC : Computer and Numeric Control: 
Conventionally, an operator decides and adjusts various machines parameters like feed , 
depth of cut etc depending on type of job , and controls the slide movements by hand. In 
a CNC Machine functions and slide movements are controlled by motors using computer 
programs. 
● Programmed instructions are converted into output signals which in turn control 
machine operations such as spindle speeds, tool selection, tool movement, and 
cutting fluid flow. 
● A numerical control, or “NC”, system controls many machine functions and 
movements which were traditionally performed by skilled machinists. 
● Numerical control developed out of the need to meet the requirements of high 
production rates, uniformity and consistent part quality. 
Advantages: 
● High Repeatability and Precision e.g. Aircraft parts 
● Volume of production is very high 
● Complex contours/surfaces need to be machined. E.g. Turbines 
● Flexibility in job change, automatic tool settings, less scrap 
● More safe, higher productivity, better quality 
● Less paper work, faster prototype production, reduction in lead times 
Disadvantages: 
● Costly setup, skilled operators 
● Computers, programming knowledge required 
● Maintenance is difficult 
How CNC works: 
● Controlled by G and M codes. 
● These are number values and co-ordinates. 
● Each number or code is assigned to a particular operation. 
○ Typed in manually to CAD by machine operators. 
○ G&M codes are automatically generated by the computer software. 
● The tool or material moves. 
● Tools can operate in 1-5 axes. 
● Larger machines have a machine control unit (MCU) which manages operations. 
● Movement is controlled by a motor (actuators). 
● Feedback is provided by sensors (transducers) Closed loop? 
● Tool magazines are used to change tools automatically.
Tool Paths, and Cutting Motions: 
● Tool paths describe the route the cutting tool takes. 
● Motion can be described as point to point, or contouring. 
● Speeds are the rate at which the tool operates e.g. rpm. 
● Feeds are the rate at which the cutting tool and work piece move in relation to 
each other. Expressed in IPM (inches per minute) 
● Feeds and speeds are determined by cutting depth, material and quality of finish 
needed. e.g. harder materials need slower feeds and speeds. 
● Rouging cuts remove larger amounts of material than finishing cuts. 
● Rapid traversing allows the tool or work piece to move rapidly when no 
machining is taking place 
Point to Point and Contour Tool Paths: 
Point to Point Toolpath Contour ToolPath 
Point to Point toolpaths cut following lines Contour toolpaths cut follow surfaces 
Linear Interpolation :( Point to Point) 
Linear interpolation consist of a programmed point linked together by straight lines 
Circular Interpolation: (Contour) Circular interpolation is the process of programming 
arcs and circles. 
. 
Circular interpolation requires endpoints, a feed rate, a 
center, a radius, and a direction of movement.
CNC Programming Basics 
Block of Information: 
When running, a part program is interpreted one command line at a time until all lines are 
completed. 
N001 G01 X1.2345 Y.06789 MO3 
N001 Represents the sequence number of the operation 
G01 Represents linear operation (tool movement) 
X12345 Will move the tool or table 1.2345 in. a positive direction along the X axis 
Y6789 Will move the tool or table 0.6789 in. along the Y axis 
M03 Turns spindle on clockwise 
Commands, which are also referred to as blocks, are made up of words which each begin 
with a letter address and end with a numerical value. 
Each letter address relates to a specific machine function. “G” and “M” letter addresses 
O - Program number (Used for program identification) 
N - Sequence number (Used for line identification) 
G - Preparatory function 
X - X axis designation 
Y - Y axis designation 
Z - Z axis designation 
R - Radius designation 
F – Feed rate designation 
S - Spindle speed designation 
H - Tool length offset designation 
D - Tool radius offset designation 
T - Tool Designation 
M - Miscellaneous function
G- CODES (Preparatory Functions) which cause some movement of the machine table 
or head. 
G00 – Rapid Movement 
G01 Linear Interpolation (movement) 
G02 Circular Interpolation, CW 
G03 Circular Interpolation, CCW 
G17 XY Plane,G18 XZ Plane,G19 YZ Plane 
G20/G70 Inch units 
G21/G71 Metric Units 
G40 Cutter compensation cancel 
G41 Cutter compensation left 
G42 Cutter compensation right 
G43 Tool length compensation (plus) 
G43 Tool length compensation (plus) 
G44 Tool length compensation (minus) 
G49 Tool length compensation cancel 
G80 Cancel canned cycles 
G81 Drilling cycle 
G82 Counter boring cycle 
G83 Deep hole drilling cycle 
G90 Absolute positioning
G91 Incremental positioning 
M-CODES (Miscellaneous) which turn ON or OFF different functions 
M00 Program stop 
M01 Optional program stop 
M02 Program end 
M03 Spindle on clockwise 
M04 Spindle on counterclockwise 
M05 Spindle stop 
M06 Tool change 
M08 Coolant on 
M09 Coolant off 
M10 Clamps on 
M11 Clamps off 
M30 Program stop, reset to start 
Important things to know: 
Feed rate and spindle speed 
● Feed and Speed Codes: F and S- Specify feed and spindle speed 
Coolant Control: On/Off, Flood, Mist 
Tool Control: Tool and tool parameters 
● Tool codes: T – specify tool number 
Programming consists of a series of instructions in form of letter codes 
Preparatory Codes: 
● G codes- Initial machining setup and establishing operating conditions
● N codes- specify program line number to executed by the MCU 
Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y, Z direction 
Program Example 
O1234 (Program Number) 
N5 G90 G20 (ABSOLUTE COORDINATE. IN INCHES) 
N10 M06 T3 (TOOLCHANGE TO TOOL #3) 
N15 M03 S1250 (SPINDLE ON CW AT 1250RPM) 
N20 G00 X1 Y1 (RAPID OVER TO X1 Y1) 
N25 Z0.1 (RAPID DOWN TO Z0.1) 
N30 G01 Z-0.125 F5 (FEED DOWN TO Z-0.125 AT 5IPM) 
N35 X3 Y2 F10 (FEED DIAGONALLY TO X3 Y2 AT 10IPM) 
N40 G00 Z1 (RAPID UP TO Z1) 
N45 X0 Y0 (RAPID OVER TO X0 Y0) 
N50 M05 (SPINDLE OFF) 
N55 M30 (PROGRAM END

More Related Content

What's hot

Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basicsshlxtn
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
jntuhcej
 
Numerical control machines
Numerical control machines Numerical control machines
Numerical control machines
jntuhcej
 
CNC Milling (fanuc system)
CNC Milling (fanuc system)CNC Milling (fanuc system)
CNC Milling (fanuc system)
NavinBurnwal1
 
Cnc cutting tools
Cnc cutting toolsCnc cutting tools
Cnc cutting toolsRakesh Raki
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
aman1312
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
Mahesh Namdev
 
CNC machining center and CNC controllers
CNC machining center and CNC controllersCNC machining center and CNC controllers
CNC machining center and CNC controllers
sushma chinta
 
Cncpresentation CNC lathe machine
Cncpresentation CNC lathe machineCncpresentation CNC lathe machine
Cncpresentation CNC lathe machine
Haseeb Butt
 
CNC
CNCCNC
Cnc milling
Cnc millingCnc milling
Cnc milling
kailashgavare
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
Sudip Phuyal
 
CNC Lathe Operations
CNC Lathe OperationsCNC Lathe Operations
CNC Lathe Operations
Krit Kumar Janghel
 
Cnc turning
Cnc turning Cnc turning
Cnc turning
Salman Jailani
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
Achyuth Padmanabh
 
Chapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machineChapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machine
RAHUL THAKER
 
Design of feed gear box 1475220748570
Design of feed gear box 1475220748570Design of feed gear box 1475220748570
Design of feed gear box 1475220748570
anandshriwas18
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
STAY CURIOUS
 

What's hot (20)

Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basics
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
Introduction to nc
Introduction to ncIntroduction to nc
Introduction to nc
 
Numerical control machines
Numerical control machines Numerical control machines
Numerical control machines
 
CNC Milling (fanuc system)
CNC Milling (fanuc system)CNC Milling (fanuc system)
CNC Milling (fanuc system)
 
Cnc cutting tools
Cnc cutting toolsCnc cutting tools
Cnc cutting tools
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 
5 g-code
5   g-code5   g-code
5 g-code
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
 
CNC machining center and CNC controllers
CNC machining center and CNC controllersCNC machining center and CNC controllers
CNC machining center and CNC controllers
 
Cncpresentation CNC lathe machine
Cncpresentation CNC lathe machineCncpresentation CNC lathe machine
Cncpresentation CNC lathe machine
 
CNC
CNCCNC
CNC
 
Cnc milling
Cnc millingCnc milling
Cnc milling
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
CNC Lathe Operations
CNC Lathe OperationsCNC Lathe Operations
CNC Lathe Operations
 
Cnc turning
Cnc turning Cnc turning
Cnc turning
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
 
Chapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machineChapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machine
 
Design of feed gear box 1475220748570
Design of feed gear box 1475220748570Design of feed gear box 1475220748570
Design of feed gear box 1475220748570
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 

Viewers also liked

9 cnc (1)
9 cnc (1)9 cnc (1)
Introduction to cnc machines (1)
Introduction to cnc machines (1)Introduction to cnc machines (1)
Introduction to cnc machines (1)
someshking
 
Fikus presentation 2015
Fikus presentation 2015Fikus presentation 2015
Fikus presentation 2015
Manuel Torrijos
 
Cnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગCnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગ
Janak Valaki (PhD)
 
Profile mua thi Kenhtuyensinh
Profile mua thi KenhtuyensinhProfile mua thi Kenhtuyensinh
Profile mua thi Kenhtuyensinh
kenhtuyensinh
 
Special purposer lathe machine. ppt
Special purposer lathe machine. pptSpecial purposer lathe machine. ppt
Special purposer lathe machine. ppt
ZAKI ANWER
 
Laporan KP PT PINDAD PERSERO
Laporan KP PT PINDAD PERSEROLaporan KP PT PINDAD PERSERO
Laporan KP PT PINDAD PERSERO
Sally Tri Nurliani
 
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB SeriesIntroduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
Nissin Precision Machines Co., Ltd. (HQ of Nissin Group)
 
Laporan PRAKTEK INDUSTRI (dandi heryana)
Laporan PRAKTEK INDUSTRI (dandi heryana)Laporan PRAKTEK INDUSTRI (dandi heryana)
Laporan PRAKTEK INDUSTRI (dandi heryana)
Dandi Yakuza
 
Memprogram mesin cnc_dasar
Memprogram mesin cnc_dasarMemprogram mesin cnc_dasar
Memprogram mesin cnc_dasar
Tia Setiawan
 
Cnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiastCnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiast
ahmad almaleh
 
Cnc 3- G code language -hiast
Cnc 3- G code language -hiastCnc 3- G code language -hiast
Cnc 3- G code language -hiast
ahmad almaleh
 
Cnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiastCnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiast
ahmad almaleh
 
Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiast
ahmad almaleh
 
Industrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHELIndustrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHEL
UPES Dehradun
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edmGaurav Gunjan
 
cnc machining
cnc machiningcnc machining
cnc machining
Nikhlesh Ranjan
 
Recent Advancement of CNC Technology
Recent Advancement of CNC TechnologyRecent Advancement of CNC Technology
Recent Advancement of CNC Technology
Debiprasad Sena
 

Viewers also liked (20)

9 cnc (1)
9 cnc (1)9 cnc (1)
9 cnc (1)
 
Introduction to cnc machines (1)
Introduction to cnc machines (1)Introduction to cnc machines (1)
Introduction to cnc machines (1)
 
Fikus presentation 2015
Fikus presentation 2015Fikus presentation 2015
Fikus presentation 2015
 
Cnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગCnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગ
 
Profile mua thi Kenhtuyensinh
Profile mua thi KenhtuyensinhProfile mua thi Kenhtuyensinh
Profile mua thi Kenhtuyensinh
 
Special purposer lathe machine. ppt
Special purposer lathe machine. pptSpecial purposer lathe machine. ppt
Special purposer lathe machine. ppt
 
Laporan KP PT PINDAD PERSERO
Laporan KP PT PINDAD PERSEROLaporan KP PT PINDAD PERSERO
Laporan KP PT PINDAD PERSERO
 
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB SeriesIntroduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
Introduction to NISSIN CNC 3D Freeform Tube Bender, NPB Series
 
Laporan PRAKTEK INDUSTRI (dandi heryana)
Laporan PRAKTEK INDUSTRI (dandi heryana)Laporan PRAKTEK INDUSTRI (dandi heryana)
Laporan PRAKTEK INDUSTRI (dandi heryana)
 
Memprogram mesin cnc_dasar
Memprogram mesin cnc_dasarMemprogram mesin cnc_dasar
Memprogram mesin cnc_dasar
 
lathe
 lathe lathe
lathe
 
Cnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiastCnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiast
 
Cnc 3- G code language -hiast
Cnc 3- G code language -hiastCnc 3- G code language -hiast
Cnc 3- G code language -hiast
 
Cnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiastCnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiast
 
Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiast
 
Industrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHELIndustrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHEL
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edm
 
cnc machining
cnc machiningcnc machining
cnc machining
 
CNC Programmingmodifies1
CNC Programmingmodifies1CNC Programmingmodifies1
CNC Programmingmodifies1
 
Recent Advancement of CNC Technology
Recent Advancement of CNC TechnologyRecent Advancement of CNC Technology
Recent Advancement of CNC Technology
 

Similar to Cnc programming basics.doc

CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1Prof. S.Rajendiran
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
Ved Prakash
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
Manpreet Singh
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
abhipawar123
 
Computer numerical control ( CNC )
Computer numerical control  ( CNC )Computer numerical control  ( CNC )
Computer numerical control ( CNC )
BhaveshChaudhari21
 
CNC.ppt
CNC.pptCNC.ppt
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
Aniket Verma
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
WondererBack
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
studyall1
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
ThakurNavjotSingh
 
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptxCAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
Praveen Kumar
 
Numerical control and CNC
Numerical control and CNCNumerical control and CNC
Numerical control and CNC
nmahi96
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
WondererBack
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
Dr.M BALA THEJA
 
CNCPRESENTATION.pdf
CNCPRESENTATION.pdfCNCPRESENTATION.pdf
CNCPRESENTATION.pdf
ZakariaMuhammad9
 
cnc danish3.pptx
cnc danish3.pptxcnc danish3.pptx
cnc danish3.pptx
AMWANI2
 

Similar to Cnc programming basics.doc (20)

CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
 
Computer numerical control ( CNC )
Computer numerical control  ( CNC )Computer numerical control  ( CNC )
Computer numerical control ( CNC )
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
 
Cnc1
Cnc1Cnc1
Cnc1
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
 
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptxCAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
 
Numerical control and CNC
Numerical control and CNCNumerical control and CNC
Numerical control and CNC
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
 
CNCPRESENTATION.pdf
CNCPRESENTATION.pdfCNCPRESENTATION.pdf
CNCPRESENTATION.pdf
 
cnc danish3.pptx
cnc danish3.pptxcnc danish3.pptx
cnc danish3.pptx
 
9.pmat m 01
9.pmat m 019.pmat m 01
9.pmat m 01
 

More from Soekarno Revolusi

What is cnc machine reference point
What is cnc machine reference pointWhat is cnc machine reference point
What is cnc machine reference point
Soekarno Revolusi
 
Stock sparepart yaskawa
Stock sparepart yaskawaStock sparepart yaskawa
Stock sparepart yaskawa
Soekarno Revolusi
 
Stock orientation card fanuc
Stock orientation card fanucStock orientation card fanuc
Stock orientation card fanuc
Soekarno Revolusi
 
Stock part mesin cnc
Stock part mesin cncStock part mesin cnc
Stock part mesin cnc
Soekarno Revolusi
 
Programming doosan mx series m
Programming doosan mx series mProgramming doosan mx series m
Programming doosan mx series m
Soekarno Revolusi
 
Mitsubishi cnc manuals
Mitsubishi cnc manualsMitsubishi cnc manuals
Mitsubishi cnc manuals
Soekarno Revolusi
 
Programming tt series cnc
Programming tt series cncProgramming tt series cnc
Programming tt series cnc
Soekarno Revolusi
 
Mitsubishi manuals
Mitsubishi manualsMitsubishi manuals
Mitsubishi manuals
Soekarno Revolusi
 
Mengecek kondisi ibgt dalam kondisi baik atau rusak
Mengecek kondisi ibgt dalam kondisi baik atau rusakMengecek kondisi ibgt dalam kondisi baik atau rusak
Mengecek kondisi ibgt dalam kondisi baik atau rusak
Soekarno Revolusi
 
Fanuc g code
Fanuc g codeFanuc g code
Fanuc g code
Soekarno Revolusi
 
Fanuc alarms fanuc series 15 alarm codes
Fanuc alarms fanuc series 15 alarm codesFanuc alarms fanuc series 15 alarm codes
Fanuc alarms fanuc series 15 alarm codes
Soekarno Revolusi
 
Fanuc alarms fanuc 6 alarms
Fanuc alarms fanuc 6 alarmsFanuc alarms fanuc 6 alarms
Fanuc alarms fanuc 6 alarms
Soekarno Revolusi
 
Fanuc 21i alarm codes
Fanuc 21i alarm codesFanuc 21i alarm codes
Fanuc 21i alarm codes
Soekarno Revolusi
 
Fanuc 21 alarm codes complete list
Fanuc 21 alarm codes complete listFanuc 21 alarm codes complete list
Fanuc 21 alarm codes complete list
Soekarno Revolusi
 
Fanuc 16i 18i alarms
Fanuc 16i 18i alarmsFanuc 16i 18i alarms
Fanuc 16i 18i alarms
Soekarno Revolusi
 
Fanuc 15i alarms
Fanuc 15i alarmsFanuc 15i alarms
Fanuc 15i alarms
Soekarno Revolusi
 
Fanuc 10 alarm list
Fanuc 10 alarm listFanuc 10 alarm list
Fanuc 10 alarm list
Soekarno Revolusi
 
Doosan tt series cnc
Doosan tt series cncDoosan tt series cnc
Doosan tt series cnc
Soekarno Revolusi
 
Doosan mx series alarm list
Doosan mx series alarm listDoosan mx series alarm list
Doosan mx series alarm list
Soekarno Revolusi
 
Complete okuma lathe g and m codes
Complete okuma lathe g and m codesComplete okuma lathe g and m codes
Complete okuma lathe g and m codes
Soekarno Revolusi
 

More from Soekarno Revolusi (20)

What is cnc machine reference point
What is cnc machine reference pointWhat is cnc machine reference point
What is cnc machine reference point
 
Stock sparepart yaskawa
Stock sparepart yaskawaStock sparepart yaskawa
Stock sparepart yaskawa
 
Stock orientation card fanuc
Stock orientation card fanucStock orientation card fanuc
Stock orientation card fanuc
 
Stock part mesin cnc
Stock part mesin cncStock part mesin cnc
Stock part mesin cnc
 
Programming doosan mx series m
Programming doosan mx series mProgramming doosan mx series m
Programming doosan mx series m
 
Mitsubishi cnc manuals
Mitsubishi cnc manualsMitsubishi cnc manuals
Mitsubishi cnc manuals
 
Programming tt series cnc
Programming tt series cncProgramming tt series cnc
Programming tt series cnc
 
Mitsubishi manuals
Mitsubishi manualsMitsubishi manuals
Mitsubishi manuals
 
Mengecek kondisi ibgt dalam kondisi baik atau rusak
Mengecek kondisi ibgt dalam kondisi baik atau rusakMengecek kondisi ibgt dalam kondisi baik atau rusak
Mengecek kondisi ibgt dalam kondisi baik atau rusak
 
Fanuc g code
Fanuc g codeFanuc g code
Fanuc g code
 
Fanuc alarms fanuc series 15 alarm codes
Fanuc alarms fanuc series 15 alarm codesFanuc alarms fanuc series 15 alarm codes
Fanuc alarms fanuc series 15 alarm codes
 
Fanuc alarms fanuc 6 alarms
Fanuc alarms fanuc 6 alarmsFanuc alarms fanuc 6 alarms
Fanuc alarms fanuc 6 alarms
 
Fanuc 21i alarm codes
Fanuc 21i alarm codesFanuc 21i alarm codes
Fanuc 21i alarm codes
 
Fanuc 21 alarm codes complete list
Fanuc 21 alarm codes complete listFanuc 21 alarm codes complete list
Fanuc 21 alarm codes complete list
 
Fanuc 16i 18i alarms
Fanuc 16i 18i alarmsFanuc 16i 18i alarms
Fanuc 16i 18i alarms
 
Fanuc 15i alarms
Fanuc 15i alarmsFanuc 15i alarms
Fanuc 15i alarms
 
Fanuc 10 alarm list
Fanuc 10 alarm listFanuc 10 alarm list
Fanuc 10 alarm list
 
Doosan tt series cnc
Doosan tt series cncDoosan tt series cnc
Doosan tt series cnc
 
Doosan mx series alarm list
Doosan mx series alarm listDoosan mx series alarm list
Doosan mx series alarm list
 
Complete okuma lathe g and m codes
Complete okuma lathe g and m codesComplete okuma lathe g and m codes
Complete okuma lathe g and m codes
 

Recently uploaded

AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 

Recently uploaded (20)

AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 

Cnc programming basics.doc

  • 1. Computer Numerical Control Programming Basics You can Join at Our Group Facebook : CNC INDONESIA or Email :soekarno.gempar@gmail Definitions CAD – COMPUTER-AIDED-DESIGN ■ Designing the part to be machined by CNC machine CAM – COMPUTER-AIDED-MANUFACTURING ■ Developing the toolpaths, feeds and speeds for the CNC Machines CNC – COMPUTER-NUMERICAL-CONTROLLED ■ Computer controlled machine controlled by a Machine Control Unit (MCU) Programming Process CAD - DRAW PART IN AUTOCAD OR AUTODESK INVENTOR Program Transfer – Load drawing file into MasterCAM CAM – PROGRAM CUTTERS, TOOLPATHS, SPEEDS, FEEDS, ETC. IN MASTERCAM Post Processor - A software link in the CAD/CAM chain that communicates instructions from CAM to a CNC machine. . Program data transfer - PC to Machine Control Unit which runs the CNC machine CNC – MACHINE PART ON A CNC MACHINE USING INSTRUCTIONS FORM CAD/CAM PROGRAMMING
  • 2. CNC Machine Types CNC Milling Center CNC Turning Center CNC Gantry Router
  • 3. What is a CNC Machine? CNC : Computer and Numeric Control: Conventionally, an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand. In a CNC Machine functions and slide movements are controlled by motors using computer programs. ● Programmed instructions are converted into output signals which in turn control machine operations such as spindle speeds, tool selection, tool movement, and cutting fluid flow. ● A numerical control, or “NC”, system controls many machine functions and movements which were traditionally performed by skilled machinists. ● Numerical control developed out of the need to meet the requirements of high production rates, uniformity and consistent part quality. Advantages: ● High Repeatability and Precision e.g. Aircraft parts ● Volume of production is very high ● Complex contours/surfaces need to be machined. E.g. Turbines ● Flexibility in job change, automatic tool settings, less scrap ● More safe, higher productivity, better quality ● Less paper work, faster prototype production, reduction in lead times Disadvantages: ● Costly setup, skilled operators ● Computers, programming knowledge required ● Maintenance is difficult How CNC works: ● Controlled by G and M codes. ● These are number values and co-ordinates. ● Each number or code is assigned to a particular operation. ○ Typed in manually to CAD by machine operators. ○ G&M codes are automatically generated by the computer software. ● The tool or material moves. ● Tools can operate in 1-5 axes. ● Larger machines have a machine control unit (MCU) which manages operations. ● Movement is controlled by a motor (actuators). ● Feedback is provided by sensors (transducers) Closed loop? ● Tool magazines are used to change tools automatically.
  • 4. Tool Paths, and Cutting Motions: ● Tool paths describe the route the cutting tool takes. ● Motion can be described as point to point, or contouring. ● Speeds are the rate at which the tool operates e.g. rpm. ● Feeds are the rate at which the cutting tool and work piece move in relation to each other. Expressed in IPM (inches per minute) ● Feeds and speeds are determined by cutting depth, material and quality of finish needed. e.g. harder materials need slower feeds and speeds. ● Rouging cuts remove larger amounts of material than finishing cuts. ● Rapid traversing allows the tool or work piece to move rapidly when no machining is taking place Point to Point and Contour Tool Paths: Point to Point Toolpath Contour ToolPath Point to Point toolpaths cut following lines Contour toolpaths cut follow surfaces Linear Interpolation :( Point to Point) Linear interpolation consist of a programmed point linked together by straight lines Circular Interpolation: (Contour) Circular interpolation is the process of programming arcs and circles. . Circular interpolation requires endpoints, a feed rate, a center, a radius, and a direction of movement.
  • 5. CNC Programming Basics Block of Information: When running, a part program is interpreted one command line at a time until all lines are completed. N001 G01 X1.2345 Y.06789 MO3 N001 Represents the sequence number of the operation G01 Represents linear operation (tool movement) X12345 Will move the tool or table 1.2345 in. a positive direction along the X axis Y6789 Will move the tool or table 0.6789 in. along the Y axis M03 Turns spindle on clockwise Commands, which are also referred to as blocks, are made up of words which each begin with a letter address and end with a numerical value. Each letter address relates to a specific machine function. “G” and “M” letter addresses O - Program number (Used for program identification) N - Sequence number (Used for line identification) G - Preparatory function X - X axis designation Y - Y axis designation Z - Z axis designation R - Radius designation F – Feed rate designation S - Spindle speed designation H - Tool length offset designation D - Tool radius offset designation T - Tool Designation M - Miscellaneous function
  • 6. G- CODES (Preparatory Functions) which cause some movement of the machine table or head. G00 – Rapid Movement G01 Linear Interpolation (movement) G02 Circular Interpolation, CW G03 Circular Interpolation, CCW G17 XY Plane,G18 XZ Plane,G19 YZ Plane G20/G70 Inch units G21/G71 Metric Units G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right G43 Tool length compensation (plus) G43 Tool length compensation (plus) G44 Tool length compensation (minus) G49 Tool length compensation cancel G80 Cancel canned cycles G81 Drilling cycle G82 Counter boring cycle G83 Deep hole drilling cycle G90 Absolute positioning
  • 7. G91 Incremental positioning M-CODES (Miscellaneous) which turn ON or OFF different functions M00 Program stop M01 Optional program stop M02 Program end M03 Spindle on clockwise M04 Spindle on counterclockwise M05 Spindle stop M06 Tool change M08 Coolant on M09 Coolant off M10 Clamps on M11 Clamps off M30 Program stop, reset to start Important things to know: Feed rate and spindle speed ● Feed and Speed Codes: F and S- Specify feed and spindle speed Coolant Control: On/Off, Flood, Mist Tool Control: Tool and tool parameters ● Tool codes: T – specify tool number Programming consists of a series of instructions in form of letter codes Preparatory Codes: ● G codes- Initial machining setup and establishing operating conditions
  • 8. ● N codes- specify program line number to executed by the MCU Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y, Z direction Program Example O1234 (Program Number) N5 G90 G20 (ABSOLUTE COORDINATE. IN INCHES) N10 M06 T3 (TOOLCHANGE TO TOOL #3) N15 M03 S1250 (SPINDLE ON CW AT 1250RPM) N20 G00 X1 Y1 (RAPID OVER TO X1 Y1) N25 Z0.1 (RAPID DOWN TO Z0.1) N30 G01 Z-0.125 F5 (FEED DOWN TO Z-0.125 AT 5IPM) N35 X3 Y2 F10 (FEED DIAGONALLY TO X3 Y2 AT 10IPM) N40 G00 Z1 (RAPID UP TO Z1) N45 X0 Y0 (RAPID OVER TO X0 Y0) N50 M05 (SPINDLE OFF) N55 M30 (PROGRAM END