G- code for CNC milling:-
G- code Description
G00
|
Rapid traverse
|
G01
|
Linear interpolation
|
G02
|
Circular interpolation CW
|
G03
|
Circular interpolation CCW
|
G04
|
Dwell
|
G17
|
X Y plane selection
|
G18
|
Z X plane selection
|
G19
|
Y Z plane selection
|
G28
|
Return to reference position
|
G30
|
2nd, 3rd and 4th reference position return
|
G40
|
Cutter compensation cancel
|
G41
|
Cutter compensation left
|
G42
|
Cutter compensation right
|
G43
|
Tool length compensation + direction
|
G44
|
Tool length compensation – direction
|
G49
|
Tool length compensation cancel
|
G53
|
Machine coordinate system selection
|
G54
|
Workpiece coordinate system 1 selection
|
G55
|
Workpiece coordinate system 2 selection
|
G56
|
Workpiece coordinate system 3 selection
|
G57
|
Workpiece coordinate system 4 selection
|
G58
|
Workpiece coordinate system 5 selection
|
G59
|
Workpiece coordinate system 6 selection
|
G68
|
Coordinate rotation
|
G69
|
Coordinate rotation cancel
|
G73
|
Peck drilling cycle
|
G74
|
Left-spiral cutting circle
|
G76
|
Fine boring cycle
|
G80
|
Canned cycle cancel
|
G81
|
Drilling cycle, spot boring cycle
|
G82
|
Drilling cycle or counter boring cycle
|
G83
|
Peck drilling cycle
|
G84
|
Tapping cycle
|
G85
|
Boring cycle
|
G86
|
Boring cycle
|
G87
|
Back boring cycle
|
G88
|
Boring cycle
|
G89
|
Boring cycle
|
G90
|
Absolute command
|
G91
|
Increment command
|
G92
|
Setting for work coordinate system or clamp at maximum spindle
speed
|
G98
|
Return to initial point in canned cycle
|
G99
|
Return to R point in canned cycle
|
ConversionConversion EmoticonEmoticon