PROGRAMMING7. COORDINATE SYSTEM
B–63604EN/01
80
The user can choose from set workpiece coordinate systems as described
below. (For information about the methods of setting, see Subsec.
II–7.2.1.)
(1)G50 or automatic workpiece coordinate system setting
Once a workpiece coordinate system is selected, absolute commands
work with the workpiece coordinate system.
(2)Choosing from six workpiece coordinate systems set using the
MDI
By specifying a G code from G54 to G59, one of the workpiece
coordinate systems 1 to 6 can be selected.
G54 Workpiece coordinate system 1
G55 Workpiece coordinate system 2
G56 Workpiece coordinate system 3
G57 Workpiece coordinate system 4
G58 Workpiece coordinate system 5
G59 Workpiece coordinate system 6
Workpiece coordinate system 1 to 6 are established after reference
position return after the power is turned on. When the power is turned
on, G54 coordinate system is selected.
When bit 2 (G50) of parameter No. 1202 is set to 1, executing the G50
command results in the issue of P/S alarm No. 10. This is designed
to prevent the user from confusing coordinate systems.
X
100.0
40.0
In this example, positioning is made to
positions (X=100.0, Z=40.0) in workpiece
coordinate system 2.
G55 G00 X100.0 Z40.0 ;
Workpiece coordinate system 2 (G55)
Z
Fig. 7.2.2
7.2.2
Selecting a Workpiece
Coordinate System
Examples