
B-63944EN-2/02 PROGRAMMING 6.COMPENSATION FUNCTION
- 207 -
6.11 COORDINATE SYSTEM ROTATION (G68, G69)
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 subprogram of the shape and
calling it after rotation.
ngle of rotation
Center of rotation
Y
X
0
Fig. 6.11 (a) Coordinate system rotation
Format
Format
G68α68α_β_
G19
G18
G17
Start rotation of a coordinate system.
:
Coordinate system rotation mode
(The coordinate system is rotated.)
G69 ;
Coordinate system rotation cancel command
Meaning of command
G17 (G18 or G19) :
Select the plane in which contains the figure
to be rotated.
α_β_
Absolute programming for two of the X_, Y_, and Z_ axes that
correspond to the current plane selected by a command (G17,
G18, or G19). The command specifies the coordinates of the
center of rotation for the values specified subsequent to G68
R_
Angular displacement with a positive value indicates counter
clockwise rotation. Bit 0 of parameter No. 5400 selects whether
the specified angular displacement is always considered an
absolute value or is considered an absolute or incremental
value depending on the specified G code (G90 or G91).
Least input increment :
0.001 deg
Valid data range :
-360,000 to 360,000