Understand G code for beginners Part 1

preview_player
Показать описание
This covers the basic + if you want to learn about G codes.
I will advise to see this training in full screen.
Link to the NC Viewer is below
Рекомендации по теме
Комментарии
Автор

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.

lauriepocock
Автор

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?

incubatork
Автор

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?

MrJesus
Автор

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

josephpennella
Автор

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!

BillySugger
Автор

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.

Leon
Автор

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

elainepapa
Автор

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.

johnc
Автор

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?

IbrahimHawsah
Автор

Great for beginners to understand everything in this video

SylwesterZientara-nd
Автор

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 !!!

shahabkhodadoust
Автор

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?

Goofayball
Автор

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?

aryananiknam
Автор

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.

eyu
Автор

Extremely helpfull indeed. Thank you so much.

zezebeavogui
Автор

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.

M_arment
Автор

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

spasticjackson
Автор

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

adambergendorff
Автор

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 ?

laudyjhenlaudyjhen
Автор

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❤️❤️❤️🙏🙏🙏

newbi