From TechnoDocs
(→Routing Commands) |
(→Setup Commands) |
||
Line 12: | Line 12: | ||
|F | |F | ||
|Feed Speed | |Feed Speed | ||
− | |F<speed> | + | |<pre>F<speed></pre> |
|Sets the feed rate, or rate of movement of the axes. | |Sets the feed rate, or rate of movement of the axes. | ||
Line 18: | Line 18: | ||
|G4 | |G4 | ||
|Dwell Time | |Dwell Time | ||
− | |G4 P<milliseconds> | + | |<pre>G4 P<milliseconds></pre> |
|Inserts a delay in milliseconds. | |Inserts a delay in milliseconds. | ||
Line 24: | Line 24: | ||
|G90 | |G90 | ||
|Absolute Coordinates | |Absolute Coordinates | ||
− | |G90 | + | |<pre>G90</pre> |
|Sets coordinates to absolute, so that the motion commands are relative to the origin. | |Sets coordinates to absolute, so that the motion commands are relative to the origin. | ||
Line 30: | Line 30: | ||
|G91 | |G91 | ||
|Incremental Coordinates | |Incremental Coordinates | ||
− | |G90 | + | |<pre>G90</pre> |
|Sets coordinates to incremental so that all motion commands are relative to the previous position. | |Sets coordinates to incremental so that all motion commands are relative to the previous position. | ||
Line 36: | Line 36: | ||
|G92 | |G92 | ||
|Set Absolute Origin | |Set Absolute Origin | ||
− | |G92 X<#> Y<#> Z<#> | + | |<pre>G92 X<#> Y<#> Z<#></pre> |
|Sets the origin that is referenced when in absolute mode. | |Sets the origin that is referenced when in absolute mode. | ||
Line 42: | Line 42: | ||
|M0 | |M0 | ||
|Program Stop/Pause | |Program Stop/Pause | ||
− | |M0 | + | |<pre>M0</pre> |
|Stops the g-code file from being further processed until the operator presses Continue or Start. | |Stops the g-code file from being further processed until the operator presses Continue or Start. | ||
Line 48: | Line 48: | ||
|M30 | |M30 | ||
|End of Data | |End of Data | ||
− | |M30 | + | |<pre>M30</pre> |
|Marks the end of the file. The rest of the file will not be processed. | |Marks the end of the file. The rest of the file will not be processed. | ||
Line 54: | Line 54: | ||
|M3 or M4 | |M3 or M4 | ||
|Spindle On | |Spindle On | ||
− | |M3 or M4 | + | |<pre>M3 |
+ | or | ||
+ | M4</pre> | ||
|Starts the spindle. | |Starts the spindle. | ||
Line 60: | Line 62: | ||
|M5 | |M5 | ||
|Spindle Off | |Spindle Off | ||
− | |M5 | + | |<pre>M5</pre> |
|Turns the spindle off. | |Turns the spindle off. | ||
Line 66: | Line 68: | ||
|M6 | |M6 | ||
|Tool Change | |Tool Change | ||
− | |M6 T<#> | + | |<pre>M6 T<#></pre> |
|Requests the machine change to the specified tool number. It will turn off the spindle and coolant and other required operations when it changes the tool. | |Requests the machine change to the specified tool number. It will turn off the spindle and coolant and other required operations when it changes the tool. | ||
Line 72: | Line 74: | ||
|M7 or M8 | |M7 or M8 | ||
|Coolant On | |Coolant On | ||
− | |M7 or M8 | + | |<pre>M7 |
+ | or | ||
+ | M8</pre> | ||
|Turns the coolant flow on. | |Turns the coolant flow on. | ||
Line 78: | Line 82: | ||
|M9 | |M9 | ||
|Coolant Off | |Coolant Off | ||
− | |M9 | + | |<pre>M9</pre> |
|Turns the coolant flow off. | |Turns the coolant flow off. | ||
Line 84: | Line 88: | ||
|M90 | |M90 | ||
|Output Off | |Output Off | ||
− | |M90 OUT<#> | + | |<pre>M90 OUT<#></pre> |
|Turns the output to the Off or 0 state. | |Turns the output to the Off or 0 state. | ||
Line 90: | Line 94: | ||
|M91 | |M91 | ||
|Output On | |Output On | ||
− | |M91 OUT<#> | + | |<pre>M91 OUT<#></pre> |
|Turns the output to the On or 1 state. | |Turns the output to the On or 1 state. | ||
Revision as of 12:28, 1 October 2010
The following G and M codes are supported by the Control Interface.
Setup Commands
Code | Command | Format | Purpose |
---|---|---|---|
F | Feed Speed | F<speed> |
Sets the feed rate, or rate of movement of the axes. |
G4 | Dwell Time | G4 P<milliseconds> |
Inserts a delay in milliseconds. |
G90 | Absolute Coordinates | G90 |
Sets coordinates to absolute, so that the motion commands are relative to the origin. |
G91 | Incremental Coordinates | G90 |
Sets coordinates to incremental so that all motion commands are relative to the previous position. |
G92 | Set Absolute Origin | G92 X<#> Y<#> Z<#> |
Sets the origin that is referenced when in absolute mode. |
M0 | Program Stop/Pause | M0 |
Stops the g-code file from being further processed until the operator presses Continue or Start. |
M30 | End of Data | M30 |
Marks the end of the file. The rest of the file will not be processed. |
M3 or M4 | Spindle On | M3 or M4 |
Starts the spindle. |
M5 | Spindle Off | M5 |
Turns the spindle off. |
M6 | Tool Change | M6 T<#> |
Requests the machine change to the specified tool number. It will turn off the spindle and coolant and other required operations when it changes the tool. |
M7 or M8 | Coolant On | M7 or M8 |
Turns the coolant flow on. |
M9 | Coolant Off | M9 |
Turns the coolant flow off. |
M90 | Output Off | M90 OUT<#> |
Turns the output to the Off or 0 state. |
M91 | Output On | M91 OUT<#> |
Turns the output to the On or 1 state. |
Routing Commands
Code | Command | Format | Purpose |
---|---|---|---|
G0 | Rapid Move | G0 X<#> Y<#> Z<#> A<#> |
Moves one or more of the axes at the rapid speed, to the specified location. Note that not all axes are required to be specified. |
G1 | Straight Line | G1 X<#> Y<#> Z<#> A<#> |
Moves the specified axes in straight (linear) motion. It will use the requested feedrate, either from the F command or whatever the cut speed has been specified to be. This is a cutting move. |
G2 | Clockwise Arc | G2 X<#> Y<#> I<#> J<#> or G2 X<#> Z<#> I<#> K<#> or G2 Y<#> Z<#> J<#> K<#> |
Moves two axes (XY, XZ or YZ) along the path of an arc in a clockwise direction. The XY specification is the end position, and the IJ specification is the center of the arc. |
G3 | Couterclockwise Arc | G3 X<#> Y<#> I<#> J<#> or G3 X<#> Z<#> I<#> K<#> or G3 Y<#> Z<#> J<#> K<#> |
Moves two axes (XY, XZ or YZ) along the path of an arc in a counterclockwise direction. The XY specification is the end position, and the IJ specification is the center of the arc. |
Drill Cycle Commands
Code | Command | Format | Purpose |
---|---|---|---|
G80 | Drilling Cycle Off | G80 |
Turns a drill cycle off. |