G7 is a LinuxCNC G-code that puts the X axis of a lathe into diameter mode. In diameter mode an X axis move is half the distance to the centre of the lathe, so programming X1 moves the cutter to 0.500" from the centre and produces a 1" diameter part.
| Language | gcode |
|---|---|
| Code | G7 |
| Syntax | G7 |
| Dialect | LinuxCNC |