178
G CODES
96-8000
June 1999
Do not change the plane of rotation while G68 is in effect.
ROTATION WITH SCALING
If scaling and rotation is used simultaneously, it is recommended that scaling is turned on prior to rotation, and
that separate blocks be used. Use the following template when doing this.
G51 ..... (SCALING) ;
...
G68 ..... (ROTATION) ;
.
. program.
.
G69 ..... (ROTATION OFF) ;
...
G50 ..... (SCALING OFF) ;
When rotating after scaling, any center specified as the center of rotation will be scaled. Any angle specified in
the G68 block is NOT scaled. The control applies scaling and then rotation to any block with motion com-
mands.
Below is an example of a program that has been scaled and rotated.
O0004 ;
G59 ;
G00 G90 X0 Y0 Z0 ;
M98 P1 ;
G90 G00 X0 Y0 ;
G51 P3.0 ;
G68 R60. ;
M98 P1 ;
G69 G51 G90 G00 X0 Y0 ;
M30 ;