
PROGRAMMING
3. PREPARATORY FUNCTION
(G FUNCTION)
B–64114EN/01
34
Table 3 G code list (1/3)
G code
A B C
G00 G00 G00
Positioning (Rapid traverse)
G01 G01 G01
Linear interpolation (Cutting feed)
G02 G02 G02
Circular interpolation CW or helical interpolation CW
G03 G03 G03 Circular interpolation CCW or helical interpolation CCW
G04 G04 G04
Dwell
G07.1
(G107)
G07.1
(G107)
G07.1
(G107)
Cylindrical interpolation
G08 G08 G08
Advanced preview control
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
G17 G17 G17
XpYp plane selection
G18 G18 G18
ZpXp plane selection
G19 G19 G19 YpZp 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
G25 G25 G25
Spindle speed fluctuation detection off
G26 G26 G26
Spindle speed fluctuation detection on
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
G36 G36 G36
Automatic tool compensation X
G37 G37 G37
Automatic tool compensation Z
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
G50.2
(G250)
G50.2
(G250)
G50.2
(G250)
Polygonal turning cancel
G51.2
(G251)
G51.2
(G251)
G51.2
(G251)
Polygonal turning