
B-63942EN/02 NC FUNCTION 5.PROGRAM INPUT
- 245 -
5.42 COORDINATE SYSTEM ROTATION
A programmed shape can be rotated. By using this function it
becomes possible, for example, to modify a program using a rotation
command when a workpiece has been placed with some angle rotated
from the programmed position on the machine. Further, when there is
a pattern comprising some identical shapes in the positions rotated
from a shape, the time required for programming and the length of the
program can be reduced by preparing a sub program of the shape and
calling it after rotation.
ngle of rotation
Center of rotation
Y
X
0
Format
For M series
G17
G18 G68 α_ β_ R_ ; Start rotation of a coordinate system.
G19
: Coordinate system rotation mode
G69 ; Coordinate system rotation cancel command
For T series
G17
G18 G68.1 α_ β_ R_ ; Start rotation of a coordinate system.
G19
: Coordinate system rotation mode
G69.1 ; Coordinate system rotation cancel command
G17 (G18 or G19) : Select the plane in which contains the figure to be rotated.
α, β : Specify two coordinates (from among X, Y, and Z) of the rotation center that
match G17, G18, and G19. The values specified as the coordinates of the
rotation center must always be absolute values.
R : Specifies the rotation angle as an absolute value. Counterclockwise rotation
is assumed to be positive. However, setting parameter enables the use of
an incremental value.
Unit : 0.001 deg
Valid data range : -360,000 to +360,000