SlideShare ist ein Scribd-Unternehmen logo
1 von 52
G & M CodeG & M Code
G Code



APT
CAD-CAM
Automatic
manual
Edit
 G Code
 APT language
G & M Code
G Code
G & M Code
O
N
G
M
F
Srpm
,D0,…, D7 P0,…, P7
T
L
G & M Code
O0519
N0010 G91 G80 G49 G40 G00 T01
N0020 T02 M01
N0030 G90 G54 G00 X5.44 Y1.95 S500
N0040 G43 Z0.1 D01
N0300 T03 M06
N0310 G90 G54 G00 X0.9 Y-1.5 S1300
N1000 M30
G & M Code
N0100 G01 G42 X1.0 Y7.1 F10.0 S500 M03 D01
Group
0
G00 : Rapid traverse
G01 : Linear interpolation
G02 : Circular interpolation clockwise
G03 : Circular interpolation counterclockwise
G04 : Dwell
G72 : Defining circular boring pattern
G74 : Defining rectangular boring pattern
G81 : Drilling, centering
G82 : Drilling, spot-facing
G83 : Deep-hole drilling with retraction
G84 : Tapping
G86 : Deep-hole drilling with chip breaking
G87 : Rectangular pocket milling cycle
G88 : Circular pocket milling cycle
G89 : Slot milling cycle
Group 2
G94 : Feed in mm/min or 0.01 inch/min
G95 : Feed in um/rev or 0.0001 inch/rev
Group 3
G53 : Cancellation of offsets 1, 2
G54 : Call-up of offset 1
G55 : Call-up of offset 2
Group 4 G92 : Set offset 5
Group 5
G56 : Cancellation of offsets 3, 4, 5
G57 : Call-up of offset 3
G58 : Call-up of offset 4
G59 : Call-up of offset 5
Group 6
G25 : Subroutine call-up
G27 : Unconditional jump
Group 7
G70 : Measurements in inches
G71 : Measurements in mm
Group 8
G40 : Cancellation of the tool path compensation
G41 : Cutter path compensation left
G42 : Cutter path compensation right
Group 9
G17 : 1st
axis switching
G18 : 2nd
axis switching
G19 : 3rd
axis switching
G20 : 4th
axis switching
G21 : 5th
axis switching
G22 : 6th
axis switching
Group 11
G98 : Withdrawal to starting plane
G99 : Withdrawal to withdrawal plane
Group 12
G73 : Call-up circular boring pattern
G74 : Call-up rectangular boring pattern
Group 0
M03 : Spindle ON in clockwise direction
M04 : Spindle ON in counterclockwise direction
M05 : Spindle stop
M19 : Spindle precise stop
Group 1
M38 : Precise stop ON
M39 : Precise stop OFF
Group 2
M00 : Programmed stop
M17 : Subroutine end
M30 : Program end with return to program start
Group 3
M08 : Coolant ON
M09 : Coolant OFF
Group 8
M50 : Cancellation of the direction logic with bidirectional tool
turret
M51 : Selection of the direction logic with bidirectional tool turret
Group 10
M90 : Cancellation of the mirroring function
M91 : Mirroring on the X-axis
M92 : Mirroring on the Y-axis
M93 : Mirroring on the Z-axis
G & M Code: notes
OO13
NN0010
M30
G Code(M Code)
G Code/ M Code
X, Y, Z, U, V, W I, J, K)P, D(…,
G & M Code:
deactivation
)G/M(G40RESET.
N 0100 G00 X -20. Y 5. Z 40 .
N 0110 G00 X 10. Y 5. Z 5.
N 0120 G01 X -20. Y 5. Z -5.
G00
ACTIVE
G00 Deactivated by G01
O 12
N0000
N0020 ………………………..G54
N0030 …………………………G57
N0040 ………………………….M30
_______________________________________
O 20
N0000
N0100 ………………………G00
G & M Code:
deactivation
G54 & G57 are
still active
O 12
N0000
.
N0100 G00 X1 Y1 Z1
N0200 ………………………….M30
O 20
N0000
N0100 X2 Y2
N0200 G02 X2 Y2 G02 is deactivated now by G02
G & M Code:
deactivation
G00 is still
active
G & M Code:
deactivation/skip

G92RESET

N0090 G00 X20. Y25. W30.
N0100 /…………………….. Block to be skipped
N0100
/
V
initialization







9
G70mmG71
T 01 10
N0100 T02 02
.
N0400 G00……..
OR
N0400 G00 X… Y… Z… T0202
Tool number Tool compensation number
01 - 10 01 - 99
G00
Edit
length
compensation =
H – H1 = Z

N0001 F300.

N0002 S500

N0005 M03 clock wise direction
OR
N0005 M04 counter clock wise direction
•G00/G01
•35
N0020 G25 L01 10
L01
G00 X… Y…
G81……………
N0020 G27 L01
N0001 G00 X… Y… G81……………
G02/G03
G02/G03
G72
)1()4()4()3).(4()3).(4()3).(4()4( 7300//72 DDDPVYUXGN ±±±
G73
N…. G73
G72G73
G74
)1()4()3).(4(
)4()3).(4()3).(4()3).(4()4(
711
00//74
DDP
DPVYUXGN
±
±±±
G75
N…. G75
G74G75
G81
)3).(4()3).(4()3).(4()3).(4()4( 4/3///81 ±±±± PPWZVYUXGN
G82
)4()5()3).(4()3).(4()3).(4()4( 4///82 FDWZVYUXGN ±±±
G83
)4()7()5()5(
)3).(4()3).(4()3).(4()3).(4()4(
653
4/3///83
FDDD
PPWZVYUXGN ±±±±
G84
)4()3).(4()3).(4()3).(4()3).(4()4( 4/3///84 FPPWZVYUXGN ±±±±
G86
)4()7()3()5(
)3).(4()3).(4()3).(4()3).(4()4(
653
4/3///86
FDDD
PPWZVYUXGN ±±±±
G87
)7()2()5()3).(4()3).(4(
)3).(4()3).(4()3).(4()3).(4()4(
75310
4/3///87
DDDPP
PPWZVYUXGN ±±±±
G88
)4()1()1()1()5()5(
)3).(4()3).(4()3).(4()3).(4()3).(4()4(
75432
4/31///88
FDDDDD
PPPWZVYUXGN ±±±±
G89
)4()1()1()1()5()4(
)3).(4()3).(4()3).(4()3).(4()3).(4()3).(4()4(
75432
4/310///89
FDDDDD
PPPPWZVYUXGN ±±±±±±
1.Power on
2.Edit
3.
4.Automatic
5.RESET
6.
7.
cnc , nc machine


Weitere ähnliche Inhalte

Was ist angesagt?

Canned cycle
Canned cycleCanned cycle
Canned cycleaman1312
 
Manual part programming
Manual part programmingManual part programming
Manual part programmingjntuhcej
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unitpalanivendhan
 
Indexing or dividing_head
Indexing or dividing_headIndexing or dividing_head
Indexing or dividing_headJavaria Chiragh
 
Cnc milling programs
Cnc milling programsCnc milling programs
Cnc milling programsmoniraghu
 
Cnc turning(Fanuc system)
Cnc turning(Fanuc system)Cnc turning(Fanuc system)
Cnc turning(Fanuc system)NavinBurnwal1
 
Numerical control machines tool
Numerical control machines toolNumerical control machines tool
Numerical control machines tooljntuhcej
 
classification and nomenclature of Milling cutter
classification and nomenclature of Milling cutterclassification and nomenclature of Milling cutter
classification and nomenclature of Milling cutterDhiren Patel
 
CNC Milling (fanuc system)
CNC Milling (fanuc system)CNC Milling (fanuc system)
CNC Milling (fanuc system)NavinBurnwal1
 
Manual part programming
Manual part programmingManual part programming
Manual part programmingjntuhcej
 
COMPUTER AIDED PROCESS PLANNING
COMPUTER AIDED PROCESS PLANNINGCOMPUTER AIDED PROCESS PLANNING
COMPUTER AIDED PROCESS PLANNINGjntuhcej
 
CNC Milling
CNC MillingCNC Milling
CNC Millingendika55
 

Was ist angesagt? (20)

Cnc turning
Cnc turning Cnc turning
Cnc turning
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 
Manual part programming
Manual part programmingManual part programming
Manual part programming
 
CNC Programming
CNC Programming CNC Programming
CNC Programming
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
Cnc machine centre
Cnc machine centreCnc machine centre
Cnc machine centre
 
Indexing or dividing_head
Indexing or dividing_headIndexing or dividing_head
Indexing or dividing_head
 
Cnc milling programs
Cnc milling programsCnc milling programs
Cnc milling programs
 
Cnc turning(Fanuc system)
Cnc turning(Fanuc system)Cnc turning(Fanuc system)
Cnc turning(Fanuc system)
 
Numerical control machines tool
Numerical control machines toolNumerical control machines tool
Numerical control machines tool
 
classification and nomenclature of Milling cutter
classification and nomenclature of Milling cutterclassification and nomenclature of Milling cutter
classification and nomenclature of Milling cutter
 
CNC Milling (fanuc system)
CNC Milling (fanuc system)CNC Milling (fanuc system)
CNC Milling (fanuc system)
 
Manual part programming
Manual part programmingManual part programming
Manual part programming
 
Apt programming
Apt programmingApt programming
Apt programming
 
Milling Fixture
Milling FixtureMilling Fixture
Milling Fixture
 
COMPUTER AIDED PROCESS PLANNING
COMPUTER AIDED PROCESS PLANNINGCOMPUTER AIDED PROCESS PLANNING
COMPUTER AIDED PROCESS PLANNING
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
 
Fanuc g code
Fanuc g codeFanuc g code
Fanuc g code
 
CNC Programmingmodifies1
CNC Programmingmodifies1CNC Programmingmodifies1
CNC Programmingmodifies1
 
Machining
MachiningMachining
Machining
 

Ähnlich wie G & m code

Ähnlich wie G & m code (20)

drawing.pptx
drawing.pptxdrawing.pptx
drawing.pptx
 
MILL - TRAINING.pptx
MILL - TRAINING.pptxMILL - TRAINING.pptx
MILL - TRAINING.pptx
 
LATHE - TRAINING.pptx
LATHE - TRAINING.pptxLATHE - TRAINING.pptx
LATHE - TRAINING.pptx
 
cadcampart11.ppt
cadcampart11.pptcadcampart11.ppt
cadcampart11.ppt
 
CNC Programming.pptx
CNC Programming.pptxCNC Programming.pptx
CNC Programming.pptx
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
 
CNC MILLING.ppt
CNC MILLING.pptCNC MILLING.ppt
CNC MILLING.ppt
 
5 g-code
5   g-code5   g-code
5 g-code
 
Cnc02 6573
Cnc02 6573Cnc02 6573
Cnc02 6573
 
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
 
15 me404l manual - ex 1 to 4
15 me404l   manual - ex 1 to 415 me404l   manual - ex 1 to 4
15 me404l manual - ex 1 to 4
 
CIMS Lab.ppt
CIMS Lab.pptCIMS Lab.ppt
CIMS Lab.ppt
 
CNC MILLING
CNC MILLINGCNC MILLING
CNC MILLING
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.ppt
 
Chamfer in CNC Programming
Chamfer in CNC ProgrammingChamfer in CNC Programming
Chamfer in CNC Programming
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
Codigos de-programacion cnc
Codigos de-programacion cncCodigos de-programacion cnc
Codigos de-programacion cnc
 
Fanuc ot g code training manual
Fanuc ot g code training manualFanuc ot g code training manual
Fanuc ot g code training manual
 
5 g-code
5   g-code5   g-code
5 g-code
 
CNC
CNCCNC
CNC
 

Mehr von ahmad almaleh

Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiastahmad almaleh
 
Cnc 4-g cod language -hiast
Cnc 4-g cod language -hiastCnc 4-g cod language -hiast
Cnc 4-g cod language -hiastahmad almaleh
 
Cnc 3- G code language -hiast
Cnc 3- G code language -hiastCnc 3- G code language -hiast
Cnc 3- G code language -hiastahmad almaleh
 
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 - hiastahmad 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 - hiastahmad almaleh
 

Mehr von ahmad almaleh (13)

G & m code 1
G & m code 1 G & m code 1
G & m code 1
 
Numerical control
Numerical controlNumerical control
Numerical control
 
G code
G codeG code
G code
 
Dnc and bluetooth
Dnc and bluetoothDnc and bluetooth
Dnc and bluetooth
 
Cnc machining
Cnc machiningCnc machining
Cnc machining
 
Cnc design
Cnc designCnc design
Cnc design
 
Cnc design 2
Cnc design 2Cnc design 2
Cnc design 2
 
Cnc machine
Cnc machineCnc machine
Cnc machine
 
Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiast
 
Cnc 4-g cod language -hiast
Cnc 4-g cod language -hiastCnc 4-g cod language -hiast
Cnc 4-g cod language -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 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 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
 

Kürzlich hochgeladen

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Kürzlich hochgeladen (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

G & m code