Basic Movements with G-Code
In this video tutorial by the @G-Code Tutor, Marc Cronin talks about basic movements of a CNC machine using G-code.
Basic movements commands, such as G00 (rapid travel) or G01 (linear interpolation), are typically used to communicate to the machine where to move the cutter along the X-, Y-, or Z-axis, and how quick the movement should be.
Unlike incremental movements, which are calculated based on the current position of the tool, basic movements (or absolute movements) are determined based on a Cartesian Coordinate System where the datum position is the center of the system (X0;Y0;Z0)
Here's a simple example using G00 and G01:
G00 X0.0 Y0.0;
Z-10.0 M08;
G01 Y160.0 F100;
X200.0;
The first line in the example above is telling the machine to position the cutter in the datum position (X0.0 Y0.0) as quickly as possible (G00).
Now with the cutter in position, the second line tells the machine to lower the tool by 10mm along the Z-axis and turn on the coolant (M08). (NOTE: we could repeat the G00 code at the beginning of the line but it's not necessary since the command is still active from the line above.
Once the cutter is in position we can tell the machine to start cutting on a straight line using the G01 command. In the example, the command is telling the machine to cut along the Y-axis for 160mm from the datum position at a 100mm/min feed rate (F100.0)
Last, on the fourth line, the command is telling the machine to take a straight cut along the X-axis for 200mm. As mentioned above, we don’t need to repeat the G01 command of the feed rate, since both commands are already active from the line above.
To learn more about the subject or expand your G-code knowledge visit Gcodetutor.com (https://rb.gy/7yzqfn).
Stay tuned for more machining videos!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recommended CNC programming books:
Fanuc CNC Custom Macros - https://amzn.to/370yX0P
CNC Programming Handbook - https://amzn.to/2MPxT9g
CNC Programming Techniques - https://amzn.to/3aTS4el
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Practical Machinist is the largest and most engaged #metalworking community across the web. With more than 160,000 registered members and 250,000+ social media followers, Practical Machinist is the easiest way to learn new techniques, get answers quickly, and discuss common challenges with your peers. Visit Practical Machinist today to join the community and start connecting with your peers.
Become a Practical Machinist member (https://www.practicalmachinist.com/)
Like us on Facebook (https://www.facebook.com/PracticalMachinist)
Follow us on Instagram (https://www.instagram.com/practicalmachinist/)
Follow us on Twitter (https://twitter.com/prac_machinist)
Connect with us on LinkedIn (https://www.linkedin.com/company/practical-machinist)
#Gcode #CNCmachining #metalworking
Видео Basic Movements with G-Code канала PracticalMachinist
Basic movements commands, such as G00 (rapid travel) or G01 (linear interpolation), are typically used to communicate to the machine where to move the cutter along the X-, Y-, or Z-axis, and how quick the movement should be.
Unlike incremental movements, which are calculated based on the current position of the tool, basic movements (or absolute movements) are determined based on a Cartesian Coordinate System where the datum position is the center of the system (X0;Y0;Z0)
Here's a simple example using G00 and G01:
G00 X0.0 Y0.0;
Z-10.0 M08;
G01 Y160.0 F100;
X200.0;
The first line in the example above is telling the machine to position the cutter in the datum position (X0.0 Y0.0) as quickly as possible (G00).
Now with the cutter in position, the second line tells the machine to lower the tool by 10mm along the Z-axis and turn on the coolant (M08). (NOTE: we could repeat the G00 code at the beginning of the line but it's not necessary since the command is still active from the line above.
Once the cutter is in position we can tell the machine to start cutting on a straight line using the G01 command. In the example, the command is telling the machine to cut along the Y-axis for 160mm from the datum position at a 100mm/min feed rate (F100.0)
Last, on the fourth line, the command is telling the machine to take a straight cut along the X-axis for 200mm. As mentioned above, we don’t need to repeat the G01 command of the feed rate, since both commands are already active from the line above.
To learn more about the subject or expand your G-code knowledge visit Gcodetutor.com (https://rb.gy/7yzqfn).
Stay tuned for more machining videos!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recommended CNC programming books:
Fanuc CNC Custom Macros - https://amzn.to/370yX0P
CNC Programming Handbook - https://amzn.to/2MPxT9g
CNC Programming Techniques - https://amzn.to/3aTS4el
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Practical Machinist is the largest and most engaged #metalworking community across the web. With more than 160,000 registered members and 250,000+ social media followers, Practical Machinist is the easiest way to learn new techniques, get answers quickly, and discuss common challenges with your peers. Visit Practical Machinist today to join the community and start connecting with your peers.
Become a Practical Machinist member (https://www.practicalmachinist.com/)
Like us on Facebook (https://www.facebook.com/PracticalMachinist)
Follow us on Instagram (https://www.instagram.com/practicalmachinist/)
Follow us on Twitter (https://twitter.com/prac_machinist)
Connect with us on LinkedIn (https://www.linkedin.com/company/practical-machinist)
#Gcode #CNCmachining #metalworking
Видео Basic Movements with G-Code канала PracticalMachinist
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
TOP FIVE ** MUST KNOW ** G Codes You Will Use For & How To Use Them on your cnc, Router Laser, gcodeCNC LATHE PROGRAMMING LESSON 5 WRITE A TOOLPATH USING G0 - G1 - G2 AND G3 MOVESG & M Code - Titan Teaches Manual Programming on a CNC Machine.G Code 101: Circles and Arcs3d Printers G-Code Explored and Explained with ExamplesG00, G01, G02, G03 – EVERY PART YOU’VE MADE USED THESE CODES! – Haas Automation Tip of the DayG90 vs G91 - The difference between absolute and incremental positioningCNC G_Code Programming: A CNC Mill Tutorial explaining G Codes | G code example | No ads!Basic G-Code programming for CNC routers9 Lines of Code Every CNC Machinist Needs To Know! - Haas Automation Tip of the DayWhat is G-Code? – Haas Automation Tip of the DayCode Learning Strategies that WORK WONDERS!CNC G Code Programming for Beginners by Mike MatteraLearn G-Code for 3D PrintingThe G81 drilling cycle - G-Code programming a CNC millCNC CODES EXPLAINED | 15 G&M CODES YOU MUST KNOW |CNC Programming Tutorials | VMC #2Creating the Spoilboard Surfacing Toolpathi and j explained cnc manual programming, IJKR codes, G02 G03 arcs circles and radius., IJKR Codes,