- You are here:
- AM.CO.ZABuythisCNC Utilities Homepage
- PowerRoute-CNC-Router
- Mill Programming Manual.pdf
- Page 81 of 151
1. G Function Description
1.2.30 G68/G69: COORDINATE ROTATION
Command form:
(G17) G68 X_ Y_ R_; // start coordinate rotation
(G18) G68 Z_ X_ R_;
(G19) G68 Y_ Z_ R_;
G69; // Disable coordinate rotation
X_, Y_, Z_: absolute coordinate of center of rotation
R_: angle of rotation
Description
After coordinate rotation start, all movement command will rotate with
rotation center, so the geometric figure rotate a angle. Rotation center only
effective in absolute command, if all command is increment, the actual
rotation center is the starting point of path.
Example 1:
G54 X0 Y0 F3000.;
G16;
G90 G00 X50. Y9.207 R8.;
M98 H100;
G68 X0 Y0 R90.;
M98 H100;
G68 X0 Y0 R180.;
M98 H100;
G68 X0 Y0 R270.;
M98 H100;
G69;
G15;
M02;
N100
G90 G01 X50. Y9.207 R8.;
G03 X50. Y80.793. R50.;
G03 X50. Y99.207 R8.;
M99;
76
// start polar coordinates
// positioning to starting point
// first process
// coordinate rotates 90∘
// second process
// coordinate rotates 180∘
// third process
// coordinate rotates 270∘
// fourth process
// coordinate rotation cancel
// polar coordinate cancel
// main program end
// orbit sub-program start
// orbit sub-program return