G-code reference

G53.1 G-Code: Tool Axis Direction Control

Tool Axis Direction Control — Used after G68.2 on Fanuc 5-axis machines: positions the rotary axes so the tool axis is perpendicular to the defined tilted working plane.

By cnccode · Updated
PropertyValue
CodeG53.1
FunctionTool Axis Direction Control
Modal group00
TypeOne-shot (non-modal) — active only in its own block
Used onMilling machines
SyntaxG68.2 … G53.1

What does G53.1 do?

Used after G68.2 on Fanuc 5-axis machines: positions the rotary axes so the tool axis is perpendicular to the defined tilted working plane.

G53.1 is a one-shot code: it only acts in the block where it is written, and the previously active modal codes take over again afterwards.

Syntax and parameters

Format
G68.2 … G53.1

G53.1 example program

Example
G68.2 X0 Y0 Z0 I0 J30.0 K0
G53.1
G00 X0 Y0

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Check rotary axis solution parameters to avoid unexpected axis flips.

Controller compatibility

G53.1 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G53.1 modal?
No. G53.1 is a one-shot (group 00) code and only acts in the block where it appears.
What does G53.1 mean in CNC?
G53.1 means Tool Axis Direction Control. Used after G68.2 on Fanuc 5-axis machines: positions the rotary axes so the tool axis is perpendicular to the defined tilted working plane.
What is the difference between G53.1 and G68.2?
G53.1 is Tool Axis Direction Control, while G68.2 is Tilted Working Plane (3+2). See the G68.2 page for its syntax and examples.
Can I use G53.1 on a lathe?
Usually not with the same meaning: G53.1 is documented here for milling machines. Check your control manual for the equivalent.