
16. COORDINATE SYSTEM
CONVERSION B–63502EN/01
NC FUNCTION
154
Patterns specified by the program can be rotated. For example, by using
this function, when the attached workpiece comes in a position which is
somewhat rotated from the machine coordinates, the position can be
compensated by the rotation instruction.
If a pattern is similar to that made by rotating a programmed figure, the
program for the pattern can be created by calling the program for the figure
as a sub program, and rotating the coordinates in the program. This
function reduces the programming time and program length.
Rotation angle
Rotation
center
Y
X
0
α, β : Coordinate valne of rotation center specify two axes from X, Y,
Z axes of G17, G18, G19.(These are always absolute values.)
R : Rotation (+ for the counterclockwise direction.
Specified in absolute value. It can be also specified
in incremental values according to the parameter setting. )
G17
G18
G19
G68 α_ β_ R_ ;
By this command, commands thereafter are rotated in the angle
commanded by R, with the point commanded by alpha, beta as the
rotation center. Rotation angle is commanded in 0.001 x units in a range
of:
–360000 x R x 360000
The rotation plane is the plane selected (G17, G18, G19) when G68 was
commanded.
G17, G18 and G19 may not be commanded in the same block as G68.
When alpha, beta is omitted, the point where G68 was commanded
becomes the rotation center.
G69; Cancels the coordinate system rotation.
16.1
COORDINATE
SYSTEM ROTATION
(G68, G69)
M series
Format