14. Coordinates System Setting Functions
14.10 Workpiece Coordinate System Setting and Offset
521
(6) The offset settings of workpiece coordinate systems can be changed any number of times.
(They can also be changed by G10 L2(L20) Pp1 Xx1 Zz1.)
Handling when L or P is omitted
G10 L2 Pn Xx Yy Zz ;
n=0 : Set the offset amount in the external workpiece
coordinate system.
n=1 to 6 : Set the offset amount in the designated workpiece
coordinate system.
Others : The program error (P35) will occur.
G10 L2 Xx Yy Zz ;
Set the offset amount in the currently selected workpiece
coordinate system.
When in G54.1 modal, the program error (P33) will occur.
G10 L20 Pn Xx Yy Zz ;
n=1 to 96 : Set the offset amount in the designated
workpiece coordinate system.
Others : The program error (P35) will occur.
G10 L20 Xx Yy Zz ;
Set the offset amount in the currently selected workpiece
coordinate system.
When in G54 to G59 modal, the program error (P33) will
occur.
G10 Pn Xx Yy Zz ;
Set the offset amount in the designated coordinate system
No. by P code.
When the currently selected coordinate system is G54 to
G59, P1 to P6 corresponds to G54 to G59 respectively.
When the external coordinate system is selected, P No.
corresponds to G54.1 P1 to P96. If other values are set, the
program error (P35) will occur.
G10 Xx Yy Zz ;
Set the offset amount in the currently selected coordinate
system.
G10 G54.1 Xx Yy Zz ;
When there is no P code in the same block as G54.1, the
program error (P33) will occur.