SUPPLEMENT 5
5-59
16. G-code (Group26)
A. Polar coordinate interpolation
1. Command
Polar coordinate interpolation mode
Polar coordinate interpolation cancel mode
It is a function to convert a command programmed by the rectangular coordinate system into
the linear axis movement (tool movement) and the rotational axis movement (workpiece
rotation) to give contouring control.
2. Sample program
N001 G00 G97 G94
N004 G91 G28 X0 Z0
N008 M200
N010 T001T000M6
N020 G90 G00 X100.0 Z10.0 C0.0
G91
N030 G17XC
G12.1
N040 G42
N050 G90 G01 X50.0 F500
N060 C10.0
N070 G03 X-50.0 C10.0 I-50.0
N080 G01 C-10.0
N090 G03 X50.0 C-10.0 R50.0
N100 G01 C0.0
N110 G00 X100.0
N120 G40
N130 G13.1
N140 M202
Positioning to the start point
Selection of the XC-plane
Polar coordinate interpolation ON
Contour program
(Program with rectangular coordinate values on the XC-plane)
Polar coordinate interpolation OFF
3. Notes
The block of G12.1 must be preceded by a command of selecting the appropriate
plane (G17XC).
The polar coordinate interpolation uses the zero point of workpiece coordinate system
as that of the coordinate system. A plane is selected using the linear axis as the 1st
axis of the plane and the virtual axis perpendicular to the linear axis as the 2nd axis of
the plane. The polar coordinate interpolation is given on that plane.
Serial No. 294060
Copyright (c) 2013 YAMAZAKI MAZAK CORPORATION. All rights reserved.