G19 YZ plane select
Fanuc G-code · Mill, Lathe
On mills: YZ plane select
Selects the YZ plane for arcs and cutter compensation. Arcs use J and K for the center.
Format
G19
How it works
Modal, group 02.
Example program
G19 (YZ PLANE)
G01 Y0. Z0. F20. (START OF ARC)
G03 Y.5 Z-.5 J0. K-.5 (QUARTER ARC IN YZ)
G17 (BACK TO XY PLANE)
G01 Y0. Z0. F20. (START OF ARC)
G03 Y.5 Z-.5 J0. K-.5 (QUARTER ARC IN YZ)
G17 (BACK TO XY PLANE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Arc direction is viewed from plus X looking toward minus X.
- Go back to G17 before any normal XY work or Z canned cycles.
On lathes: YZ plane select
Selects the YZ plane. On a lathe it is used for side milling with a Y axis or a radial live tool.
Format
G19
How it works
Modal, group 16.
Example program
G19 (YZ PLANE FOR SIDE MILLING)
G01 Y.25 F8. (MILL ALONG Y)
G18 (BACK TO ZX PLANE)
G01 Y.25 F8. (MILL ALONG Y)
G18 (BACK TO ZX PLANE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Needs a Y axis for real YZ arcs. Without Y, the builder may use G19 for cylindrical interpolation setup.
- Go back to G18 before turning.
Related codes
G19 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | YZ plane selection |
| Okuma OSP | Plane select YZ |
| Mitsubishi M70 M80 | YZ plane select |
| Brother Speedio | YZ plane select |
| Siemens 840D 828D | YZ working plane |
| LinuxCNC Tormach | YZ plane select |
| Mach3 Mach4 | YZ plane |
| Centroid CNC12 Acorn | YZ plane select |
| Hurco WinMax (NC) | YZ plane select |
| Fadal | YZ plane select |
| Swiss (Citizen Star) | YZ plane select |
Every G-code for Fanuc 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 G19 in the app All Fanuc G-codes