G21 Code For Milling - CadCamAdda - Blogger
Recent Posts Widget ; //]]>
Home Home / G21 Code / G21 Code For Milling G21 Code For Milling G21 Code
Reviewed by Avtar Jassal on November 01, 2018 Rating: Share This: Facebook Twitter Google+ Pinterest Linkedin Instagram
G21 CODE FOR MILLING WITH FANUC CONTROLLER
The G21 code is basically used to convert dimension to millimeter(mm). G20 Code For MillingAPPLICATION:-
- In CNC Milling machine, we use both G21 and G20 Code. These codes are used to declare the dimension in our program. Because in our program we never consider dimensional units after X... Y... Z... co-ordinates. So this G21 and G20 Codes are used to declare dimensions to our program.
- As per the G21 Code, this Code is used to declare that our program works upon the millimeter dimension. All the X... Y... Z... coordinates are works upon millimeter dimension.
- Now if the G21 Code is applied in the safety block of the CNC program. Then the whole program is working upon millimeter dimension.
- In case, you want to change dimensional unit at any block from millimeter to inches. Then you just have to write G20 code in front of the desired block.
![]() |
| G21 Code |
EXAMPLE-1:-
In this example, we are going to add G21 Code in the safety block of the program. G-CODE for Milling G17G21G54G90 MO6T01 M08 M03S1000 G00X0Y0F40 G01Z-5 G01X40 Y50 Y60 X70 Y80 Z10 G28X0Y0Z0 M05 M09 M30 M-CODE for Milling So, in this program, we add G21 code in the safety block of the program. so the G21 code is applicable for all the coordinate units. Now all the units in this program work upon the millimeter unit.EXAMPLE-2:-
Now, in this Program, we are going to change the dimension from millimeter to inches. G17G21G54G90 MO6T01 M08 M03S1000 G00X0Y0F40 G01Z-5 G20G01X40 Y50 Y60 X70 Y80 G21Z10 G28X0Y0Z0 M05 M09 M30 Lots Of Drawings For CNC Machining Practice.. Click Here So as we can see the G21 code is written in the safety block. So that the millimeter dimension is applicable upon all the program. But I just add G20 code in front of G01 code before starting the cutting procedure. Now the cutting procedure works upon the inches dimensions as we required. So, in this way, we can use both the G21 Code and G20 Code in a single program. G21 Code For Milling
Reviewed by Avtar Jassal on November 01, 2018 Rating: Share This: Facebook Twitter Google+ Pinterest Linkedin You May Also Like
G21 Code2 comments:
Suresh KumarNovember 12, 2019 at 2:27 PMChina CNC Machining Service CNC Prototype Machining Service in china one of popular supplier macigs.net at valuable price. CNC Turning Services CNC Milling Services China CNC Machining Service
ReplyDeleteReplies- Reply
Adi shaikhOctober 25, 2021 at 11:03 AMToll milling service We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work.
ReplyDeleteReplies- Reply
LinkedIn Profile
Avtar JassalRecent Posts
Recent Posts WidgetAbout me
Hello, my name is Avtar Jassal. I am a Design Engineer. I have 2 years of experience in the field of Mechanical Designing Software. With my expertise in this field, I am here to answer your Queries. Please Contact me:-[email protected].Blog Archive
Blog Archive August 2019 (1) December 2018 (1) November 2018 (2) October 2018 (4) September 2018 (1) August 2018 (1)Popular Posts
-
M98 AND M99 CODE EXAMPLE -
G80-G84 code group in cnc -
G21 Code For Milling
Categories
difference between solidworks and catia v5 G00 CODE G01 CODE G02 Code G21 Code G80-G84 group G81 CODE introduction M98 Code solidworks vs catia v5 use of catia v5 use of solidworksSEND ME A MAIL
Name Email * Message *Report Abuse
Powered by Blogger.Total Pageviews
Tags
difference between solidworks and catia v5 G00 CODE G01 CODE G02 Code G21 Code G80-G84 group G81 CODE introduction M98 Code solidworks vs catia v5 use of catia v5 use of solidworksFollow Us
- Google+
- youtube
Từ khóa » G20 Y G21 Cnc
-
G21 And G20 G-Code: Metric And Imperial Unit Conversion In CNC
-
CNC | G20 And G21 Codes | Imperial And Metric System
-
G20 & G21 (Unit Selection Codes)
-
Cnc Programming || G20 & G21 Cnc Code || Input In Inch || Input In Mm
-
G20 Select Inches / G21 Select Metric (Group 06)
-
G20 Seleccionar Pulgadas / G21 Seleccionar Sist. Mtrico (Grupo 06)
-
Selca CNC G13 G20 G21 G51 Program Example
-
SUMMARY OF G-CODES - MachMotion
-
CNC G Codes
-
G-code - Wikipedia

Suresh Kumar