CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › G17

G17 XY working plane

Siemens 840D 828D G-code · Mill and lathe

Selects the X Y plane for arcs, tool radius compensation and cycles. The tool axis is Z, so tool length acts in Z. G17 is the usual default on milling machines.

Format

G17

How it works

Modal, G group 6 (plane selection).

Example program

G17 G90 G54 ; XY PLANE
G0 X10 Y0 Z2 ; POSITION
G1 Z-1 F100
G2 X30 Y0 CR=10 F200 ; ARC IN XY PLANE

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G18 · G19 · G2 · G41

G17 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucXY plane select
Haas NGCXY plane selection
Mazak (EIA)XY plane selection
Okuma OSPPlane select XY
Mitsubishi M70 M80XY plane select
Brother SpeedioXY plane select
Heidenhain TNC (ISO)Working plane XY, tool axis Z
Fagor 8055 8065XY plane select
LinuxCNC TormachXY plane select
Mach3 Mach4XY plane
Centroid CNC12 AcornXY plane select
Hurco WinMax (NC)XY plane select
FadalXY plane select
Swiss (Citizen Star)XY plane select

Every G-code for Siemens 840D 828D 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 G17 in the app All Siemens 840D 828D G-codes

App Store Google Play