CNC G Code Programming: A CNC Mill Tutorial explaining G Codes

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • CNC G code programming: A CNC mill tutorial explaining G codes with emphasis on G02 circular interpolation.
    This is a step-by-step simple programming tutorial that can be used to help understand the basics of G-code programming techniques and procedures. The print was created using standard graph paper, a ruler, and a compass. The graphics were created using GibbsCAM software.

ความคิดเห็น • 269

  • @jasonbirch1182
    @jasonbirch1182 ปีที่แล้ว +8

    Thank you. My first real g code lesson. It made perfect sense. I wish you had more.

  • @derryafandi7717
    @derryafandi7717 ปีที่แล้ว +4

    Thank you bro, still good on 2023

  • @johnsimonetti9262
    @johnsimonetti9262 9 ปีที่แล้ว +4

    Excellent tutorial ...simple explanation of each step and their letter code. This 75 yr old beginner even understood, learned and enjoyed. Great Narration.

  • @althomas6045
    @althomas6045 ปีที่แล้ว +3

    titans and hass do not come close to the quality and safety of your code or the qaulity and depth of your explanations.
    well done.
    i've got 42 years in the trade and 37 as a programmer.

  • @obiscotchkenobi6195
    @obiscotchkenobi6195 9 ปีที่แล้ว +12

    Thank you sir. You finally explained circular interpolation in a way that us normal folks can understand. Please, please, please upload more videos!

  • @STSCNC
    @STSCNC ปีที่แล้ว +2

    This was well done and easy to follow, Thank you

  • @MisterFizz
    @MisterFizz 8 ปีที่แล้ว +18

    Very helpful for an absolute beginner. Thank-you for taking the time to lay it all out so well, step-by-step. I found the presentation guide me very precisely through the process and left me with a strong base level understanding of each step.

  • @DucTran-ih4ck
    @DucTran-ih4ck ปีที่แล้ว +3

    Now I understand I and J so clear. Thank

  • @TedDanzig
    @TedDanzig 4 ปีที่แล้ว +4

    Watching you demonstrate and explain was better than most of the literature I’ve found. Thank you.

  • @ricklovoi1520
    @ricklovoi1520 8 ปีที่แล้ว +6

    Finally someone spends the time to really explain !! I found this awesome for someone who never used a CNC machine. Looking forward to learning this new skill!!Thank you !!!!!

  • @whocaresidontcare2116
    @whocaresidontcare2116 ปีที่แล้ว +3

    This was very helpful and clearly pointed out at a nice pace. Thank you for not adding music to the background.

  • @sk8guitardrums
    @sk8guitardrums 10 ปีที่แล้ว +33

    nice and very well explained.

    • @cncprogramming3907
      @cncprogramming3907  10 ปีที่แล้ว +1

      Thank you for the comment!

    • @jimjam1719
      @jimjam1719 6 ปีที่แล้ว

      yes, very well explained and methodical but at a very low volume, i had to crank it up to 80 or more to hear you.

  • @paulm5302
    @paulm5302 9 ปีที่แล้ว +3

    Outstanding Tutorial. Please keep them coming... Thank you, I look forward to more CNC mill tutorials from you soon.

  • @joepie221
    @joepie221 8 ปีที่แล้ว

    Is there a reason you did not use cutter comp code to simplify this demo?

  • @seatlanta
    @seatlanta 8 ปีที่แล้ว +4

    Good job. Clear graphics. Thanks for taking it slow.

  • @MrWallace803
    @MrWallace803 7 ปีที่แล้ว +2

    Great tutorial. I tried to learn radiuses from the Haas manual, but my head almost exploded. This lesson explained it perfectly.

  • @agdtec
    @agdtec 9 ปีที่แล้ว +22

    Are you going to any more videos?

  • @MrRctintin
    @MrRctintin 3 ปีที่แล้ว +1

    That was very clear thanks. Just learning G&M, and that was a great help to me.

  • @cedrickaleria729
    @cedrickaleria729 6 ปีที่แล้ว +1

    from n60 the x4.25 and y 3.5 coordinates, how did you derive that it gives me a headache and n50 x0.5 and y 4.25, please explain is not clear to me

  • @Dsmiffb
    @Dsmiffb 8 ปีที่แล้ว +18

    sad thing is I had 3 classes dedicated to CNC programming at my college (automated manufacturing major) and you explained everything much better in one video. lol. very informative. been working for over a year in addition to my degree and I am always learning. it's a great thing to know.

    • @INFIDEL82AA
      @INFIDEL82AA 7 ปีที่แล้ว +5

      David... I can say the same thing, in regard to my CNC classes. My instructor was trying to explain or "Teach" our class G-Code, as if we all had SOME experience writing it. None of us had! We were all taking beginner classes. Then he would get all pissed, when we didn't get what he was saying. Some people just suck at instructing, on a level that will allow someone to learn. Like you stated, this 25 minute tutorial has explained things far better to me than my CNC "College Level" instructor ever could! Good luck! I hope things are moving forward for you. I absolutely love this shit!

    • @jimjam1719
      @jimjam1719 6 ปีที่แล้ว +1

      titanium cranium- i agree with you, my instructor kinda mumbles when he talks, or should i say, he speaks very lowly, i.e. a low volume, hard to hear him, and i am just sitting 2 chairs over from him, and he tells us coming from his experience, where as we are newbies, he doesn't get mad, but i can tell he is prolly thinking that we are stupid to a degree, he has to keep reiterating himself or repeating everything but he doesn't explain it in simple terms, he can only explain it in experienced terms, in other words,,,, i'm not sure he is cut out to be a teacher, some people can teach, others can't. i think he is more concerned about the xtra money he is making from teaching on the side of his cam programming job. btw- i love this shit too.

    • @Pidalin
      @Pidalin ปีที่แล้ว

      At the end, you have to find out everything in practice by testing, some lessons will taugh you maybe how to start the machine, not how to actually program it. 😀

  • @fr8tv4
    @fr8tv4 11 หลายเดือนก่อน +1

    Omg great tutorial you took it just at the perfect pace for me to understand and comprehend im a new subscriber ❤🎉

    • @fr8tv4
      @fr8tv4 11 หลายเดือนก่อน +1

      Just one video 😢

  • @rampaga1157
    @rampaga1157 5 ปีที่แล้ว +1

    Thank you brother, you explained it better than my shitty teacher

  • @weiweixu1233
    @weiweixu1233 8 ปีที่แล้ว +1

    Great video! The illustration of g00, g01, g02 is extremely clear. Thanks for your time.

  • @NyourfaceProductions01
    @NyourfaceProductions01 7 ปีที่แล้ว +1

    Good explanation of each move. This is a very good starting lesson of Gcode. I am an untrained machinist but really want to get into CNC for home and eventually convince my employer to get a small CNC 3D router.

  • @markwilliams4015
    @markwilliams4015 8 ปีที่แล้ว +1

    EXCELLENT Video! Excellent Visuals! Excellent description! Couldn't ask for anything better. Keep up the good work!

  • @dhackford1
    @dhackford1 ปีที่แล้ว +1

    I increased the speed rate to 175 it’s still very slow can you get to the point faster

    • @toke7342
      @toke7342 23 วันที่ผ่านมา

      You mean 1.75

  • @rfresh1011
    @rfresh1011 7 ปีที่แล้ว +3

    Great tutorial...I'm writing a gcode editor with a visual Arc assist feature to help you create G02/G03 arcs...but it's not finished yet.

  • @ReyBanYAHUAH
    @ReyBanYAHUAH 4 ปีที่แล้ว

    Always remember to repent of your sins (sin is transgression of YAHUAH’S LAW: Genesis, Exodus, Leviticus, Numbers, & Deuteronomy) And Have Belief On YAHUSHA HAMASHYACH. HE Died and Rose Again On The Third Day So that you can be forgiven of your sins!
    HE Loves you! Come to HIM!

  • @58browning40
    @58browning40 9 ปีที่แล้ว +1

    Very good tutorial. I have been programming CNC lathes for many years but have limited experience programming milling machines. This video helps me understand mill programming better. Thank you!

    • @AbhishekRaj1992
      @AbhishekRaj1992 9 ปีที่แล้ว

      58browning pleae help me to learn

  • @shanel4348
    @shanel4348 หลายเดือนก่อน

    As someone who learned programming and also GibbsCAM in tradeschool, this really helped as a refresher. However, I would love to know, for education's sake: How did you get GibbsCAM to simulate your code? Was this the work of clever editing? Thank you for a great video either way.

  • @GCodeTutor
    @GCodeTutor 6 ปีที่แล้ว

    The last mill I ran used the I and J values from the datum and not the cutter position. I've never come across that before. really messed me up lol

    • @stevenreese8573
      @stevenreese8573 4 ปีที่แล้ว

      It appears to me that he used incremental in his I and J values and not Absolute.
      My values would have been .5 and 3, the center of the arc related to 0,0.

  • @ishakusolomon6034
    @ishakusolomon6034 9 ปีที่แล้ว

    Hello. I will like to thank you for taking you time to explained this program. this is for me. Well explained for beginner like.please how can you help me to grow more.may the lord bless you.

  • @chanchalsakarde2768
    @chanchalsakarde2768 7 หลายเดือนก่อน

    lets say circle have 400 locations on it, each location identified as numeric location id, so how can we move to pointer to series of location given... for example starts from 0 to 10 then move to 34 -> 200 -> 90 -> 275 -> 345 and so on .. how to do these series moves one after other ... can you please guide through demo

  • @daviemun
    @daviemun 8 ปีที่แล้ว

    Maybe I'm not getting it. Shouldn't N70 X value be X4.25? That is the distance horizontally from 0 to start the arc. The logic brings me to look at the other points which jive. This one doesn't.

  • @russelallen5342
    @russelallen5342 8 ปีที่แล้ว +1

    Thanks, I found this very interesting! Great presentation.

  • @debradisharoon
    @debradisharoon 7 ปีที่แล้ว +1

    I wish you had been my first programming instructor. This is good!

  • @testhossam1
    @testhossam1 7 ปีที่แล้ว

    Use this script to transfer any 3D model to spline and then generate GCode out of it.
    link to the scripts here: github.com/HMI1973/Shapeoko-3d-max-script/
    For laser cut i'll upload another video shortly

  • @josezolorza406
    @josezolorza406 4 ปีที่แล้ว +1

    I go to NTMA Training Center & just started learning G&M Codes, it is very helpful to look at videos like this one. I find it sometimes better explained from another person than my teacher, Thank you for this video.

  • @mikepaulbarretto2788
    @mikepaulbarretto2788 9 ปีที่แล้ว

    Great tutorial, I am a beginner & would like to learn more. Does this tutorial have the program structure? I heard a program should consist of all these...Initialization, Safety, Tool Change Movement & positioning. program end & start. Thanks again

  • @Pearso0000
    @Pearso0000 9 ปีที่แล้ว

    Ah I see. So "I" and "J" values in G code are equivalent to the "H" and "K" values I learnt in maths when graphing circles and ellipses? Like from the Standard Circle Form: (x-h)^2 + (y-k)^2 = r^2
    If math teachers taught how mathematical disciplines applied to real life (like this), there would be a lot less young students dropping it at the first opportunity

  • @hungly-xr4mf
    @hungly-xr4mf 4 ปีที่แล้ว +1

    nice & very well

  • @viswasai9052
    @viswasai9052 6 ปีที่แล้ว

    please telugu version ,and more information,G code ,M code, CNC Programing , fundamental. in telugu medium

  • @djgamer2012
    @djgamer2012 6 ปีที่แล้ว

    I get G01's all day but damn I still don't get G02 or G03's Radius just explode my mind. I always want to do Incremental but for some reason people say it's harder than Absolute. I just wish they would let me do Incremental, I just don't get Absolute.

  • @jaromirdybal4172
    @jaromirdybal4172 5 ปีที่แล้ว

    please I need to advise how FANUC milling spiral holes (spiral countersink). I have no control over the machine going to the center of the hole - it always starts elsewhere than exactly on the axis. Thank you

  • @MinecraftsAssassin
    @MinecraftsAssassin 6 ปีที่แล้ว

    One question I do have, is does G02 only cover a 2D plane for cuts? Like is there a reason the K value from the center point is left out of the code? - I have literally no experience in CNC, only manual machining and 3D CAD stuff, but i'm starting to go into actual career based classes this coming year.

  • @vergilalbia909
    @vergilalbia909 9 ปีที่แล้ว

    very good!!!,,well explained g-codes and its functions..it helps a lot more people like me who just started to learn basic cnc-mill programing..thanks much for the brilliant mind and generousity of the person who uploaded this video!!!..god bless!!!

  • @Fernando07021950
    @Fernando07021950 9 ปีที่แล้ว +1

    Hi, Tanks great explanation. May I know where to find that simulator, it looks simple and easy to follow.

  • @herberthail7542
    @herberthail7542 5 ปีที่แล้ว

    What program do we use to save the codes and the drawing in to put it on a cnc machine to engrave/cut? I have a CNC machine and it is a small one. I am trying to learn how to draw and write the program and cut it. I have inkscape and autocad 2017, however I am trying to learn on both. I have coreldraw 12 also. I have been using a laser machine and have a lot of fun with it. Now I wish to lean the CNC router. Thank you for all of your assistance

  • @hardford1
    @hardford1 9 ปีที่แล้ว

    best g code explained ever on youtube .......thank you for your time....i wish to upload more videos a bout g code

  • @michaelbodine6142
    @michaelbodine6142 7 ปีที่แล้ว

    I am looking to Forward my career IN NOrthwest Chicago suburbs in CNC systems without being afraid of Puerto rican diseases !! also designed questionaires for Advocate General OB GYN wards. ALL OB GYN wards;

  • @josephp.polnaszek9134
    @josephp.polnaszek9134 9 ปีที่แล้ว

    I like this video and wish you would put together more of them. How about; Peck drilling, Bolt circles, Profile milling, Single point threading in the knee mill.
    Thanks and keep them coming.
    Joe

  • @EpicNob101
    @EpicNob101 10 ปีที่แล้ว +8

    Great tutorial. Thanks!

  • @ASAP_Kenny
    @ASAP_Kenny 4 ปีที่แล้ว

    I’m almost done with school and I’m terrified of getting into the industry. I don’t wanna do basic production work where you do the same thing everything because it’s boring and shit money but I’m also afraid of doing something out of my skill level and getting fired or something

  • @wayneday2417
    @wayneday2417 14 วันที่ผ่านมา

    Walker Anthony Jackson Margaret Thomas Jose

  • @stevenreese8573
    @stevenreese8573 4 ปีที่แล้ว

    Are your I-J values in incremental? If it were absolute, the center of the arc would be the distance from 0,0 to that center point.

  • @anommouse1609
    @anommouse1609 6 ปีที่แล้ว

    i just made a coding sytem like a message coding but i was looking up g-eazy and hit gc by accident and saw this way above my knowledge never herd of it so.. thanks ig

  • @Rasel2021
    @Rasel2021 9 ปีที่แล้ว

    Cool tutorial. Well explained for beginner Thanks much!.

  • @Pidalin
    @Pidalin ปีที่แล้ว

    this G code looks pretty different from what I am used to from Xilog Plus (morbidelli machines), our is like:
    F1 (top area of product)
    C0 (no correction, there can be also C2 or C1 or C3)
    G0 X50 Y50 Z10 T101 V2 S15000 (go from point X=50, Y=50, deep of cut 10 mm, tool number 101, speed 2 m/min, RPM 15000)
    G1 X100 Y100 (go to point X=100, Y=100) G1 means straight line, G2 is arc, G3 arc in other direction etc....
    With Xilog Plus, it's that easy that I don't have to fill all parameters again and again, when there is Y=50 in previous line and I want to keep the same Y value on line under it, I just skip it, the same with speed and other parameters, so that code looks very simple and elegant.
    But I don't have to type it as raw text, Xilog Plus helps me with that, I think this is the best way of programming, it's very easy compared to modern cam/cad programming which I found very stupid and overcomplicated for most of furniture products where G code is much faster, elegant and more productive way how to do that than drawing every stupid hole in some cad with very limited options how to optimize it manualy.
    Those modern machines are stupid generally. With old machines, I can just copy programs to other machine, then I will just change tool numbers and few other things and I can immediately start that program on different machine, forget about that with modern CNCs!!!

  • @Rak-s5o
    @Rak-s5o 4 ปีที่แล้ว +1

    like

  • @jmhandleman
    @jmhandleman 8 ปีที่แล้ว

    You chose absolute coordinates, but when did you set the origin of the axis? Or do you not need to do this? If that's true, then why? Thanks also for putting this up!

  • @AlekSensej
    @AlekSensej 7 ปีที่แล้ว

    Dam I wish I could have learned this in grade school.
    Unfortunately not a lot of demand for these tips of machines in my region.

  • @manuelalcala3211
    @manuelalcala3211 8 ปีที่แล้ว

    Thank you so much! now i am understand g-codes & m-codes because you well explained everything for beginner like me,more power to you sir,

  • @flaviovidalvidal942
    @flaviovidalvidal942 7 ปีที่แล้ว

    Aqui no Brasil trabalho com CAD Rhinoceros e com o CAM Poermill.
    traduzindo= Here in Brazil I work with Rhinoceros CAD and the CAM Poermill

  • @BushCampingTools
    @BushCampingTools 5 ปีที่แล้ว

    Very well explained, great tutorial!!!

  • @mathewwhittle10
    @mathewwhittle10 9 ปีที่แล้ว

    First thumbs up I've given for ages... still foxing my brain, but this allows a person to soak it all in. Thanks.

  • @almightyjovi3906
    @almightyjovi3906 8 ปีที่แล้ว

    anyone know how G code G10 function aplicable on cnc lathe turning..
    please show me ..tks

  • @jbbauer0
    @jbbauer0 9 ปีที่แล้ว

    Watched a couple other videos on G02. This one really hammered the nail in. Thank you.

  • @georgeroper9210
    @georgeroper9210 8 ปีที่แล้ว

    i finally understand,thanks.i will be looking for more videos that you do.........

  • @royperkin1581
    @royperkin1581 8 ปีที่แล้ว

    Great instruction but there is no such statement as R.P.M's It's R.P.M. Revolutions Per Minute not Minutes.
    Still well done though I wish I had your skill.

    • @tacobob891
      @tacobob891 7 ปีที่แล้ว +1

      Roy Perkin Some people can run Cnc and some people can be grammar police. Guess we all have our own unique gifts.

  • @DS-es7id
    @DS-es7id 3 ปีที่แล้ว

    This really helped, I could use some more of these type of instructional videos. where should i go?

  • @redonniemolas5581
    @redonniemolas5581 7 ปีที่แล้ว

    Well explained, should apply the tool compensation to be able to adjust the possible error in the dimensions after machinning and no need to add or minus from center of an arc to center of the tool. My thoughts thanks.

  • @snteevveetns
    @snteevveetns 8 ปีที่แล้ว

    Interesting. Have any more videos for more complicated cuts? Thanks!

  • @billkellogg1403
    @billkellogg1403 5 ปีที่แล้ว

    Excellent!! How disappointed when I found it was your only video!!

  • @jgbcjgbc2323
    @jgbcjgbc2323 9 ปีที่แล้ว

    Hello, I am going to CNC school and I really liked your video. Can you please post more of them?
    thanks.

  • @darbo1067
    @darbo1067 10 ปีที่แล้ว

    That was well done. Please make more!!!
    The only lines I need more info on would be block N5 and N15.

  • @intoart340
    @intoart340 6 ปีที่แล้ว

    i will have to come back later. Cant stand the constant barrage of commercials. so much i want to see and learn but i am forced to wait to get past the crap. i find very interesting video's only to get blocked by more and more commercials. maybe i'll be back unless i can find one without commercials.......

    • @velegi58
      @velegi58 6 ปีที่แล้ว

      get a mac

  • @maravatio67
    @maravatio67 8 ปีที่แล้ว

    Thank you so much. This video it is so helpful for beginners like me. Muchas gracias amigo!.

  • @Eliizaa15
    @Eliizaa15 8 ปีที่แล้ว

    I don't get this. Im doing one like this and I need to turn it in tomorrow. :/

  • @danieljusticiero
    @danieljusticiero 8 ปีที่แล้ว

    Excelente, muchas gracias, esta muy bien explicado. Now I am a follower!!

  • @danieljusticiero
    @danieljusticiero 8 ปีที่แล้ว

    Excelente, muchas gracias, esta muy bien explicado. Now I am a follower!!

  • @danieljusticiero
    @danieljusticiero 8 ปีที่แล้ว

    Excelente, muchas gracias, esta muy bien explicado. Now I am a follower!!

  • @Kingjames313
    @Kingjames313 9 ปีที่แล้ว

    Funny I took a 6 months worth of CNC study and this showed me exactly what it took a while 6 months for me to understand

  • @eric8027
    @eric8027 9 ปีที่แล้ว +1

    Awesome!!! Your explanations were spot on!!! Thank you for taking the time!!

  • @PROBERevealer
    @PROBERevealer 6 ปีที่แล้ว

    If you still there ! hope you would make more VIDEOS like that. God Bless

  • @4ur3n
    @4ur3n 7 ปีที่แล้ว

    sad that this guy did not make any more videos. I really wanted to see more. I have a course in CNC and it would help.

  • @JavadKashizadeh
    @JavadKashizadeh 7 ปีที่แล้ว

    thank you.that was so adequate for beginning.I hope more videos be uploded

  • @meshalastic
    @meshalastic 8 ปีที่แล้ว

    nice and very well explained. Big thanks, I wish teachers explain stuff the way you.

  • @mamdouhnoshy7377
    @mamdouhnoshy7377 4 ปีที่แล้ว

    Will it be easier to be for Mastercam studies? Thank you

  • @maravatio67
    @maravatio67 7 ปีที่แล้ว

    Thank you so much for this tutorial video. Great explanation!...

  • @ashleyadams8601
    @ashleyadams8601 8 ปีที่แล้ว

    I agree very well put ... I'm new to CNC myself .. Thanks need this

  • @nicholaibhardwaj
    @nicholaibhardwaj 8 ปีที่แล้ว

    Very nice , Thanks a lot ... Appreciate it ...
    Explained very well .

  • @matthewk5325
    @matthewk5325 2 ปีที่แล้ว

    why is there not a g41 cutter comp added?

  • @johnzhang691
    @johnzhang691 9 ปีที่แล้ว

    I skipped the lecture at school and found this fundamental introduction very clear and helpful.

  • @saaimshaikh6815
    @saaimshaikh6815 9 ปีที่แล้ว

    Thank u so much for this!I have an exam tomorrow and I don't have any notes.This video is a savior!

  • @williamterry3177
    @williamterry3177 9 ปีที่แล้ว

    Very nice!! I have just set up a 6040 CNC. This helped a lot

  • @leomacancela6924
    @leomacancela6924 7 ปีที่แล้ว

    I need more information please it help me a lot ....

  • @BonaRasmey
    @BonaRasmey 7 หลายเดือนก่อน

    ❤thanks for your explanation 👍

  • @jeremyobanion8994
    @jeremyobanion8994 7 ปีที่แล้ว

    Can you buy a better mic please? I feel you have good info If I could hear you!

  • @starecrazy3920
    @starecrazy3920 7 ปีที่แล้ว

    most machines allow you to renumber your lines after adding a block

  • @alonsojavi1
    @alonsojavi1 5 ปีที่แล้ว

    How can I get this program to my computer?