
3. PREPARATORY FUNCTION (G FUNCTION)
3. PREPARATORY FUNCTION (G FUNCTION)
A number following address G determines the meaning of the command for the
concerned block.
G codes are divided into the following two types.
Type
Meaning
One-shot G code
The G code is effective only in the block in which it is specified.
The G code is effective until another G code of the same group is specified.
I
(Example)
GO1 and GO0 are modal G codes in group
GO1X -.
1
X
-
9
GO1 is effective
X
-
I
>
GOOX -.
The following G code; are offered.
01 I
in this range.
.
G code
Group
Function
1
GO0
Positioning (Rapid traverse)
I
GO1
Linear interpolation (Cutting feed)
GO2
01
Circular interpolation (clockwise)
GO3
Circular interpolation (counterclockwise)
Go4
Dwell, Exact stop
.
G10
00
Data setting
G11
Data setting mode cancel
G17 *
Xp-Vp plane specification
/
G18
02
Zp-Xp plane specification
I
G19
Yp-Zp plane specification
G20
Input in inch
G21
06
Input in mm
5
G27
Reference point return check
G28 Return to reference point
G29
00
Return from reference point
G30 2nd, 3rd reference point return
G31
Skip function
G43
Tool length compensation ( + )
G44
08
-Tool length compensation ( - )
G49
Tool length compensation cancel
G65
00
Macro Command
19
I)