There are commands like cutter compensation, scaling, work coordinate systems, dwell etc. So, the G-code commands we explained above are the most common ones but there are many more. See Also Arduino CNC Foam Cutting Machine More Commands and Rules All other features and rules are the same as the G02 command. The only difference here is that the motion is counterclockwise. Just like the G02, the G03 G-code command defines the machine to move in circular pattern. G03 – Circular Interpolation Counterclockwise We will make the complete G-code in a later example as we first need to explain those G-code commands. Though, we need to note that this is not a complete G-code, because we are missing few more basic commands. So, that’s how we can manually program the G-code for making this shape.
![inkscape gcode plasma inkscape gcode plasma](http://www.microproto.com/software_files/image006.jpg)
We finish the toolpath with another G01 command which gets us from point F(31,7) back to point B(5,5). However, we should note that the I and J parameters are different from the previous command, because we offset the center from the last end point or the point E. We actually have the same center point (25,15) for the next G02 command, to get to point F(31,7). Then we use the G02 command, a circular motion, to get to point E(35,15), with a center point (25,15). Once we reach the point C(5,25), we have another G01 command to reach the point D(25,25). Actually, this depends whether we have selected the machine to interpret the coordinates as absolute or relative. So, +20 units in Y direction will get us to point C(5,25). We can note here that for getting from point B(5,5) to the point C(5,25) we use values for the X and Y relative to the starting B point. From here we start with “cutting” at a feed rate of 200 using the G01 command. With the first G00 command, we quickly bring the machine from its home or initial position to the point B(5,5).
#Inkscape gcode plasma code#
G01 X -26 Y -2 point B Code language: Arduino ( arduino ) This results in a straight line movement to the new position point.
![inkscape gcode plasma inkscape gcode plasma](http://3.bp.blogspot.com/-CnPmtphm9NI/T15TkUKdokI/AAAAAAAD7Bk/Xex-RTl-cHw/w1200-h630-p-k-no-nu/01.png)
The machine will move all axis at the same time so they complete the travel simultaneously. The G00 command moves the machine at maximum travel speed from a current position to a specified point or the coordinates specified by the command.
#Inkscape gcode plasma how to#
We will learn how each of them work through several examples, and by the end of this tutorial we will be able to fully understand how G-code works, how to read, how to modify and even how to write our own G-code. So, now as we know how to read a line of G-code, we can take a look at the most important or commonly used G-code commands. The most Important/ Common G-code Commands If we want the units in inches, we use the G20 command instead. The unit is mm/min because if we take a look back at the G-code example image, we can see that we have used the command G21 which sets the units to millimiters.
![inkscape gcode plasma inkscape gcode plasma](https://i.pinimg.com/originals/87/b0/d0/87b0d07abe9ae9f629ecb0671ee28fcf.png)
The G-code commands instruct the machine where to move, how fast to move and what path to follow.
![inkscape gcode plasma inkscape gcode plasma](https://i3.ytimg.com/vi/K8HvEAmsni0/hqdefault.jpg)
We use this language to tell a machine what to do or how to do something. G-code is a programming language for CNC (Computer Numerical Control) machines. So, in this tutorial we will learn the basics of the G-code language, what are the most important or common G-code commands and we will explain how they work. If your work or hobby correlates with CNC machines or 3D printers, then understanding what G-code is and how it works is essential for you.