13. Program Support Functions
13.22 Coordinate Rotation Input by Parameter; G10
457
Example of program
(1) To use for compensating positional deviation of pallet changer
Y
X
M
+
+
+
+
G56
G57
G54
G55
Rotation
movement
(15 degree)
N01 G28 X0 Y0 Z0 ;
N02 G22 L9000 ;
Pallet deviation measurement
N03 G90 G53 X0 Y0 ;
Parallel movement amount shift
N04 G92 X0 Y0 ;
Parallel movement amount definition
N05 G10 K15. ;
Rotation amount definition
N06 G90 G54 G00 X0 Y0 ;
G54 workpiece machining
N07 G22 H101 ;
N08 G90 G55 G00 X0 Y0 ;
G55 workpiece machining
N09 G22 H101 ;
N10 G90 G56 G00 X0 Y0 ;
G56 workpiece machining
N11 G22 H101 ;
N12 G90 G57 G00 X0 Y0 ;
G57 workpiece
machining
N13 G22 H101 ;
N14 G27 X0 Y0 Z0 ;
N15 M02 ;
Machining shape program
N101 G91 G01 G42 D01 F300 ;
N102 X100 ;
N103 G03 Y50. R25. ;
N104 G01 X-100. ;
N105 G03 Y-50. R25. ;
N106 G01 G40 ;
N107 G23 ;
Precautions
(1) If rotation angle zero is commanded while carrying out coordinate rotation, it will be canceled
at the next movement command regardless of the G90 or G91 setting.
(2) Command the first movement after this command with the G00 or G01 mode. If an arc
command is issued, the arc start point will not be rotated. However, only the arc end point will
rotate. This will cause the start point radius and end point radius to differ, and the program
error (P70) will occur.
(3) When data is input with the data input/output function, coordinate rotation angle is considered
to exist, and automatic calculation from the vector component will not be executed.