G68.2

Machining centerModal

Tilted working plane command (tilted coordinate system for 3+2 machining)

Format and notes

G68.2 X_ Y_ Z_ I_ J_ K_ (origin of the tilted plane and three rotation angles)
G53.1 (index the tool perpendicular to the tilted plane)
… 3-axis program, canned cycles …
G69 (cancel)

Diagram: tilted working plane, building a coordinate system on a tilted plane (3+2 machining)

XfZfYf (toward you)90° to tool axisRotary axis tilts the tableG68.2: tilted-plane coordinatesG53.1: tool normal to the planeWrite an ordinary 3-axis program on the yellow plane
With G68.2 and similar commands, a new coordinate system Xf, Yf, Zf is created on the tilted plane (yellow). With G53.1 and similar commands, the rotary axes are indexed so the tool points perpendicular to that plane, and the rest is cut with an ordinary 3-axis program.

Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

“One source / reference” rows were confirmed in only one source. “CAM post output / reference” rows show what a CAM post processor outputs and could not be confirmed in the control maker’s own public documents.

SourceMachineItemDetail
CAM post for FANUC (Autodesk)Machining centerCodeOutputs G68.2 + G53.1 for 3+2 machining, cancel with G69CAM post output / reference
FANUCMachining centerMeaningTilted Working Plane (tilted working plane command). No G-code numbers givenOne source / reference
Mitsubishi ElectricMachining centerMeaningTilted working plane command (6 definition methods) + tool axis direction control. Numbers not confirmed in public documentsOne source / reference
HaasMachining centerCodeG268 (feature coordinate system, group 14), cancel with G269
Siemens (ISO dialect)Machining centerFormatCYCLE800 (swivel cycle)
HeidenhainMachining centerFormatPLANE functions (SPATIAL, PROJECTED, EULER, VECTOR, POINTS, etc.), cancel with PLANE RESET

Sources

The number of this code was checked against CAM post processor output, an instrument maker’s cross-reference table and control makers’ catalogs. It could not be confirmed in the control maker’s own public manual, so treat it as a reference. What the function does agrees across several sources. Explanations are written in our own words.

  1. Autodesk — FANUC generic post processor (fanuc.cps, Fusion post library) cam.autodesk.com
  2. FANUC Europe fanuc.eu
  3. Mitsubishi Electric giho.mitsubishielectric.co.jp
  4. Mitsubishi Electric — NC Specification Selection Guide M800V/M80V/E80/C80 Series (BNP-A1244 ENG D) dl.mitsubishielectric.com
  5. Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
  6. Siemens AG — Milling with SINUMERIK — 5-axis machining Manual, Edition 05/2009 (6FC5095-0AB10-0BP1) cache.industry.siemens.com
  7. DR. JOHANNES HEIDENHAIN GmbH — TNC 640 User's Manual Conversational Programming, NC Software 340590-01 / 340591-01 / 340594-01, 4/2012 (892903-20) content.heidenhain.de