13. Program Support Functions
13.21 Coordinate Rotation by Program; G68.1/G69.1
447
13.21 Coordinate Rotation by Program; G68.1/G69.1
Function and purpose
When machining a complicated shape at a position rotated in respect to the coordinate system,
the shape before rotation can be programmed on the local coordinate system, rotation angle
designated with the program coordinate rotation command, and the rotated shaped machined.
Command format
(1) Coordinate rotation ON
G68.1 X__ Y__ R__; Coordinate rotation ON
G68.1 : Coordinate rotation command
X, Y : Rotation center coordinates.
Two axes (X,Y or Z) corresponding to the selected plane are designated with
absolute positions.
R
: Rotation angle
The counterclockwise direction is +.
Select the command plane with G17 to G19.
(2) Coordinate rotation cancel
G69.1 ; Coordinate rotation cancel
r1(Rotation angle)
(x1,y1) (Rotation center)
W
(Original local coordinate)
W' (Rotated local coordinate system)
x1
X'
X
Y'
Y
y1