Chapter 9 NC Control Function
G40 G80
G53 G90 X-140 Y-120 Z0 (Moving to the X-140 Y-120 Z0 position of the machine coordinate system)
G92 X0 Y0 Z150 (Rest by changing the workpiece coordinate system)
G30 G91 Z0
G54 G00 G90 X0 Y0
M30
19) Selecting the workpiece coordinate system 1~6 (G54, G55, G56, G57, G58, G59)
G54 X_ Y_ Z_
G55 X_ Y_ Z_
G56 X_ Y_ Z_
G57 X_ Y_ Z_
G58 X_ Y_ Z_
G59 X_ Y_ Z_
G54: Select the workpiece coordinate system 1
G55: Select the workpiece coordinate system 2
G56: Select the workpiece coordinate system 3
G57: Select the workpiece coordinate system 4
G58: Select the workpiece coordinate system 5
G59: Select the workpiece coordinate system 6
X_ Y_ Z_: Position of the workpiece coordinate system
The coordinate system used for workpiece machining is called the workpiece coordinate system. This is the
coordinate system that allows the operator to create a program conveniently on the basis of drawings, and to set
any point of the workpiece to be machined as the origin by applying the NC program as it is. After turning on the
power, it is necessary to executing homing for proper application of the coordinate system. When using G54 ~ G59,
it is not necessary to set the coordinate system with G92.
G40 G80
G28 G91 X0 Y0 Z0 (Returning to machine origin where the waypoint is the current position value [G91mode])
G54 G00 G90 X0 Y0 Z0 % Use the 54 workpiece coordinate system and traverse it to the origin rapidly. That is, G54
% Traverse to the origin of the coordinate system rapidly
M30