Timestamps listed below
Please support what I do to help others like you learn about the incredibly fun world of CNC: https://www.paypal.me/garrettfromme
This video covers the basic codes you need to know for CNC. They are G0, G1, G20, G21 & G28
If you are new to CNC, you must understand G-code and the top 5 codes you will need to know.
G-code is the language CNC machines use to move through various motions. In other words, if you want the machine to move, it must have g code commands to tell it how to move.
this video covers the top 5 you will need to know about when getting into CNC machining or routing.
This CNC code will get you started in your CNC endeavor.
The top 5 G-codes you must know in CNC are:
G0 – Linear rapid motion
G1 – Linear feed rate
G28 – Rapid to the home position
G20 – The machine will move in inches
G21 – the machine will move in millimeters
Timestamps
G0 & G1 – 1:11
G28 – 7:12
G20 & G21 – 8:33
G-code and CNC machines are married. They cannot work without each other.
these work in any CNC machine that uses gcode, including routers and lasers.
This works for all CNC machines, routers, lasers, bobscnc, shapeoko, x-carve, xcarve, etc
Garrett Fromme
Facebook: https://fb.me/IDCWoodcraft
Website: www.idcwoodcraft.com
Email: support@idcwoodcraft.com
#gcode #cnc #g-code
source
I run fiber lasers and waterjets…..this is very helpful information
This is a great video Garrett, I saw that know one talks about understanding Gcode on CNC Routers/Mill so I've been very burdened to make a video teaching some baby steps on this topic on the Longmill. I read your recent email stating that people don't need to know much about Gcode (I RESPECTFULLY DISSAGREE) I love all your videos and believe you have the best channel hands down so please don't take offense. I'm a CNC machinist at Air Tractor building airplanes so I'm lucky to see and write Gcode on a daily basis. If I can help just one person I believe it's worth it. Thanks for all you do. I'll be using the HOG endmill on my video today…LOL
How do you get the machine to move on a diagonal please
M3 & M5😀
Hello Dear , possible help to solve a problem on my diy CNC ?
problem is , the Z axis going down to make collision when machine start to move after I fix well the milling tool on top of the material block , I think it should be going up on first step then going down to start milling , hope can help on this , thank you very much .Regards John
whooooa I think you just solved an issue I was having with the G20 and G21 translations… I uploaded filed to cut but it would move an almost imprecievable distance. I'll have to explore it when I'm at home.
Nice andprecise explanation
Thank you for simplifying this
For the past four months I never had to deal with G code with Vectrics and the Laguna Swift. Now I purchased a MillRight Power Route CNC and I'm in the G code and Universal G-code Sender universe. It has been a challenge setting up the sender and dealing with the g code and errors. Thank you for simply explaining these 5 basic g codes! Take care!
thanks so much. please where are other g-code videos by you?
Thank you
Wonderful I'm learning to be part of the Team in CNC Operation to Encourage our Future Legends
We use G53 instead of G28 to send are CNC milling machines to home position. This is so you don't have use G0 G91 G28 X0 Y0 Z0;
Just use G0 G53 X0 Y0 Z0; to send home and machine stays in absolute so you don't stay in incremental by mistake. Also use standard (inch) mode because we use measuring tools that read in inches and metric to inches conversion is a simple conversion formula.
G4 came in very handy for me when I upgraded my spindle with a vfd, took a while to ramp up to speed to needed G4 dwell time for 5 seconds
Hi Garrett,
Is it possible to add the home command ($H) when i am in Vectric? Its easy enough to make the addition when completed in my gcde location but wanted to complete this in Vectric before saving.
Thanks
Martin
That was some very valuable information. Thanks so much for sharing.
Dear Sir,Your way of explaining is excellent.Thank you so much.
Simple conversion, Inches per minute to millimeters per second, multiply by 0.4(40%) 100 inches/minute is about 40 millimeters per second. 50ipm is 20mm/s….
Thanks Garrett, great intro to basic G codes. Notice how far you have come in just two years. From Kit router in the living room to a business with staff.
Thanks, Garrett. What this points out to me is that because I have to use a pendant for controlling my machine then I'm somewhat limited in versatility. Did I read that right?