PROGRAMMING
3. PREPARATORY FUNCTION
(G FUNCTION)
B–63684EN/01
28
Table 3 G code list (1/2)
G code
G code Group Meaning
G00 G00
Positioning (Rapid traverse)
G01 G00
Linear interpolation (Cutting feed)
G02 G02
01
Circular interpolation (CW) / Helical interpolation (CW)
G03 G03 Circular interpolation (CCW) / Helical interpolation (CCW)
G04 G04 Dwell
G08 G08 Advanced preview control
G09 G09
00
Exact stop
G10 G10
Programmable data input
G11 G11 Programmable data input mode cancel
G17 G17
XpYp plane Where Xp : X–axis or an axis parallel to it
G18 G18
02
ZpXp plane Yp : Y–axis or an axis parallel to it
G19 G19
YpZp plane Zp : Z–axis or an axis parallel to it
G20 G20 Input in inch
G21 G21
06
Input in inch
G22 G22
Stored stroke limit function on
G23 G23
04
Stored stroke limit function off
G26 G26 Bolt hole circle
G28 G50 Automatic reference point return
G30.1 G30.1 Floating reference point return
G32 G32 00 Automatic safety zone setting
G33 G33 Skip function
G38 G38 Bending compensation X
G39 G39 Bending compensation Y
G40 G40
Cutter compensation cancel
G41 G41
07
Cutter compensation left
G42 G42 Cutter compensation right
G40.1
(G150)
G40.1
(G150)
Normal direction control canceled
G41.1
(G151)
G41.1
(G151)
19
Left–side normal direction control turned on
G42.1
(G152)
G42.1
(G152)
19 Right–side normal direction control turned on
G45 G45 Linear punching
G46 G46 00 Circular punching (CW)
G47 G47 Circular punching (CCW)
G50 G34
Scaling on
G51 G35
11
Scaling off
G52 G93 Local coordinate system setting
G53 G53
00
Machine coordinate system selection