Home › G-codes › Centroid CNC12 Acorn › G118
G118 Tilted arc plane based on G18
Centroid CNC12 Acorn G-code · Mill
Same as G18 but P and Q tilt the arc plane. P is the angle around the first axis and Q around the second axis, here Z and X.
Format
G118 [P] [Q]
Addresses
| Address | What it does |
|---|---|
P | Tilt angle around the first axis in degrees |
Q | Tilt angle around the second axis in degrees |
How it works
Modal, plane group.
Example program
G0 X0 Y0 Z1. ; START
G1 Z1. F20.
G118 P1. G3 X.9998 Y.0175 Z0 K-1. ; ARC IN A TILTED PLANE
G18 ; BACK TO A NORMAL PLANE
G1 Z1. F20.
G118 P1. G3 X.9998 Y.0175 Z0 K-1. ; ARC IN A TILTED PLANE
G18 ; BACK TO A NORMAL PLANE
Example is in inch. Check offsets and clearances first.
Watch out for
- Not allowed with cutter comp, scaling or smoothing turned on.
- With P and Q both zero it is the same as G18.
Related codes
Every G-code for Centroid CNC12 Acorn 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 G118 in the app All Centroid CNC12 Acorn G-codes