
PROGRAMMING
3. PREPARATORY FUNCTION
(G FUNCTION)
B–64134EN/01
34
Table 3 G code list (1/2)
G code
A B C
G00 G00 G00
Positioning (Rapid traverse)
G01 G01 G01
Linear interpolation (Cutting feed)
G02 G02 G02
Circular interpolation CW
G03 G03 G03 Circular interpolation CCW
G04 G04 G04
Dwell
G07.1
(G107)
G07.1
(G107)
G07.1
(G107)
Cylindrical interpolation
G10 G10 G10
Programmable data input
G11 G11 G11 Programmable data input cancel
G12.1
(G112)
G12.1
(G112)
G12.1
(G112)
Polar coordinate interpolation mode
G13.1
(G113)
G13.1
(G113)
G13.1
(G113)
Polar coordinate interpolation cancel mode
G18 G18 G18
16 ZpXp plane selection
G20 G20 G70
Input in inch
G21 G21 G71
Input in mm
G22 G22 G22
Stored stroke check function on
G23 G23 G23
Stored stroke check function off
G27 G27 G27
Reference position return check
G28 G28 G28
Return to reference position
G30 G30 G30
2nd, 3rd and 4th reference position return
G31 G31 G31 Skip function
G32 G33 G33
Thread cutting
G34 G34 G34
Variable–lead thread cutting
G40 G40 G40
Tool nose radius compensation cancel
G41 G41 G41
Tool nose radius compensation left
G42 G42 G42 Tool nose radius compensation right
G50 G92 G92
Coordinate system setting or max. spindle speed setting
G50.3 G92.1 G92.1
Workpiece coordinate system preset
G52 G52 G52
Local coordinate system setting
G53 G53 G53 Machine coordinate system setting
G54 G54 G54
Workpiece coordinate system 1 selection
G55 G55 G55
Workpiece coordinate system 2 selection
G56 G56 G56
Workpiece coordinate system 3 selection
G57 G57 G57
Workpiece coordinate system 4 selection
G58 G58 G58 Workpiece coordinate system 5 selection
G59 G59 G59 Workpiece coordinate system 6 selection
G65 G65 G65 00 Macro calling
G66 G66 G66
Macro modal call
G67 G67 G67
Macro modal call cancel