Understand G code for beginners Part 1

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 156

  • @BillySugger1965
    @BillySugger1965 Рік тому +32

    Superb G-code tutorial, many thanks, it’s just what I’ve been waiting for.
    If I have followed correctly, then you have an error in line 18, which will cause a tool crash in line 20. Your tool was already 3mm below the material surface, so your safety height move in line 18 should be G00 Z23 (we are in incremental mode). Similarly line 30 should read G00 Z26. I think you can see the error at time 41:38 where the circle holes are at the wrong depth, and the second pass is also too deep (Z-9 not Z-6).
    If I am mistaken, please correct me. If I am correct, then you have taught me well 👍. Thank you again!

  • @elainepapa1366
    @elainepapa1366 7 місяців тому +21

    This is a perfect tutorial for those who are just beginning.

  • @josephpennella3396
    @josephpennella3396 10 місяців тому +16

    Circle was cut to deep because you went up 20 instead of 23. Incremental mode

    • @courtiernaylor2615
      @courtiernaylor2615 5 місяців тому

      I came to the comments to make sure someone caught this . Human error . We become great by holding each other accountable

  • @lauriepocock3066
    @lauriepocock3066 10 місяців тому +31

    there is a real problem using incremental mode. The machine has an inbuilt error and that error builds incrementally. Using absolute coding the errors are reduced.

    • @grouchyolddan
      @grouchyolddan 10 місяців тому

      Which machine or do you mean the simulator?

    • @lauriepocock3066
      @lauriepocock3066 10 місяців тому +6

      say you want to move 1 inch when you move there will be a small error ( on a K&T model2 of the 1960's the error was typically 0.0001'' per inch) If you then reset your datum as you do in incremental mode, and move another inch you will get another error that adds to the first, and so on. When you work in absolute you are making each move relative to a single datum.

    • @eyu40
      @eyu40 6 місяців тому

      What if To minimize working time, maybe back to the initial position ones in a while to calibrate but still using incremental.

  • @spasticjackson9578
    @spasticjackson9578 2 місяці тому +2

    This is one of the best G2 / G3 explanations on youtube ! THANKS !

  • @johnc1256
    @johnc1256 Рік тому +11

    G04 should be mentioned. Followed by a P number adds a pause to your program but not a stop. I have a machine that I don't want to move the x axis off the cutter before returning to y zero so the command G04 P7 pauses the program after M9 shuts off my saw blade via relay control for 7 seconds to allow the blade to spin down prior to executing the next line of code. This command comes in handy in ways you don't realize until you are aware of it.

    • @weitlingD3P
      @weitlingD3P  Рік тому

      Hi John You are right. but I had to keep it as simpel as possible. I plan to make a part 2

  • @shanel4348
    @shanel4348 2 місяці тому +1

    After being a button pusher for years this was a great refresher for me, thank you very much for this video!

  • @Leon47852
    @Leon47852 Рік тому +21

    Great tutorial! Kept it very simple and exained everything perfectly. I just started learning G code(literally one hour ago) and stumbled across your video. This video gave me a great understanding of the basic commands and it was very motivating working alongside your video writing my own code for a part I need to cut out. I appreciate you very much! I would love to see another part just like this that goes into other G/M codes. Have you thought about turning this into a series where each new part builds upon the previous one writing more and more difficult programs? I think people would really like to see that including me.

    • @weitlingD3P
      @weitlingD3P  Рік тому +4

      Thanks Leon. Yes I have been thinking on that I hope soon that I will make the next tutorial.

  • @M_arment
    @M_arment 4 місяці тому +2

    Glad I found this channel. I start a new career next week, and even though I am provided schooling to learn, I wanted to get familiar with the material so it didn’t appear to everyone I was trying to learn the difference between Dorian and Ionian Greek. I mean it’s all Greek to me.

  • @akr5614
    @akr5614 4 місяці тому +1

    I have an exam tomorrow and this video have greatly helped me. So thank you my guy

    • @weitlingD3P
      @weitlingD3P  4 місяці тому

      Thanks and good luck with the exam 🤞

  • @SylwesterZientara-n1d
    @SylwesterZientara-n1d 5 місяців тому +5

    Great for beginners to understand everything in this video

  • @martehoudesheldt5885
    @martehoudesheldt5885 11 місяців тому +3

    good job. great for someone that has not been around the "magic".

  • @frenchcries99
    @frenchcries99 5 місяців тому +1

    Thank you so much for this its helped so much explaining things for someone that dipping their toe into G code 👍

  • @practicemakesbetter7132
    @practicemakesbetter7132 Рік тому +4

    Great video, I like the way you program arcs, it is so much easier than the way I was programming arcs, thankyou.

  • @chesneyamroodt7770
    @chesneyamroodt7770 6 місяців тому +1

    Thanks so much sir, this lesson has opened up a brand new world for me! thanks again.

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      Happy I could help More to come

    • @chesneyamroodt7770
      @chesneyamroodt7770 6 місяців тому

      Hi I have tried to run the code and everything thing works but I cannot get the machine to run the circle for whatever reason, I'm using open builds control and I have change the code on numerous times but cannot even simulate the circle in preview. what am I doing wrong? I have run it on my home built machine as I said everything works except the 15mm circle.

    • @chesneyamroodt7770
      @chesneyamroodt7770 6 місяців тому

      G02 I7.5 seems to be my nemesis. it just doesn't work, point 22.

  • @PaulAnthony2009
    @PaulAnthony2009 10 місяців тому +1

    I've done a few years as a machinist and sometimes had to switch from a Fanuc controller to a system known as "Heidenhain conversational" which was a bit easier on the brain cells IMO.
    I wonder if any others have used it?

  • @Me_Shi_Haa
    @Me_Shi_Haa 5 місяців тому +1

    Woah, great and gentle lesson. I actually learned something. Many thanks prof.

  • @duallity2403
    @duallity2403 5 місяців тому +2

    Very clearly explained, thank you.

  • @karlomatuguinas9673
    @karlomatuguinas9673 Місяць тому +1

    thanks!!!! the best newbie guid on youtube!!!

  • @TheLazyGuyWay
    @TheLazyGuyWay 6 місяців тому +1

    Best simple g code tutorial by far !
    One thing though, you did not take into consideration tool's diameter or maybe this is for a next course
    cheers

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      Hello yes is the next course.

  • @vzielomaria6778
    @vzielomaria6778 5 днів тому

    Very interesting for some one like me, I'm a beginner...thankyou so much

  • @zezebeavogui6694
    @zezebeavogui6694 5 місяців тому +2

    Extremely helpfull indeed. Thank you so much.

  • @CurseTheVulgar
    @CurseTheVulgar Рік тому +1

    Fantastic guide, clear and concise with great visuals! As someone recently getting into laser engraving and Arduino/GRBL it provides a great foundation to better understand the behaviour of the engraver and the instructions shown in LaserGRBL while it's working and to write small test scripts to check alignment and movements. :) Much appreciated!

  • @rcforall4842
    @rcforall4842 Рік тому +2

    This is wonderful start for me as beginner 🙏🙏

    • @weitlingD3P
      @weitlingD3P  Рік тому +1

      Thanks for watching I will soon come with a part Two

    • @rcforall4842
      @rcforall4842 Рік тому +1

      That is So cool it will be very helpful cause i build this 4 Axis hotwire foam cutter but no Good Gcode software available except and expensive one which is DevFoam so I have to modify myself the file before cutting.

  • @Technic2023
    @Technic2023 Рік тому +1

    For training purpose, I think here you should use drilling cycle to make a hole and with tool changing command. It's my opinion 😊

  • @danielfana4459
    @danielfana4459 8 днів тому

    thank you bro it help me a lot as a beginner.

  • @asuila4532
    @asuila4532 7 місяців тому +1

    I like you explain .
    Thank for you sharing the knowledge 💐👍🏻👍🏻

  • @eyu40
    @eyu40 6 місяців тому +2

    Its my first time learning about G code. Nice simple and to the point, I love it.
    Just a question though. At line 18 : the G3 code z20
    Wasn’t the center at -3 already. Isn’t that making your G00 at z17, I think that’s why the circle cuts were below the original plane of the edge cuts.
    Edit: well i see some people have already mentioned it in the comments. Good job.

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      Well spotted, I made a mistake there :)

  • @cruzerbager3242
    @cruzerbager3242 10 місяців тому +1

    Excellent thank you!
    Edit: make a part 2? perhaps expound and do a short 3 part lathe series?

  • @incubatork
    @incubatork 9 місяців тому +1

    A great illustrated tutorial of G code, worth a subscription of anyone's money. This is probably nit-picking but if I set this set of Gcode to my machine the part would be exactly the same shape but the dimensions would not be correct because we did not account for the 6mm diameter endmill so the part would be 3mm less on all sides. To correct this how do we tell the machine we have a 6mm endmill so it cuts to the line rather than inside the line?

    • @weitlingD3P
      @weitlingD3P  9 місяців тому

      You are right. Tool compensation will be in next episode. Thanks for watching

  • @markramsell454
    @markramsell454 10 місяців тому +1

    I get the concept, but there's some practical problems. 1) The tool offset. 2) The hole would never be cut because the part would have went flying off on the second pass of the outline. Liked the tutorial.

    • @weitlingD3P
      @weitlingD3P  10 місяців тому +1

      Is true tool offset and drilling will be in part 2

  • @Technic2023
    @Technic2023 Рік тому +2

    Well explained, thanks for sharing valuable knowledge
    Stay blessed

  • @auntikjeb6600
    @auntikjeb6600 9 місяців тому +1

    Explained in a great way🎉 thanks

  • @shahabkhodadoust7152
    @shahabkhodadoust7152 4 місяці тому +1

    Thank u.
    But for the circle u should code like
    G00 z 23
    Not g00 20
    Because the end mill is -3 z axis already.
    It surely impact !!!

  • @franziegler4215
    @franziegler4215 Рік тому +2

    Thanks for G code lecture very helpful and hopeful for me are there any more

    • @weitlingD3P
      @weitlingD3P  Рік тому

      Thanks for your comment. Yes I will soon come with part 2

  • @rajeshtoora
    @rajeshtoora 5 місяців тому +1

    Well explained, thanks for sharing!

  • @anenechikwado6291
    @anenechikwado6291 6 місяців тому +1

    Great video!! Thanks for putting this together.
    What g-code can you recommend in order to make the movement along the coordinates very slow?

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      The movement is controlled by the F command in G01. I depends on what material you are cutting and dept.

  • @blindness2sight119
    @blindness2sight119 Рік тому +2

    Love the way you take the time to explain. Can I just ask how the machine knows what diameter cutter you are using so that it sets an offset (in this case of 3mm) off x0 y0 meaning that the shape is cut to dimension??

    • @weitlingD3P
      @weitlingD3P  Рік тому

      Thanks. there is a way to compensate with the command G41 and G42. But not all systems support that gcode. When you write your code, you can compensate easily by your self. as eg. you have a 10mm end Mill (Radius 5) If your distance is X10 that is center tool you can compensate the radius by adding or substarcting the Radius of the tool X5 and or X15

  • @mehdichatoui5750
    @mehdichatoui5750 3 місяці тому +1

    The most beautiful song 🎵

  • @IbrahimHawsah
    @IbrahimHawsah Рік тому +5

    I THINK FOR THE SECOND TAKE. WE SHOULD GO BACK TO OUR ORIGIN WHICH WILL BE Z24 SINCE THAT WE WERE ON Z-04. AND WE ARE USING G91. WE SHOUT THEN TAKE Z-23 TO BE JUST ABOVE THE PART THEN Z-7 TO BE 6 MM INTO THE MATERIAL. AM I RIGHT?

    • @shuwamarquee
      @shuwamarquee 2 місяці тому

      I ended up taking it using G00 Z23 for the height reset before the circular cut.
      That made everything else even out.

  • @adambergendorff2702
    @adambergendorff2702 8 місяців тому +2

    Excellent tutorial, but you never mentioned cutter offset, the part would 3mm wrong on all edges, correct?

    • @weitlingD3P
      @weitlingD3P  8 місяців тому

      Yes you are correct, I hope to make a video about tool offset in the coming weekend

  • @yofimee883
    @yofimee883 2 місяці тому +1

    Love this , thank you so much ❤

  • @shivarajhugar8915
    @shivarajhugar8915 Місяць тому +1

    Very nice thanku ❤

  • @moinulbari5047
    @moinulbari5047 6 місяців тому +1

    Amazing , just what I needed

  • @wiredodger60
    @wiredodger60 10 місяців тому +1

    Great information and stepping thru the process of manually G-coding. Well done.
    I made up my first simple G-Code program and the replay was so fast I couldn’t see it.
    My question is about the NC viewer. Is it possible to slow the replay down after coding? I looked at the settings and wasn’t able to find anything that would help. Any ideas?
    Again, thanks for your effort to educate newbies.

  • @paulharvey3688
    @paulharvey3688 11 місяців тому +1

    Excellent video, please do more.

    • @weitlingD3P
      @weitlingD3P  11 місяців тому

      Thanks Paul. I will. Part 2 will be peek drilling, and subcommand.

  • @NicholasRadina
    @NicholasRadina 9 місяців тому +1

    Incredibly helpful! Thank you!

  • @justicemasete5580
    @justicemasete5580 6 місяців тому +1

    Very Helpful, Thank you

  • @frankdearr2772
    @frankdearr2772 11 місяців тому +2

    Great topic, like it, nice again 🙂👍

  • @Technic2023
    @Technic2023 Рік тому

    For training purpose, I think you should use drilling cycle with tool changing command. It's my opinion 😊

  • @AProAir
    @AProAir 8 місяців тому +1

    great video training- But I lost you in the copy and paste section toward the end.

  • @Discoworx
    @Discoworx 6 місяців тому +1

    Great video! Thanks! Is it possible to 'globally' adjust all speeds proportionally? I'm guessing that's done on the controller with the dial somehow?
    How would we exclude a particular speed IE spindle speed?
    Thanks

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      Thanks. As ecxamel speed is changed with the S value in the M3 command as eg M3 s1000 Fedrate will be F value F250

  • @MrTweetyhack
    @MrTweetyhack 4 місяці тому +1

    Good info

  • @danielsanbsas
    @danielsanbsas 11 місяців тому +1

    MUY BIEN ESE INGLES CLARITO Y BIEN PRONUNCIADO.
    👍👍👍👍👍👍👍

  • @jimmytherazor
    @jimmytherazor 3 місяці тому +1

    Great Job - Thanks you :-)

  • @154Colin
    @154Colin 11 місяців тому +2

    Do you have the Part 2 of this? Part 1 is interesting.

    • @weitlingD3P
      @weitlingD3P  11 місяців тому +2

      Hi Colin. Yes it will come soon. Sorry for being late, but I had some heart issues. But soon I am fit to fight :)

    • @154Colin
      @154Colin 11 місяців тому +2

      @@weitlingD3P please take care of yourself

  • @davedsilva
    @davedsilva 10 місяців тому

    G-Code is geometric code for computer aided design (CAD).

  • @jack8n
    @jack8n 10 місяців тому +1

    Mange Tak! This is fantastic

  • @oluwaseunquadri6423
    @oluwaseunquadri6423 Рік тому +1

    Wonderful video.

  • @jorgetrevino2271
    @jorgetrevino2271 6 місяців тому +1

    Are the G spot and the G code one and the same things?

  • @Goofayball
    @Goofayball 4 місяці тому +1

    When you carved so when cutting the circle out, you went to z20 and then -19 and then -4 which cut out the circle entirely. Would I be right in assuming that going to z23 would get you to your original z20 start height, then z -22 then z-7 to cut the whole circle out? Since it’s incremental the second return to z 20 only raised the bit 17mm as it was 3mm in the material. Is this correct?

    • @weitlingD3P
      @weitlingD3P  4 місяці тому

      Correct, and well observed, was my mistake :)

  • @wiredodger60
    @wiredodger60 10 місяців тому +1

    Question… is there a way or… how do you slow the NC Viewer replay down?
    After I wrote a simple drill gcode it played so fast I couldn’t see the process.
    Thanks for the previous reply and your “schooling”
    Best.

    • @weitlingD3P
      @weitlingD3P  10 місяців тому

      Hello you can do step by step

  • @tilakbhusal2577
    @tilakbhusal2577 8 місяців тому +1

    Please! clear my confusion. In the line 19, don't we have to add the diameter of the cutting tool in the x-direction? Though the tool path seems matching to the given drawing.

    • @weitlingD3P
      @weitlingD3P  8 місяців тому

      Hi :) You are right, It will cut at the center line, so the hole will be too big. But later today or tomorrow I will release a video about tool compensation.

  • @onutalks9496
    @onutalks9496 Рік тому +1

    Thank you so much.
    I will like to replicate the drawing using your code.
    How do I get a copy of your code?
    Thank you once again

    • @weitlingD3P
      @weitlingD3P  Рік тому +1

      Thanks for watching. I am sorry I just made the code on the fly, I just checked and I dident save it

  • @aryananiknam4817
    @aryananiknam4817 2 місяці тому +1

    I dont know what im talking about, but dont you have to correct for the tool radius when you trace its path for the part?

    • @weitlingD3P
      @weitlingD3P  2 місяці тому

      You are correct. It is called tool compensation . The commands for tool compensation is G40 G41 G42

  • @newbi9942
    @newbi9942 5 місяців тому

    good day sir....i new in this and i have a question what happened to 4mm in R19 CURVE?? thank u for the answer....godbless❤️❤️❤️🙏🙏🙏

  • @akoreemmanueljoshua4452
    @akoreemmanueljoshua4452 6 місяців тому +3

    please why did u subtract 19 from Z

    • @weitlingD3P
      @weitlingD3P  6 місяців тому +3

      The Z safe high is 20 mm above the plate. when i go 19mm down I am 1 mm above the plate, and start the job

    • @ihebrhimi4338
      @ihebrhimi4338 5 місяців тому +1

      But you are on G91 which means whenever an order is completed the position of the spindle is the new zero and you are already-3 millimeters on Z axis which is why the circle in minute 41:34 is lower then the actual piece why didn’t you acount for it and sorry for my bad English and thank you for this amazing educational vid

    • @weitlingD3P
      @weitlingD3P  5 місяців тому

      @@ihebrhimi4338 Thanks for the comment. that is a mistake :)

  • @MrJesus4194
    @MrJesus4194 Рік тому +1

    How would this work if you want to account for the width of the end mill. It seems like it would cut the part a little small?

    • @weitlingD3P
      @weitlingD3P  Рік тому

      Hi Jesus You can use the G41 and G42 witch is left or right compensation. Or when you make your G code compensate when you program.

  • @nasrahmed6236
    @nasrahmed6236 8 місяців тому +1

    You are great

  • @sagesse38
    @sagesse38 5 місяців тому +1

    Thanks

  • @chanchalsakarde2768
    @chanchalsakarde2768 7 місяців тому

    how to control steps movements, like lets say we have 400 circular points to move one by one and i need to move pointer in following example sequence starting from 0->10->240->45->28-> .......... -> 400 . How can we automate this ..

  • @DJjosher
    @DJjosher 9 місяців тому

    Thank you! My only disconnect is how do you determine using G01, G02, G03?

    • @malcolmfenech1749
      @malcolmfenech1749 9 місяців тому

      g01 is for straight line milling g02 is for a clockwise curve and G03 is for anticlockwise. So if you look at the demo pieces, the straight edges are done in g01. To determine whether it's g02 or g03 you want to see if the cut is clockwise or counter clockwise to the current position, so the first curve (top left) curves away to the right from the current position which is clockwise so you would use g02. Just imagine a clock face at the end of a straight cut, if the line would go clockwise g02, anti clockwise g03.

    • @DJjosher
      @DJjosher 9 місяців тому

      @@malcolmfenech1749 Awesome! Great explanation. Thank you!

  • @laudyjhenlaudyjhen
    @laudyjhenlaudyjhen 3 місяці тому +1

    may i ask a question? the tool cant encounter the problem when your coordinates is x0 y0 then the depth is direct to z-3 ?

    • @weitlingD3P
      @weitlingD3P  3 місяці тому

      Well done. Yes you are right, I made a mistake :)

    • @laudyjhenlaudyjhen
      @laudyjhenlaudyjhen 3 місяці тому +1

      @@weitlingD3P thank you.im just curious only thats why i ask that question,but your tutorial is very great for the beginners like me who want to learn the gcodes/m codes.

  • @johnhe6840
    @johnhe6840 10 місяців тому +1

    Where is the tool offset taken into consideration?

    • @weitlingD3P
      @weitlingD3P  10 місяців тому

      It will come in another video

  • @MdArifulIslamArman-nq6rh
    @MdArifulIslamArman-nq6rh 4 місяці тому +1

    ধন্যবাদ এই বিডিও টি দেওয়ার জন্য

  • @dantheworkingman9757
    @dantheworkingman9757 9 місяців тому +1

    how do you write code while accounting for the diameter of the tool?

    • @weitlingD3P
      @weitlingD3P  9 місяців тому

      Hi I will soon upload a video about tool compensation. :) Thanks for watching and Mery Christmas

  • @lukasyla8048
    @lukasyla8048 Місяць тому +1

    Why 17,5 if hole is just15

  • @AsadAli-id9fv
    @AsadAli-id9fv 3 місяці тому +1

    ❤❤❤❤❤❤

  • @MohammedLass-o7n
    @MohammedLass-o7n 8 місяців тому

    well done !

  • @satan00069
    @satan00069 6 місяців тому +1

    Is this for lathe or milling?

    • @weitlingD3P
      @weitlingD3P  6 місяців тому

      Milling, but you can use NC viewer for Lathe as well

    • @satan00069
      @satan00069 6 місяців тому +1

      @@weitlingD3P alright thanks mate 👍

  • @saltlight4220
    @saltlight4220 11 місяців тому +1

    Subcribing to your channel for more learning. Thanks

  • @Greneby1
    @Greneby1 6 місяців тому +1

    What an embarrassing error on the Z! You moved from -3 and added 20 mm, which is 17, not safe height 20. When you went back down G0 Z-19 you crashed into the piece. Twice!
    Also, no compensation for the tool? G41/G42 would do that.

  • @mikehuynh5715
    @mikehuynh5715 3 місяці тому

    You lost me where you copied the program for the second time and supper impose the first. What is the purpose for doing that? Is the first program only draw an outline of 3mm deep?

  • @alishafieyan6564
    @alishafieyan6564 Рік тому +1

    Can Gcode generated by nc viewer be
    Install in ddcsv3.1

    • @weitlingD3P
      @weitlingD3P  Рік тому

      Hi and thanks for watching. I would say yes. As long you follow the syntax for the ddcs.

  • @LG-ro5le
    @LG-ro5le 5 місяців тому +1

    No m6?

  • @edyblenfans
    @edyblenfans 8 місяців тому +1

    ❤❤❤💪💪💪💪 excelent

  • @jaycedestiny521
    @jaycedestiny521 7 місяців тому

    What app is this

  • @FIREGHOST195
    @FIREGHOST195 3 місяці тому

    I need a beginner for this beginner video 😂

  • @AbbottPhoenix
    @AbbottPhoenix 24 дні тому

    57400 Deckow Lodge

  • @chidiebereuzoma5510
    @chidiebereuzoma5510 11 місяців тому

    Please is there any tutorial for Lathe machine

    • @weitlingD3P
      @weitlingD3P  10 місяців тому

      I am sorry, no I dont use lathe.

    • @chidiebereuzoma5510
      @chidiebereuzoma5510 10 місяців тому

      @@weitlingD3P Alright boss, I've found some videos on it tho .... Your tutorial on lathe was great

  • @bjrnhjjakobsen2174
    @bjrnhjjakobsen2174 7 місяців тому +1

    Hej Søren - du er genkendt - Bjørn😂

  • @MohammedLass-o7n
    @MohammedLass-o7n 8 місяців тому

    baho is watching !

  • @manuelbologna3023
    @manuelbologna3023 Рік тому

    dunno how this worked

  • @robinlehnerd1475
    @robinlehnerd1475 4 місяці тому

    I can't stand the lip smacking. Will have to find a different video. That sound is so unbearably annoying.

    • @weitlingD3P
      @weitlingD3P  4 місяці тому +1

      It is a free world. No one is forcing you to watch my video. I hope you find what you are looking for.

  • @BerkeleyIvan-n1n
    @BerkeleyIvan-n1n 13 днів тому

    3827 McClure Inlet

  • @shahabkhodadoust7152
    @shahabkhodadoust7152 4 місяці тому

    Thank u.
    But for the circle u should code like
    G00 z 23
    Not g00 20
    Because the end mill is -3 z axis already.
    It surely impact !!!