You are on page 1of 4

G0 rapid positioning

G1 linear interpolation
G2 circular/helical interpolation (clockwise)
G3 circular/helical interpolation (c-clockwise)
G4 dwell
G10 coordinate system origin setting
G17 y plane selection
G1! " plane selection
G1# y" plane selection
G20 inch system selection
G21 millimeter system selection
G40 cancel cutter diameter compensation
G41 start cutter diameter compensation le$t
G42 start cutter diameter compensation right
G43 tool length o$$set (plus)
G4# cancel tool length o$$set
G%3 motion in machine coordinate system
G%4 use preset work coordinate system 1
G%% use preset work coordinate system 2
G%& use preset work coordinate system 3
G%7 use preset work coordinate system 4
G%! use preset work coordinate system %
G%# use preset work coordinate system &
G%#'1 use preset work coordinate system 7
G%#'2 use preset work coordinate system !
G%#'3 use preset work coordinate system #
G!0 cancel motion mode (includes canned)
G!1 drilling canned cycle
G!2 drilling with dwell canned cycle
G!3 chip-(reaking drilling canned cycle
G!4 right hand tapping canned cycle
G!% (oring) no dwell) $eed out canned cycle
G!& (oring) spindle stop) rapid out canned
G!7 (ack (oring canned cycle
G!! (oring) spindle stop) manual out canned
G!# (oring) dwell) $eed out canned cycle
G#0 a(solute distance mode
G#1 incremental distance mode
G#2 o$$set coordinate systems
G#2'2 cancel o$$set coordinate systems
G#3 in*erse time $eed mode
G#4 $eed per minute mode
G#! initial le*el return in canned cycles
+amples,
G1 -0'0 .1'0 /20'0 ----go to -1'0) .0'0 at a $eed rate o$ 20 inches/minute
G2 -1'0 .0'0 00'0 1-1'0 ----go in an arc $rom -0'0) .1'0 to -1'0 .0'0) with the center o$ the arc at
-0'0) .0'0
G1 -0'0 .1'0 /20'0 ----go to -1'0) .0'0 at a $eed rate o$ 20 inches/minute
G2 -1'0 .0'0 21'0 ----go in an arc $rom -0'0) .1'0 to -1'0 .0'0) with a radius o$ 231'0
G%3 motion in machine coordinate system
G%4 use preset work coordinate system 1
G%% use preset work coordinate system 2
G%& use preset work coordinate system 3
G%7 use preset work coordinate system 4
G%! use preset work coordinate system %
G%# use preset work coordinate system &
G%#'1 use preset work coordinate system 7
G%#'2 use preset work coordinate system !
G%#'3 use preset work coordinate system #
40 program stop
41 optional program stop
42 program end
43 turn spindle clockwise
44 turn spindle counterclockwise
4% stop spindle turning
4& tool change
47 mist coolant on
4! $lood coolant on
4# mist and $lood coolant o$$
42& ena(le automatic (-ais clamping
427 disa(le automatic (-ais clamping
430 program end) pallet shuttle) and reset
44! ena(le speed and $eed o*errides
44# disa(le speed and $eed o*errides
4&0 pallet shuttle and program stop
group 1 3 5G0) G1) G2) G3) G!0) G!1) G!2) G!3) G!4) G!%) G!&) G!7) G!!) G!#6 - motion
group 2 3 5G17) G1!) G1#6 - plane selection
group 3 3 5G#0) G#16 - distance mode
group % 3 5G#3) G#46 - spindle speed mode
group & 3 5G20) G216 - units
group 7 3 5G40) G41) G426 - cutter diameter compensation
group ! 3 5G43) G4#6 - tool length o$$set
group 10 3 5G#!) G##6 - return mode in canned cycles
group12 3 5G%4) G%%) G%&) G%7) G%!) G%#) G%#'1) G%#'2) G%#'36 coordinate system selection
group 2 3 542&) 4276 - ais clamping
group 4 3 540) 41) 42) 430) 4&06 - stopping
group & 3 54&6 - tool change
group 7 3 543) 44) 4%6 - spindle turning
group ! 3 547) 4!) 4#6 - coolant
group # 3 544!) 44#6 - $eed and speed o*erride (ypass
2egards
7here are other codes8 the type codes can (e thought o$ like registers in a computer
- a(solute position
. a(solute position
9 a(solute position
: position (rotary around -)
; position (rotary around .)
< position (rotary around 9)
= 2elati*e ais parallel to -
> 2elati*e ais parallel to .
? 2elati*e ais parallel to 9
4 code (another @action@ register or 4achine code(A)) (otherwise re$erred to as a @4iscellaneous@
$unction@)
/ $eed rate
B spindle speed
C line num(er
2 :rc radius or optional word passed to a su(program/canned cycle
D Ewell time or optional word passed to a su(program/canned cycle
7 7ool selection
0 :rc data - ais
1 :rc data . ais'
F :rc data 9 ais) or optional word passed to a su(program/canned cycle
E <utter diameter/radius o$$set
G 7ool length o$$set
Dartial list o$ 4-<odes
4003Drogram Btop (non-optional)
4013Hptional Btop) machine will only stop i$ operator selects this option
4023+nd o$ Drogram
4033Bpindle on (<? rotation)
4043Bpindle on (<<? rotation)
40%3Bpindle Btop
40&37ool <hange
4073<oolant on ($lood)
40!3<oolant on (mist)
40#3<oolant o$$
4103Dallet clamp on
4113Dallet clamp o$$
4303+nd o$ program/rewind tape (may still (e reIuired $or older <C< machines)
G00 2apid positioning
G01 Jinear interpolation
G02 <? circular interpolation
G03 <<? circular interpolation
G04 Ewell
G0%'1 K1' :i Cano contour control
G0% D10000 GD<<
G07 0maginary ais designation
G0# +act stop check
G10/G11 Drogramma(le Eata input/Eata write cancel
G12 <? <ircle <utting
G13 <<? <ircle <utting
G17 --. plane selection
G1! --9 plane selection
G1# .-9 plane selection
G20 Drogramming in inches
G21 Drogramming in mm
G2! 2eturn to home position
G30 2nd re$erence point return
G31 Bkip $unction (used $or pro(es and tool length measurement systems)
G33 <onstant pitch threading
G34 >aria(le pitch threading
G40 7ool radius compensation o$$
G41 7ool radius compensation le$t
G42 7ool radius compensation right
G43 7ool height o$$set compensation negati*e
G44 7ool height o$$set compensation positi*e
G4% :is o$$set single increase
G4& :is o$$set single decrease
G47 :is o$$set dou(le increase
G4! :is o$$set dou(le decrease
G4# 7ool o$$set compensation cancel
G%0 Ee$ine the maimum spindle speed
G%3 4achine coordinate system
G%4 to G%# ?ork coordinate systems
G%4'1 D1 to D4! +tended work coordinate systems
G73 Gigh speed drilling canned cycle
G74 Je$t hand tapping canned cycle
G7& /ine (oring canned cycle
G!0 <ancel canned cycle
G!1 Bimple drilling cycle
G!2 Erilling cycle with dwell
G!3 Deck drilling cycle
G!4 7apping cycle
G!4'2 Eirect right hand tapping canned cycle
G#0 :(solute programming (type ; and < systems)
G#1 0ncremental programming (type ; and < systems)
G#2 Drogramming o$ a(solute "ero point
G#4/G#% 0nch per minute/0nch per re*olution $eed (type : system) Cote, Bome <C<s use the B0 unit
system
G#& <onstant sur$ace speed
G#7 <onstant Bpindle speed
G#!/G## 2eturn to 0nitial 9 plane/2 plane in canned cycle

You might also like