Home › G-codes › LinuxCNC Tormach › G5.1
G5.1 Quadratic spline
LinuxCNC Tormach G-code · Mill
Cuts a quadratic B-spline in the XY plane from the current point to X Y. I J set one control point.
Format
G5.1 X Y I J F
Addresses
| Address | What it does |
|---|---|
X Y | End point of the spline |
I J | Offset from the start point to the control point |
F | Feed rate |
How it works
Modal, motion group.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43 (.250 ENGRAVER)
S8000 M3
G0 X0 Y0 Z0.1
…
T1 M6 G43 (.250 ENGRAVER)
S8000 M3
G0 X0 Y0 Z0.1
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- XY plane only. G17 must be active.
- I or J can be left out, but not both. A missing one counts as zero.
Related codes
G5.1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | AI contour control on or off |
| Mazak (EIA) | Fanuc AI contour code, not in Mazak list |
| Mitsubishi M70 M80 | High speed high accuracy control I |
| Hurco WinMax (NC) | Surface finish parameters (old) |
Every G-code for LinuxCNC Tormach in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G5.1 in the app All LinuxCNC Tormach G-codes