Specialized Concentrated Focused
G56(X)
G55(X)
G54(X)
Machine
Origin
Workpiece
Workpiece
Workpiece
O1801
Fig. 3-3 Example figure
N1 G20
N2 G17 G40 G80
N3 G90 G54 G00 X5.5 Y3.1 S1000 M03
(Use G54)
N4 G43 Z0.1 H01 M08
N5 G99 G82 R0.1 Z-0.14 P100 F8.0
N6 G55 X5.5 Y3.1
(Switch to G55)
N7 G56 X5.5 Y3.1
(Switch to G56)
N8 G80 Z1.0 M09
N9 G91 G54 G28 Z0 M05
(Switch to G54)
N10 M01
Program segments N3~N5 are for the first workpiece, within G54 WCS; program segment N6
drills the hole for the second workpiece of the same batch within G55 WCS; program segment N7 drills
the third hole for the third workpiece of the same batch within G56 WCS.
Aiming at all WCSs, public offset is used to adjust the workpiece origin of X, Y and Z axes, without
changing the offset value of G54~G59.
The relationship of workpiece offset, tool offset and public offset is illustrated as below:
Workpiece coordinate = Machine coordinate Workpiece offset Tool offset Public offset
12Basic Concepts
    "