157
96-8000 Rev AC
May 2010
G
&
M
Codes
Settings
.
00003 ;
G59 ;
G00 G90 X0 Y0 Z0 ;
M98 P1 ;
G00 G90 X0 Y0 Z0 ;
G68 X1.5 Y1.5 R60. ;
M98 P1 ;
G69 G90 G00 X0 Y0 ;
M30 ;
= Work coordinate origin
= Center of rotation
X
Z
Y
G68 Rotation
This example shows how the G91 mode can be used to rotate patterns about
a center. This is often useful for making parts that are symmetric about a given
point.
.
00004 ;
G59 ;
G00 G90 X0 Y0 Z0 ;
M98 P10 L8 (SUBROUTINE 00010) ;
M30 ;
00010 ;
G91 G68 R45. ;
G90 M98 P1 ;
G90 G00 X0 Y0 ;
M99 ;
X
Z
Y
= Work coordinate origin
= Center of rotation
G68 Rotation
Do not change the plane of rotation while G68 is in effect.
Rotation with Scaling
If scaling and rotation are used simultaneously, it is recommended that scaling
be turned on prior to rotation, and that separate blocks be used. Use the follow-
ing template when doing this.
G51 ..... (SCALING) ;
...
G68 ..... (ROTATION) ;
.
. program
.
G69 ..... (ROTATION OFF) ;
...
G50 ..... (SCALING OFF) ;
Rotation with Cutter Compensation
Cutter compensation should be turned on after the rotation command is issued.
Compensation should also be turned off prior to turning rotation off.
G69 Cancel G68 Rotation (Group 16)
(This G-code is optional and requires Rotation and Scaling.)
Summary of Contents for 96-8000
Page 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Page 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Page 41: ...32 96 8000 Rev AC May 2010 ...
Page 93: ...84 96 8000 Rev AC May 2010 ...
Page 129: ...120 96 8000 Rev AC May 2010 ...
Page 133: ...124 96 8000 Rev AC May 2010 ...
Page 268: ......
Page 269: ......