Difference between revisions of "Gcode"
Line 14: | Line 14: | ||
=== G0 === | === G0 === | ||
G0 is a rapid positioning move. It is not a ''working'' move, meaning that your equipment will not be printing, milling, lasering, or doing any other active work during a G0 move. G0 is intended to move your tool to a new position, where the work will happen. Accordingly, G0 movement speeds are | G0 is a rapid positioning move. It is not a ''working'' move, meaning that your equipment will not be printing, milling, lasering, or doing any other active work during a G0 move. G0 is intended to move your tool to a new position, where the work will happen. Accordingly, G0 movement speeds are set in your configuration settings, rather than being specified in your gcode file. A G0 command will not make use of an F value (feed rate, or movement speed), even if specified. The only workaround is to first manually set another G0 speed by using a | ||
{| border="1" class="wikitable" style="text-align: left" | {| border="1" class="wikitable" style="text-align: left" | ||
|+ G0 | |+ G0 | ||
! Actual Code | ! style="width: 20%;" | Actual Code | ||
! Behavior | ! style="width: 40%;" | Behavior | ||
! Notes | ! style="width: 40%;" | Notes | ||
|- | |- | ||
! G0 X50 Y50 | ! G0 X50 Y50 | ||
| Makes a (rapid) non-printing move | | Makes a (rapid) non-printing move from current position to X50 Y50 at the rate specified in your settings. | ||
| These can be absolute or relative distances, depending on your environment. | | These can be absolute or relative distances, depending on your environment. Use G90 to use absolute distances; use G91 to use relative distances. | ||
|- | |||
! M203 X2000 Y2000 | |||
| Specifies G0 speed of 2000 mm/min in both Y and X axes. Subsequent moves will be made at the newly specified rate. | |||
| The values set on your unit are set based on testing. Exceed them at your own risk. | |||
|} | |} |
Revision as of 19:09, 17 November 2016
Everything your Hyrel 3D Printer does is done by executing GCode, whether you are aware of it or not.
Below, I will explain those gcodes about which we get the most questions.
Movement
There are two primary movement commands: G0 and G1, and are thus explained:
G0
G0 is a rapid positioning move. It is not a working move, meaning that your equipment will not be printing, milling, lasering, or doing any other active work during a G0 move. G0 is intended to move your tool to a new position, where the work will happen. Accordingly, G0 movement speeds are set in your configuration settings, rather than being specified in your gcode file. A G0 command will not make use of an F value (feed rate, or movement speed), even if specified. The only workaround is to first manually set another G0 speed by using a
Actual Code | Behavior | Notes |
---|---|---|
G0 X50 Y50 | Makes a (rapid) non-printing move from current position to X50 Y50 at the rate specified in your settings. | These can be absolute or relative distances, depending on your environment. Use G90 to use absolute distances; use G91 to use relative distances. |
M203 X2000 Y2000 | Specifies G0 speed of 2000 mm/min in both Y and X axes. Subsequent moves will be made at the newly specified rate. | The values set on your unit are set based on testing. Exceed them at your own risk. |