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 (rb.gy/7yzqfn).
Stay tuned for more machining videos!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recommended CNC programming books:
Fanuc CNC Custom Macros - amzn.to/370yX0P
CNC Programming Handbook - amzn.to/2MPxT9g
CNC Programming Techniques - 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 (www.practicalmachinist.com/)
Like us on Facebook ( / practicalmachinist )
Follow us on Instagram ( / practicalmachinist )
Follow us on Twitter ( / prac_machinist )
Connect with us on LinkedIn ( / practical-machinist )
#Gcode #CNCmachining #metalworking

Пікірлер: 17

  • @juliazSchwartz
    @juliazSchwartz3 жыл бұрын

    You made it easy to understand, thank you!!

  • @maisong7
    @maisong73 жыл бұрын

    Very clear and well explained. Easy to understand Mark, keep it coming. Just subscribe and thumbs up.

  • @zachary9975
    @zachary9975 Жыл бұрын

    needed this for work experience and youve made it easier than 2 different collage teachers so thanks

  • @khalidalhadidi6402
    @khalidalhadidi64023 жыл бұрын

    Great video to learn intermediate

  • @burbman60
    @burbman603 жыл бұрын

    Thank you

  • @davidcox692
    @davidcox69210 ай бұрын

    How do you do a diagonal move

  • @oussamajaider6260
    @oussamajaider62602 ай бұрын

    You are in rrelative!

  • @sarahlane9512
    @sarahlane95122 ай бұрын

    Efficient video 👍

  • @alexanderkekule7054
    @alexanderkekule70543 жыл бұрын

    You've caused a collision by rapid movement to Z-10

  • @adamCadam90

    @adamCadam90

    2 жыл бұрын

    This confused me as well. The spindle is not rotating during rapid movement, right? He would need to set spindle speed... and plunge rate? (I'm new.)

  • @lelouchbritannia8728

    @lelouchbritannia8728

    2 жыл бұрын

    facts.. i was seeing that too xD

  • @alexanderkekule7054

    @alexanderkekule7054

    2 жыл бұрын

    @@adamCadam90 cutting is not allowed during rapid movement

  • @gar50172

    @gar50172

    2 жыл бұрын

    It’s just an example try not to think much into it

  • @gar50172

    @gar50172

    2 жыл бұрын

    @@adamCadam90 not g00 g01 needs a feed with a coordinate

  • @julianweiser9985
    @julianweiser9985 Жыл бұрын

    You will crash a machine if you just plunge into the workpiece with maximum speed....

Келесі