13. Program Support Functions
13.21 Coordinate Rotation by Program; G68.1/G69.1
452
Example of program (Coordinate system designation during program coordinate rotation)
When the coordinate system setting (G92) is executed during program coordinate rotation, this
program operates similarly as "Local coordinate designation during program coordinate rotation".
(1) When "#19003 PRG coord rot type" is "0", it is on the coordinate system after coordinates
rotation that the current position is preset to the command position.
(Ex.) Setting on the coordinate system (X'-Y') after coordinate rotation
G54(0, 0)
X
Y
X'
Y'
10.
10.
G68.1 X0 Y0 R30.
G0 X10. Y10.
G92 X0. Y0.
G54(0, 0)
X
Y
X'
Y'
10.
10.
G92 shift amount
Command position
Position after rotation
(2) When "#19003 PRG coord rot type" is "1", it is on the coordinate system before coordinates
rotation that the current position is preset to the command position. Then the coordinate
system is rotated.
(Ex.) Setting on the coordinate system (X-Y) after coordinate rotation
G54(0, 0)
X
Y
X'
Y'
10.
10.
G68.1 X0 Y0 R30.
G0 X10. Y10.
G92 X0. Y0.
G54(0, 0)
X
Y
X'
Y'
10.
10.
G92 shift amount
Command position
Position after rotation
(Note 1)
When "#19003 PRG coord rot type" is "1" and the coordinate system setting (G92) is
executed during coordinate rotation mode, the rotation center of program coordinate
rotation is not shifted. (The same position from the basic machine coordinate system)