From TechnoDocs
																				|  (→Setup Commands) | |||
| Line 64: | Line 64: | ||
| |- | |- | ||
| − | | | + | |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 == | == Routing Commands == | ||
Revision as of 12:12, 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 | 
|---|---|---|---|
Drill Cycle Commands
| Code | Command | Format | Purpose | 
|---|---|---|---|