MACHINING PROGRAM 4
4-25
D. G-codes/M-codes
See the document [99 Supplement] for details.
G-codes
Inclined-plane machining ON
Using roll, pitch, and yaw angles
Tool-axis direction control
Inclined-Plane Machining
Using roll, pitch, and yaw angles
Using three points in the plane
Using tool-axis direction
Note : is G-code used by sample program.
See the programming manual, if you use the other patterns.
G68.2P1 Setting with roll, pitch, and yaw angles
1. Programming format
G68.2 P1 Qq Xx Yy Zz I J K
G68.2 P1: Inclined-plane machining ON (Setting with roll, pitch, and yaw angles)
x, y, z: Coordinates of the origin of feature coordinate system. To be specified with
its absolute values in the currently active workpiece coordinate system.
q: Order of rotations
Axis of the first rotation
Axis of the second rotation
Axis of the third rotation
: Angle of rotation around the X-axis [Roll angle].
: Angle of rotation around the Y-axis [Pitch angle].
: Angle of rotation around the Z-axis [Yaw angle].
(Setting range: –360° to 360°.)
1. The designation of X, Y, or Z can be omitted when the argument is zero (0: no shift
along the particular axis). Set zero for X, Y, and Z if no translation of the origin is
required.
2. The designation of I, J, or K can be omitted when the argument is zero (0: no rotation
around the axis concerned).
Serial No. 294060
Copyright (c) 2013 YAMAZAKI MAZAK CORPORATION. All rights reserved.