G68 and G69 Coordinate Rotation Mode
Overview
- Rotates coordinate system around a current tool position or a specified point in the active plane.
Command Format
-
Syntax:
G68 X... Y... Z... R... -
X... Y... Z...- Specifies the rotation center position on the currently active plane set by G17, G18, or G19.
- (X, Y, Z) should be set appropriately for the currently active plane
- G17:
X... Y... (Z ignored) - G18:
X... Z... (Y ignored) - G19:
Y... Z... (X ignored) - If not specified, then the current tool position will be used.
- R...
- Specifies the angle of rotation (in degrees) for the active plane to rotate
- Positive R value - Counterclockwise
- Negative R value - Clockwise
-
Syntax:
G69 - Cancels the effects of a prior
G68rotation
Examples
-
G17 G68 X0 Y0 R90 - Performs a 90° rotation of the XY plane around point
X0 Y0- This 90° rotation would result in the new X-axis being in the same direction as the old Y-Axis
- The new Y-axis would then be in the opposite direction of the old X-axis, i.e., new Y-Axis = negative old X-axis
- Future motion commands, and reported feedback positions will now be in this rotated coordinate system
Details
- The G68 and G69 commands must not include other G-codes on the same line.
- When
G91Incremental Mode is active, then the specifiedXandYcenter positions are treated as relative values from the current position.
See Also:
- G17, G18, G19 G17 G18 G19 : Plane Selection