
16.COORDINATE SYSTEM CONVERSION FUNCTION NC FUNCTIONS B-63782EN/01
- 224 -
16.2 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 subprogram of the shape and calling it after
rotation.
ngle of rotation
Center of rotation
Y
O
Format
Format
G17
G18 G68 α_β_R_ ; Start rotation of a coordinate system.
G19
: Coordinate system rotation mode
:
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 command 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.