
PROGRAMMING
B–64114EN/01
7. COORDINATE SYSTEM
79
A coordinate system used for machining a workpiece is referred to as a
workpiece coordinate system. A workpiece coordinate system is to be set
with the NC beforehand (setting a workpiece coordinate system).
A machining program sets a workpiece coordinate system (selecting a
workpiece coordinate system).
A set workpiece coordinate system can be changed by shifting its origin
(changing a workpiece coordinate system).
A workpiece coordinate system can be set using one of three methods:
(1)Method using G50
A workpiece coordinate system is set by specifying a value after G50
in the program.
(2)Automatic setting
If bit 0 of parameter No. 1201 is set beforehand, a workpiece
coordinate system is automatically set when manual reference
position return is performed (see Part III–3.1).
(3)Input using the MDI panel
Make settings on the MDI panel to preset six workpiece coordinate
systems (see Part III–11.4.10). Then, use program commands G54 to
G59 to select which workpiece coordinate system to use.
When an absolute command is used, a workpiece coordinate system
must be established in any of the ways described above.
G50 IP_
A workpiece coordinate system is set so that a point on the tool, such as
the tool tip, is at specified coordinates. If IP is an incremental command
value, the work coordinate system is defined so that the current tool
position coincides with the result of adding the specified incremental
value to the coordinates of the previous tool position. If a coordinate
system is set using G50 during offset, a coordinate system in which the
position before offset matches the position specified in G50 is set.
7.2
WORKPIECE
COORDINATE
SYSTEM
7.2.1
Setting a Workpiece
Coordinate System
Format
D Setting a workpiece
coordinate system by G50
Explanations