
PROGRAMMING14. COMPENSATION FUNCTION
B–63094EN/02
274
(α, β)
X
Z
Center of
rotation
Angle of rotation R (incremental value)
Angle of rotation (absolute value)
Fig. 14.8 (b) Coordinate system rotation
NOTE
When a decimal fraction is used to specify angular
displacement (R_), the 1’s digit corresponds to degree
units.
The G code for selecting a plane (G17,G18,or G19) can be specified
before the block containing the G code for coordinate system rotation
(G68). G17, G18 or G19 must not be designated in the mode of coordinate
system rotation.
The center of rotation for an incremental command programmed after
G68 but before an absolute command is the tool position when G68 was
programmed (Fig. 14.8 (c)).
When α_β_ is not programmed, the tool position when G68 was
programmed is assumed as the center of rotation.
When R_ is not specified, the value specified in parameter 5410 is
assumed as the angular displacement.
The G code used to cancel coordinate system rotation (G69) may be
specified in a block in which another command is specified.
Cutter compensation, tool length compensation, tool offset, and other
compensation operations are executed after the coordinate system is
rotated.
Both coordinate system rotation and three–dimensional coordinate
conversion use the same G codes: G68 and G69. The G code with I, J,
and K is processed as a command for three–dimensional coordinate
conversion. The G code without I, J, and K is processed as a command
for two–dimensional coordinate system rotation.
Explanations
D G code for selecting a
plane: G17,G18 or G19
D Incremental command in
coordinate system
rotation mode
D Center of rotation
D Angular displacement
D Coordinate system
rotation cancel
command
D Tool compensation
D Relationship with
three–dimensional
coordinate conversion
(G68, G69)