PROGRAMMING G-CODE
Read the following sections as a G-code reference:
- Rapid Linear Motion (G00)
- Linear Motion at Feed Rate (G01)
- Arc at Feed Rate (G02 and G03)
- Dwell (G04)
- Set Offsets (G10)
- Plane Selection (G17, G18, G19)
- Length Units (G20 and G21)
- Return to Predefined Position (G28 and G28.1)
- Return to Predefined Position (G30 and G30.1)
- Straight Probe (G38.x)
- Cutter Compensation (G40, G41, G42)
- Dynamic Cutter Compensation (G41.1 and G42.1)
- Apply Tool Length Offset (G43)
- Engrave Sequential Serial Number (G47)
- Cancel Tool Length Compensation (G49)
- Absolute Coordinates (G53)
- Select Work Offset Coordinate System (G54 to G59.3)
- Set Exact Path Control Mode (G61)
- Set Blended Path Control Mode (G64)
- Distance Mode (G90 and G91)
- Arc Distance Mode (G90.1 and G91.1)
- Temporary Work Offsets (G92, G92.1, G92.2, and G92.3)
- Feed Rate Mode (G93, G94, and G95)
- Spindle Control Mode (G96 and G97)
ABOUT THE EXAMPLES USED
Many commands require axis words (X~, Y~ ,Z~, or A~) as an argument. Unless explicitly stated otherwise, you can make the following assumptions:
- Axis words specify a destination point
- Axis words relate to the currently active coordinate system, unless explicitly described as being in the absolute coordinate system
- Where axis words are optional, any omitted axes retain their current value
Any items in the command examples not explicitly described as optional are required.